Whispering Christmas Green is a shadcn/ui theme built around a green primary color (#488f19) with violet accents (#60198f). The light mode uses a neutral background (#f9fdf6). Dark mode keeps the green primary (#488f19) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf6mintcream | #020302black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #f9fdf6mintcream | #020302black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #f9fdf6mintcream | #020302black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #488f19olivedrab | #488f19olivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #60198frebeccapurple | #60198frebeccapurple |
| Secondary foreground | #f0e1falavender | #f0e1falavender |
| Muted | #e2dae7gainsboro | #201825black |
| Muted foreground | #645f67dimgray | #9c98a0darkgray |
| Accent | #60198frebeccapurple | #60198frebeccapurple |
| Accent foreground | #f0e1falavender | #f0e1falavender |
| Destructive | #75150amaroon | #ed4835tomato |
| Destructive foreground | #f9bfb9lightpink | #ffffffwhite |
| Border | #e3e5e1gainsboro | #21241eblack |
| Input | #e3e5e1gainsboro | #21241eblack |
| Ring | #488f19olivedrab | #488f19olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.46:1 | AAA |
| Text on card | 20.46:1 | AAA |
| Primary button | 4.01:1 | AA Large |
| Secondary button | 8.28:1 | AAA |
| Muted text | 4.57:1 | AA |
| Accent | 8.28:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 4.01:1 | AA Large |
| Secondary button | 8.28:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 8.28:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Whispering Christmas Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.01 132.434);
--foreground: oklch(0 0 0);
--muted: oklch(0.899 0.018 312.207);
--muted-foreground: oklch(0.494 0.014 312.151);
--popover: oklch(0.99 0.01 132.434);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.01 132.434);
--card-foreground: oklch(0 0 0);
--border: oklch(0.919 0.007 132.413);
--input: oklch(0.919 0.007 132.413);
--primary: oklch(0.582 0.162 136.293);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.396 0.179 306.789);
--secondary-foreground: oklch(0.928 0.037 312.063);
--accent: oklch(0.396 0.179 306.789);
--accent-foreground: oklch(0.928 0.037 312.063);
--destructive: oklch(0.367 0.132 30.479);
--destructive-foreground: oklch(0.855 0.068 25.83);
--ring: oklch(0.582 0.162 136.293);
--chart-1: oklch(0.582 0.162 136.293);
--chart-2: oklch(0.396 0.179 306.789);
--chart-3: oklch(0.396 0.179 306.789);
--chart-4: oklch(0.421 0.191 306.684);
--chart-5: oklch(0.588 0.167 136.487);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.009 131.551);
--foreground: oklch(0.994 0.002 132.375);
--muted: oklch(0.226 0.026 311.511);
--muted-foreground: oklch(0.685 0.013 312.22);
--popover: oklch(0.096 0.009 131.551);
--popover-foreground: oklch(0.994 0.002 132.375);
--card: oklch(0.096 0.009 131.551);
--card-foreground: oklch(0.994 0.002 132.375);
--border: oklch(0.254 0.011 132.685);
--input: oklch(0.254 0.011 132.685);
--primary: oklch(0.582 0.162 136.293);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.396 0.179 306.789);
--secondary-foreground: oklch(0.928 0.037 312.063);
--accent: oklch(0.396 0.179 306.789);
--accent-foreground: oklch(0.928 0.037 312.063);
--destructive: oklch(0.636 0.205 30.032);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.582 0.162 136.293);
--chart-1: oklch(0.582 0.162 136.293);
--chart-2: oklch(0.396 0.179 306.789);
--chart-3: oklch(0.396 0.179 306.789);
--chart-4: oklch(0.421 0.191 306.684);
--chart-5: oklch(0.588 0.167 136.487);
}