Zealous is a shadcn/ui theme built around a vivid blue primary color (#76bafe) with muted light blue accents (#d5dbe2). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#76bafe) on a blue-tinted background (#050a10).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050a10black |
| Foreground | #020509black | #f9fafbghostwhite |
| Card | #ffffffwhite | #050a10black |
| Card foreground | #020509black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #050a10black |
| Popover foreground | #020509black | #f9fafbghostwhite |
| Primary | #76bafelightskyblue | #76bafelightskyblue |
| Primary foreground | #002142midnightblue | #002142midnightblue |
| Secondary | #d5dbe2gainsboro | #191c1fblack |
| Secondary foreground | #36424fdarkslategray | #acb5besilver |
| Muted | #e7edf3lavender | #0c1218black |
| Muted foreground | #394047darkslategray | #b8bfc6silver |
| Accent | #d5dbe2gainsboro | #191c1fblack |
| Accent foreground | #36424fdarkslategray | #acb5besilver |
| Destructive | #79210bmaroon | #eb4b24chocolate |
| Destructive foreground | #f9cabepink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #76bafelightskyblue | #76bafelightskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 7.35:1 | AAA |
| Muted text | 8.92:1 | AAA |
| Accent | 7.35:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 7.90:1 | AAA |
| Secondary button | 8.23:1 | AAA |
| Muted text | 10.14:1 | AAA |
| Accent | 8.23:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Zealous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.111 0.015 238.028);
--muted: oklch(0.944 0.01 247.931);
--muted-foreground: oklch(0.367 0.015 248.244);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.111 0.015 238.028);
--card: oklch(1 0 180);
--card-foreground: oklch(0.111 0.015 238.028);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.771 0.12 249.633);
--primary-foreground: oklch(0.247 0.073 251.787);
--secondary: oklch(0.889 0.012 247.961);
--secondary-foreground: oklch(0.374 0.027 248.558);
--accent: oklch(0.889 0.012 247.961);
--accent-foreground: oklch(0.374 0.027 248.558);
--destructive: oklch(0.388 0.126 34.545);
--destructive-foreground: oklch(0.876 0.057 34.376);
--ring: oklch(0.771 0.12 249.633);
--chart-1: oklch(0.771 0.12 249.633);
--chart-2: oklch(0.889 0.012 247.961);
--chart-3: oklch(0.889 0.012 247.961);
--chart-4: oklch(0.913 0.009 247.928);
--chart-5: oklch(0.771 0.124 249.708);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.016 243.99);
--foreground: oklch(0.984 0.002 247.838);
--muted: oklch(0.178 0.015 248.669);
--muted-foreground: oklch(0.802 0.013 247.984);
--popover: oklch(0.142 0.016 243.99);
--popover-foreground: oklch(0.984 0.002 247.838);
--card: oklch(0.142 0.016 243.99);
--card-foreground: oklch(0.984 0.002 247.838);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.771 0.12 249.633);
--primary-foreground: oklch(0.247 0.073 251.787);
--secondary: oklch(0.225 0.008 248.197);
--secondary-foreground: oklch(0.769 0.016 248.038);
--accent: oklch(0.225 0.008 248.197);
--accent-foreground: oklch(0.769 0.016 248.038);
--destructive: oklch(0.634 0.202 34.664);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.771 0.12 249.633);
--chart-1: oklch(0.771 0.12 249.633);
--chart-2: oklch(0.225 0.008 248.197);
--chart-3: oklch(0.225 0.008 248.197);
--chart-4: oklch(0.257 0.01 248.226);
--chart-5: oklch(0.771 0.124 249.708);
}