lucy-evening is a shadcn/ui theme built around a vivid yellow primary color (#f0cd5c) with muted deep indigo accents (#43414e). The light mode uses an indigo-tinted background (#1f1e24). Dark mode keeps the vivid yellow primary (#f0cd5c) on an indigo-tinted background (#1f1e24).
| Token | Light | Dark |
|---|---|---|
| Background | #1f1e24black | #1f1e24black |
| Foreground | #ded6cflightgrey | #ded6cflightgrey |
| Card | #1a1a1fblack | #1a1a1fblack |
| Card foreground | #e8e3degainsboro | #e8e3degainsboro |
| Popover | #18171cblack | #18171cblack |
| Popover foreground | #f2f0edwhitesmoke | #f2f0edwhitesmoke |
| Primary | #f0cd5csandybrown | #f0cd5csandybrown |
| Primary foreground | #171202black | #171202black |
| Secondary | #534a2ddarkolivegreen | #534a2ddarkolivegreen |
| Secondary foreground | #e4dfcdgainsboro | #e4dfcdgainsboro |
| Muted | #282631darkslategray | #282631darkslategray |
| Muted foreground | #a4a1b5darkgray | #a4a1b5darkgray |
| Accent | #43414edarkslategray | #43414edarkslategray |
| Accent foreground | #dfdee3gainsboro | #dfdee3gainsboro |
| Destructive | #f05b3dtomato | #f05b3dtomato |
| Destructive foreground | #000000black | #000000black |
| Border | #2e2e2edarkslategray | #2e2e2edarkslategray |
| Input | #363636darkslategray | #363636darkslategray |
| Ring | #f0cd5csandybrown | #f0cd5csandybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.49:1 | AAA |
| Text on card | 13.63:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 5.90:1 | AA |
| Accent | 7.45:1 | AAA |
| Destructive | 6.26:1 | AA |
| Text on background | 11.49:1 | AAA |
| Text on card | 13.63:1 | AAA |
| Primary button | 12.11:1 | AAA |
| Secondary button | 6.60:1 | AA |
| Muted text | 5.90:1 | AA |
| Accent | 7.45:1 | AAA |
| Destructive | 6.26:1 | AA |
Paste this into your globals.css to use lucy-evening in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.239 0.011 293.168);
--foreground: oklch(0.881 0.013 67.659);
--muted: oklch(0.276 0.019 292.74);
--muted-foreground: oklch(0.718 0.029 293.298);
--popover: oklch(0.208 0.009 293.246);
--popover-foreground: oklch(0.956 0.005 67.767);
--card: oklch(0.219 0.01 293.217);
--card-foreground: oklch(0.918 0.009 67.717);
--border: oklch(0.301 0 189.462);
--input: oklch(0.331 0 180);
--primary: oklch(0.857 0.137 92.333);
--primary-foreground: oklch(0.185 0.033 94.713);
--secondary: oklch(0.41 0.046 93.102);
--secondary-foreground: oklch(0.903 0.024 92.9);
--accent: oklch(0.382 0.022 292.984);
--accent-foreground: oklch(0.902 0.007 293.911);
--destructive: oklch(0.662 0.19 33.194);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.857 0.137 92.333);
--chart-1: oklch(0.857 0.137 92.333);
--chart-2: oklch(0.41 0.046 93.102);
--chart-3: oklch(0.382 0.022 292.984);
--chart-4: oklch(0.443 0.051 93.092);
--chart-5: oklch(0.862 0.14 92.224);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.239 0.011 293.168);
--foreground: oklch(0.881 0.013 67.659);
--muted: oklch(0.276 0.019 292.74);
--muted-foreground: oklch(0.718 0.029 293.298);
--popover: oklch(0.208 0.009 293.246);
--popover-foreground: oklch(0.956 0.005 67.767);
--card: oklch(0.219 0.01 293.217);
--card-foreground: oklch(0.918 0.009 67.717);
--border: oklch(0.301 0 189.462);
--input: oklch(0.331 0 180);
--primary: oklch(0.857 0.137 92.333);
--primary-foreground: oklch(0.185 0.033 94.713);
--secondary: oklch(0.41 0.046 93.102);
--secondary-foreground: oklch(0.903 0.024 92.9);
--accent: oklch(0.382 0.022 292.984);
--accent-foreground: oklch(0.902 0.007 293.911);
--destructive: oklch(0.662 0.19 33.194);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.857 0.137 92.333);
--chart-1: oklch(0.857 0.137 92.333);
--chart-2: oklch(0.41 0.046 93.102);
--chart-3: oklch(0.382 0.022 292.984);
--chart-4: oklch(0.443 0.051 93.092);
--chart-5: oklch(0.862 0.14 92.224);
}