Woozy is a shadcn/ui theme built around a vivid deep green primary color (#132602) with vivid deep green accents (#022604). The light mode uses a neutral background (#fafdf6). Dark mode keeps the vivid deep green primary (#132602) on a green-tinted background (#070c04).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf6mintcream | #070c04black |
| Foreground | #000000black | #f7faf5whitesmoke |
| Card | #f7fdf2honeydew | #0a1005black |
| Card foreground | #000000black | #fafcf8snow |
| Popover | #f7fdf2honeydew | #0a1005black |
| Popover foreground | #000000black | #fafcf8snow |
| Primary | #132602black | #132602black |
| Primary foreground | #70e60flawngreen | #70e60flawngreen |
| Secondary | #252602black | #252602black |
| Secondary foreground | #dbe60fgold | #dbe60fgold |
| Muted | #eeefdcbeige | #222310black |
| Muted foreground | #616161dimgray | #9e9e9edarkgray |
| Accent | #022604black | #022604black |
| Accent foreground | #0fe619lime | #0fe619lime |
| Destructive | #d9460dchocolate | #f36b35tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #132602black | #132602black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.48:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 9.93:1 | AAA |
| Secondary button | 11.27:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 9.59:1 | AAA |
| Destructive | 4.33:1 | AA Large |
| Text on background | 18.77:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 9.93:1 | AAA |
| Secondary button | 11.27:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 9.59:1 | AAA |
| Destructive | 6.95:1 | AA |
Paste this into your globals.css to use Woozy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.01 130.534);
--foreground: oklch(0 0 0);
--muted: oklch(0.947 0.026 109.205);
--muted-foreground: oklch(0.492 0 180);
--popover: oklch(0.986 0.015 130.583);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.015 130.583);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.244 0.065 133.57);
--primary-foreground: oklch(0.823 0.244 136.48);
--secondary: oklch(0.26 0.054 112.413);
--secondary-foreground: oklch(0.887 0.196 113.173);
--accent: oklch(0.236 0.072 143.781);
--accent-foreground: oklch(0.803 0.268 142.783);
--destructive: oklch(0.598 0.192 37.685);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.244 0.065 133.57);
--chart-1: oklch(0.244 0.065 133.57);
--chart-2: oklch(0.26 0.054 112.413);
--chart-3: oklch(0.236 0.072 143.781);
--chart-4: oklch(0.315 0.067 112.628);
--chart-5: oklch(0.246 0.067 133.62);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.022 129.342);
--foreground: oklch(0.981 0.007 130.507);
--muted: oklch(0.25 0.033 111.06);
--muted-foreground: oklch(0.7 0 180);
--popover: oklch(0.161 0.026 130.429);
--popover-foreground: oklch(0.987 0.005 130.484);
--card: oklch(0.161 0.026 130.429);
--card-foreground: oklch(0.987 0.005 130.484);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.244 0.065 133.57);
--primary-foreground: oklch(0.823 0.244 136.48);
--secondary: oklch(0.26 0.054 112.413);
--secondary-foreground: oklch(0.887 0.196 113.173);
--accent: oklch(0.236 0.072 143.781);
--accent-foreground: oklch(0.803 0.268 142.783);
--destructive: oklch(0.686 0.181 40.499);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.244 0.065 133.57);
--chart-1: oklch(0.244 0.065 133.57);
--chart-2: oklch(0.26 0.054 112.413);
--chart-3: oklch(0.236 0.072 143.781);
--chart-4: oklch(0.315 0.067 112.628);
--chart-5: oklch(0.246 0.067 133.62);
}