Zoo is a shadcn/ui theme built around a muted deep green primary color (#434535) with muted deep green accents (#3b4535). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted deep green primary (#434535) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #000000black |
| Foreground | #121306black | #fdfdfcwhite |
| Card | #fcfcf8snow | #030303black |
| Card foreground | #0e0f05black | #ffffffwhite |
| Popover | #fcfcf8snow | #030303black |
| Popover foreground | #0e0f05black | #ffffffwhite |
| Primary | #434535darkslategray | #434535darkslategray |
| Primary foreground | #dadcd1gainsboro | #dadcd1gainsboro |
| Secondary | #453f35darkslategray | #453f35darkslategray |
| Secondary foreground | #dcd7d1lightgrey | #dcd7d1lightgrey |
| Muted | #eae8e6linen | #191715black |
| Muted foreground | #6a655cdimgray | #a39d95darkgray |
| Accent | #3b4535darkslategray | #3b4535darkslategray |
| Accent foreground | #d5dcd1lightgrey | #d5dcd1lightgrey |
| Destructive | #ac2206firebrick | #f85130tomato |
| Destructive foreground | #feeae6linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #434535darkslategray | #434535darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.45:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 7.04:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 4.74:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.04:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 6.64:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Zoo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 111.833);
--foreground: oklch(0.181 0.025 114.144);
--muted: oklch(0.933 0.003 79.928);
--muted-foreground: oklch(0.509 0.015 79.851);
--popover: oklch(0.99 0.006 111.887);
--popover-foreground: oklch(0.165 0.022 113.748);
--card: oklch(0.99 0.006 111.887);
--card-foreground: oklch(0.165 0.022 113.748);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.384 0.026 113.035);
--primary-foreground: oklch(0.889 0.014 112.082);
--secondary: oklch(0.371 0.018 79.734);
--secondary-foreground: oklch(0.882 0.01 79.912);
--accent: oklch(0.377 0.029 133.552);
--accent-foreground: oklch(0.885 0.016 133.11);
--destructive: oklch(0.484 0.177 32.356);
--destructive-foreground: oklch(0.953 0.022 31.101);
--ring: oklch(0.384 0.026 113.035);
--chart-1: oklch(0.384 0.026 113.035);
--chart-2: oklch(0.371 0.018 79.734);
--chart-3: oklch(0.377 0.029 133.552);
--chart-4: oklch(0.401 0.02 79.727);
--chart-5: oklch(0.39 0.032 113.286);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.001 111.806);
--muted: oklch(0.207 0.004 79.884);
--muted-foreground: oklch(0.699 0.014 79.887);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.384 0.026 113.035);
--primary-foreground: oklch(0.889 0.014 112.082);
--secondary: oklch(0.371 0.018 79.734);
--secondary-foreground: oklch(0.882 0.01 79.912);
--accent: oklch(0.377 0.029 133.552);
--accent-foreground: oklch(0.885 0.016 133.11);
--destructive: oklch(0.662 0.208 33.187);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.384 0.026 113.035);
--chart-1: oklch(0.384 0.026 113.035);
--chart-2: oklch(0.371 0.018 79.734);
--chart-3: oklch(0.377 0.029 133.552);
--chart-4: oklch(0.401 0.02 79.727);
--chart-5: oklch(0.39 0.032 113.286);
}