Zoologist is a shadcn/ui theme built around a green primary color (#99d1a3) with muted green accents (#b4cbb8). The light mode uses a neutral background (#fbfefc). Dark mode keeps the green primary (#99d1a3) on a green-tinted background (#050a06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #050a06black |
| Foreground | #061309black | #f9fbf9mintcream |
| Card | #f7fdf8mintcream | #070d08black |
| Card foreground | #051007black | #fcfdfcwhite |
| Popover | #fbfefcwhite | #050a06black |
| Popover foreground | #061309black | #f9fbf9mintcream |
| Primary | #99d1a3darkseagreen | #99d1a3darkseagreen |
| Primary foreground | #112715black | #112715black |
| Secondary | #d0d8d1lightgrey | #1e1f1eblack |
| Secondary foreground | #354037darkslategray | #b6b9b7silver |
| Muted | #e6efe7beige | #101911black |
| Muted foreground | #454a46darkslategray | #b5bab6silver |
| Accent | #b4cbb8silver | #2a322cdarkslategray |
| Accent foreground | #1f2d22darkslategray | #c2cbc4silver |
| Destructive | #692807saddlebrown | #f16722chocolate |
| Destructive foreground | #f9c4a9navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #99d1a3darkseagreen | #99d1a3darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.76:1 | AAA |
| Primary button | 9.07:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 7.72:1 | AAA |
| Accent | 8.33:1 | AAA |
| Destructive | 7.07:1 | AAA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 9.07:1 | AAA |
| Secondary button | 8.34:1 | AAA |
| Muted text | 9.10:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.71:1 | AA |
Paste this into your globals.css to use Zoologist in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 151.344);
--foreground: oklch(0.172 0.03 149.273);
--muted: oklch(0.944 0.015 151.18);
--muted-foreground: oklch(0.403 0.011 151.021);
--popover: oklch(0.994 0.004 151.344);
--popover-foreground: oklch(0.172 0.03 149.273);
--card: oklch(0.988 0.009 151.28);
--card-foreground: oklch(0.156 0.026 149.952);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.81 0.087 149.741);
--primary-foreground: oklch(0.248 0.043 148.513);
--secondary: oklch(0.873 0.012 151.208);
--secondary-foreground: oklch(0.359 0.02 150.567);
--accent: oklch(0.819 0.036 150.761);
--accent-foreground: oklch(0.281 0.028 149.883);
--destructive: oklch(0.367 0.103 42.635);
--destructive-foreground: oklch(0.86 0.072 47.866);
--ring: oklch(0.81 0.087 149.741);
--chart-1: oklch(0.81 0.087 149.741);
--chart-2: oklch(0.873 0.012 151.208);
--chart-3: oklch(0.819 0.036 150.761);
--chart-4: oklch(0.896 0.01 151.248);
--chart-5: oklch(0.813 0.093 149.611);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.013 150.906);
--foreground: oklch(0.986 0.002 151.374);
--muted: oklch(0.202 0.021 149.762);
--muted-foreground: oklch(0.784 0.009 151.241);
--popover: oklch(0.137 0.013 150.906);
--popover-foreground: oklch(0.986 0.002 151.374);
--card: oklch(0.151 0.015 150.559);
--card-foreground: oklch(0.993 0.001 151.391);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.81 0.087 149.741);
--primary-foreground: oklch(0.248 0.043 148.513);
--secondary: oklch(0.238 0.003 151.249);
--secondary-foreground: oklch(0.783 0.005 151.324);
--accent: oklch(0.306 0.015 150.699);
--accent-foreground: oklch(0.834 0.014 151.164);
--destructive: oklch(0.677 0.186 42.945);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.81 0.087 149.741);
--chart-1: oklch(0.81 0.087 149.741);
--chart-2: oklch(0.238 0.003 151.249);
--chart-3: oklch(0.306 0.015 150.699);
--chart-4: oklch(0.271 0.003 151.238);
--chart-5: oklch(0.813 0.093 149.611);
}