lucy is a shadcn/ui theme built around a yellow primary color (#e3cd64) with muted deep blue accents (#394056). The light mode uses a blue-tinted background (#1b1e28). Dark mode keeps the yellow primary (#e3cd64) on a blue-tinted background (#1b1e28).
| Token | Light | Dark |
|---|---|---|
| Background | #1b1e28black | #1b1e28black |
| Foreground | #d6d6d6lightgrey | #d6d6d6lightgrey |
| Card | #161922black | #161922black |
| Card foreground | #e3e3e3gainsboro | #e3e3e3gainsboro |
| Popover | #14171fblack | #14171fblack |
| Popover foreground | #f0f0f0whitesmoke | #f0f0f0whitesmoke |
| Primary | #e3cd64burlywood | #e3cd64burlywood |
| Primary foreground | #110f03black | #110f03black |
| Secondary | #534d2ddarkolivegreen | #534d2ddarkolivegreen |
| Secondary foreground | #e4e0cdgainsboro | #e4e0cdgainsboro |
| Muted | #262931darkslategray | #262931darkslategray |
| Muted foreground | #a1a5b5darkgray | #a1a5b5darkgray |
| Accent | #394056darkslategray | #394056darkslategray |
| Accent foreground | #dadde7gainsboro | #dadde7gainsboro |
| Destructive | #e83430crimson | #e83430crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #292b32darkslategray | #292b32darkslategray |
| Input | #30333bdarkslategray | #30333bdarkslategray |
| Ring | #e3cd64burlywood | #e3cd64burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.49:1 | AAA |
| Text on card | 13.66:1 | AAA |
| Primary button | 12.07:1 | AAA |
| Secondary button | 6.46:1 | AA |
| Muted text | 5.95:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 4.23:1 | AA Large |
| Text on background | 11.49:1 | AAA |
| Text on card | 13.66:1 | AAA |
| Primary button | 12.07:1 | AAA |
| Secondary button | 6.46:1 | AA |
| Muted text | 5.95:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 4.23:1 | AA Large |
Paste this into your globals.css to use lucy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.235 0.02 271.58);
--foreground: oklch(0.877 0 180);
--muted: oklch(0.28 0.015 272.025);
--muted-foreground: oklch(0.725 0.023 272.304);
--popover: oklch(0.205 0.016 271.688);
--popover-foreground: oklch(0.954 0 180);
--card: oklch(0.215 0.017 271.648);
--card-foreground: oklch(0.916 0 180);
--border: oklch(0.292 0.013 272.138);
--input: oklch(0.321 0.015 272.117);
--primary: oklch(0.846 0.128 98.175);
--primary-foreground: oklch(0.167 0.025 99.956);
--secondary: oklch(0.416 0.049 98.29);
--secondary-foreground: oklch(0.906 0.026 97.622);
--accent: oklch(0.374 0.039 271.317);
--accent-foreground: oklch(0.899 0.013 272.502);
--destructive: oklch(0.609 0.216 27.216);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.846 0.128 98.175);
--chart-1: oklch(0.846 0.128 98.175);
--chart-2: oklch(0.416 0.049 98.29);
--chart-3: oklch(0.374 0.039 271.317);
--chart-4: oklch(0.45 0.054 98.292);
--chart-5: oklch(0.852 0.132 98.134);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.235 0.02 271.58);
--foreground: oklch(0.877 0 180);
--muted: oklch(0.28 0.015 272.025);
--muted-foreground: oklch(0.725 0.023 272.304);
--popover: oklch(0.205 0.016 271.688);
--popover-foreground: oklch(0.954 0 180);
--card: oklch(0.215 0.017 271.648);
--card-foreground: oklch(0.916 0 180);
--border: oklch(0.292 0.013 272.138);
--input: oklch(0.321 0.015 272.117);
--primary: oklch(0.846 0.128 98.175);
--primary-foreground: oklch(0.167 0.025 99.956);
--secondary: oklch(0.416 0.049 98.29);
--secondary-foreground: oklch(0.906 0.026 97.622);
--accent: oklch(0.374 0.039 271.317);
--accent-foreground: oklch(0.899 0.013 272.502);
--destructive: oklch(0.609 0.216 27.216);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.846 0.128 98.175);
--chart-1: oklch(0.846 0.128 98.175);
--chart-2: oklch(0.416 0.049 98.29);
--chart-3: oklch(0.374 0.039 271.317);
--chart-4: oklch(0.45 0.054 98.292);
--chart-5: oklch(0.852 0.132 98.134);
}