Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1661-replaced input with skeleton #1770

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions client/src/pages/account/settings/Appearance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,23 @@ export default function Appearance() {
</FormControl>

<div className="items-center rounded-md border-2 border-border/50 p-1 hover:border-accent">
<div className="space-y-2 rounded-sm bg-input p-2">
<div className="space-y-2 rounded-sm bg-skeleton p-2">
<div className="space-y-2 rounded-md bg-white p-2 shadow-sm">
<div className="h-2 w-appearance-theme-choice-skeleton-small-width rounded-lg bg-input" />
<div className="h-2 w-appearance-theme-choice-skeleton-small-width rounded-lg bg-skeleton" />

<div className="h-2 w-appearance-theme-choice-skeleton-large-width rounded-lg bg-input" />
<div className="h-2 w-appearance-theme-choice-skeleton-large-width rounded-lg bg-skeleton" />
</div>

<div className="flex items-center space-x-2 rounded-md bg-white p-2 shadow-sm">
<div className="size-4 rounded-full bg-input" />
<div className="size-4 rounded-full bg-skeleton" />

<div className="h-2 w-appearance-theme-choice-skeleton-large-width rounded-lg bg-input" />
<div className="h-2 w-appearance-theme-choice-skeleton-large-width rounded-lg bg-skeleton" />
</div>

<div className="flex items-center space-x-2 rounded-md bg-white p-2 shadow-sm">
<div className="size-4 rounded-full bg-input" />
<div className="size-4 rounded-full bg-skeleton" />

<div className="h-2 w-appearance-theme-choice-skeleton-large-width rounded-lg bg-input" />
<div className="h-2 w-appearance-theme-choice-skeleton-large-width rounded-lg bg-skeleton" />
</div>
</div>
</div>
Expand Down Expand Up @@ -123,7 +123,7 @@ export default function Appearance() {
</FormControl>

<div className="items-center rounded-md border-2 border-border/50 bg-popover p-1 hover:bg-accent hover:text-accent-foreground">
<div className="space-y-2 rounded-sm bg-input p-2">
<div className="space-y-2 rounded-sm bg-skeleton p-2">
<div className="space-y-2 rounded-md bg-slate-800 p-2 shadow-sm">
<div className="h-2 w-appearance-theme-choice-skeleton-small-width rounded-lg bg-slate-400" />

Expand Down
1 change: 1 addition & 0 deletions client/src/styles/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--skeleton: 220 9% 93%;
--radius: 0.5rem
}

Expand Down
1 change: 1 addition & 0 deletions client/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ module.exports = {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
},
skeleton: 'hsl(var(--skeleton))',
success: {
DEFAULT: 'hsl(var(--success))',
foreground: 'hsl(var(--success-foreground))',
Expand Down
Loading