style: update color palette from neutral to teal-accented property theme
- Primary/accent changed from achromatic black to teal (oklch 0.55 0.14 175) - Background/foreground given subtle cool slate tint - Added --deal-good (emerald) and --deal-above (amber) custom properties - Ring color updated to teal for focus states - Dark mode updated to match teal theme
This commit is contained in:
parent
1037ff164d
commit
676fad520c
1 changed files with 54 additions and 48 deletions
|
|
@ -39,75 +39,81 @@
|
||||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||||
--color-sidebar-border: var(--sidebar-border);
|
--color-sidebar-border: var(--sidebar-border);
|
||||||
--color-sidebar-ring: var(--sidebar-ring);
|
--color-sidebar-ring: var(--sidebar-ring);
|
||||||
|
--color-deal-good: var(--deal-good);
|
||||||
|
--color-deal-above: var(--deal-above);
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--radius: 0.625rem;
|
--radius: 0.625rem;
|
||||||
--background: oklch(1 0 0);
|
--background: oklch(0.995 0.002 240);
|
||||||
--foreground: oklch(0.145 0 0);
|
--foreground: oklch(0.15 0.015 255);
|
||||||
--card: oklch(1 0 0);
|
--card: oklch(1 0 0);
|
||||||
--card-foreground: oklch(0.145 0 0);
|
--card-foreground: oklch(0.15 0.015 255);
|
||||||
--popover: oklch(1 0 0);
|
--popover: oklch(1 0 0);
|
||||||
--popover-foreground: oklch(0.145 0 0);
|
--popover-foreground: oklch(0.15 0.015 255);
|
||||||
--primary: oklch(0.205 0 0);
|
--primary: oklch(0.55 0.14 175);
|
||||||
--primary-foreground: oklch(0.985 0 0);
|
--primary-foreground: oklch(0.985 0.01 175);
|
||||||
--secondary: oklch(0.97 0 0);
|
--secondary: oklch(0.965 0.005 240);
|
||||||
--secondary-foreground: oklch(0.205 0 0);
|
--secondary-foreground: oklch(0.2 0.015 255);
|
||||||
--muted: oklch(0.97 0 0);
|
--muted: oklch(0.965 0.005 240);
|
||||||
--muted-foreground: oklch(0.556 0 0);
|
--muted-foreground: oklch(0.5 0.01 255);
|
||||||
--accent: oklch(0.97 0 0);
|
--accent: oklch(0.55 0.14 175);
|
||||||
--accent-foreground: oklch(0.205 0 0);
|
--accent-foreground: oklch(0.985 0.01 175);
|
||||||
--destructive: oklch(0.577 0.245 27.325);
|
--destructive: oklch(0.577 0.245 27.325);
|
||||||
--border: oklch(0.922 0 0);
|
--border: oklch(0.91 0.005 240);
|
||||||
--input: oklch(0.922 0 0);
|
--input: oklch(0.91 0.005 240);
|
||||||
--ring: oklch(0.708 0 0);
|
--ring: oklch(0.55 0.14 175);
|
||||||
--chart-1: oklch(0.646 0.222 41.116);
|
--chart-1: oklch(0.55 0.14 175);
|
||||||
--chart-2: oklch(0.6 0.118 184.704);
|
--chart-2: oklch(0.696 0.17 162.48);
|
||||||
--chart-3: oklch(0.398 0.07 227.392);
|
--chart-3: oklch(0.398 0.07 227.392);
|
||||||
--chart-4: oklch(0.828 0.189 84.429);
|
--chart-4: oklch(0.828 0.189 84.429);
|
||||||
--chart-5: oklch(0.769 0.188 70.08);
|
--chart-5: oklch(0.769 0.188 70.08);
|
||||||
--sidebar: oklch(0.985 0 0);
|
--deal-good: oklch(0.696 0.17 162.48);
|
||||||
--sidebar-foreground: oklch(0.145 0 0);
|
--deal-above: oklch(0.795 0.184 86.047);
|
||||||
--sidebar-primary: oklch(0.205 0 0);
|
--sidebar: oklch(0.985 0.002 240);
|
||||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
--sidebar-foreground: oklch(0.15 0.015 255);
|
||||||
--sidebar-accent: oklch(0.97 0 0);
|
--sidebar-primary: oklch(0.55 0.14 175);
|
||||||
--sidebar-accent-foreground: oklch(0.205 0 0);
|
--sidebar-primary-foreground: oklch(0.985 0.01 175);
|
||||||
--sidebar-border: oklch(0.922 0 0);
|
--sidebar-accent: oklch(0.965 0.005 240);
|
||||||
--sidebar-ring: oklch(0.708 0 0);
|
--sidebar-accent-foreground: oklch(0.2 0.015 255);
|
||||||
|
--sidebar-border: oklch(0.91 0.005 240);
|
||||||
|
--sidebar-ring: oklch(0.55 0.14 175);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark {
|
.dark {
|
||||||
--background: oklch(0.145 0 0);
|
--background: oklch(0.14 0.01 255);
|
||||||
--foreground: oklch(0.985 0 0);
|
--foreground: oklch(0.985 0.002 240);
|
||||||
--card: oklch(0.205 0 0);
|
--card: oklch(0.19 0.012 255);
|
||||||
--card-foreground: oklch(0.985 0 0);
|
--card-foreground: oklch(0.985 0.002 240);
|
||||||
--popover: oklch(0.205 0 0);
|
--popover: oklch(0.19 0.012 255);
|
||||||
--popover-foreground: oklch(0.985 0 0);
|
--popover-foreground: oklch(0.985 0.002 240);
|
||||||
--primary: oklch(0.922 0 0);
|
--primary: oklch(0.65 0.14 175);
|
||||||
--primary-foreground: oklch(0.205 0 0);
|
--primary-foreground: oklch(0.14 0.01 255);
|
||||||
--secondary: oklch(0.269 0 0);
|
--secondary: oklch(0.25 0.012 255);
|
||||||
--secondary-foreground: oklch(0.985 0 0);
|
--secondary-foreground: oklch(0.985 0.002 240);
|
||||||
--muted: oklch(0.269 0 0);
|
--muted: oklch(0.25 0.012 255);
|
||||||
--muted-foreground: oklch(0.708 0 0);
|
--muted-foreground: oklch(0.65 0.01 255);
|
||||||
--accent: oklch(0.269 0 0);
|
--accent: oklch(0.65 0.14 175);
|
||||||
--accent-foreground: oklch(0.985 0 0);
|
--accent-foreground: oklch(0.14 0.01 255);
|
||||||
--destructive: oklch(0.704 0.191 22.216);
|
--destructive: oklch(0.704 0.191 22.216);
|
||||||
--border: oklch(1 0 0 / 10%);
|
--border: oklch(1 0 0 / 10%);
|
||||||
--input: oklch(1 0 0 / 15%);
|
--input: oklch(1 0 0 / 15%);
|
||||||
--ring: oklch(0.556 0 0);
|
--ring: oklch(0.65 0.14 175);
|
||||||
--chart-1: oklch(0.488 0.243 264.376);
|
--chart-1: oklch(0.65 0.14 175);
|
||||||
--chart-2: oklch(0.696 0.17 162.48);
|
--chart-2: oklch(0.696 0.17 162.48);
|
||||||
--chart-3: oklch(0.769 0.188 70.08);
|
--chart-3: oklch(0.769 0.188 70.08);
|
||||||
--chart-4: oklch(0.627 0.265 303.9);
|
--chart-4: oklch(0.627 0.265 303.9);
|
||||||
--chart-5: oklch(0.645 0.246 16.439);
|
--chart-5: oklch(0.645 0.246 16.439);
|
||||||
--sidebar: oklch(0.205 0 0);
|
--deal-good: oklch(0.75 0.17 162.48);
|
||||||
--sidebar-foreground: oklch(0.985 0 0);
|
--deal-above: oklch(0.85 0.184 86.047);
|
||||||
--sidebar-primary: oklch(0.488 0.243 264.376);
|
--sidebar: oklch(0.19 0.012 255);
|
||||||
--sidebar-primary-foreground: oklch(0.985 0 0);
|
--sidebar-foreground: oklch(0.985 0.002 240);
|
||||||
--sidebar-accent: oklch(0.269 0 0);
|
--sidebar-primary: oklch(0.65 0.14 175);
|
||||||
--sidebar-accent-foreground: oklch(0.985 0 0);
|
--sidebar-primary-foreground: oklch(0.985 0.002 240);
|
||||||
|
--sidebar-accent: oklch(0.25 0.012 255);
|
||||||
|
--sidebar-accent-foreground: oklch(0.985 0.002 240);
|
||||||
--sidebar-border: oklch(1 0 0 / 10%);
|
--sidebar-border: oklch(1 0 0 / 10%);
|
||||||
--sidebar-ring: oklch(0.556 0 0);
|
--sidebar-ring: oklch(0.65 0.14 175);
|
||||||
}
|
}
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue