Xenophobic Treetop Cathedral is a shadcn/ui theme built around a vivid deep green primary color (#2c4507) with muted green accents (#b7bcae). The light mode uses a neutral background (#fafcf8). Dark mode keeps the vivid deep green primary (#2c4507) on a neutral background (#060703).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #060703black |
| Foreground | #000000black | #fafcf8snow |
| Card | #f8faf4whitesmoke | #080b04black |
| Card foreground | #000000black | #fdfdfbsnow |
| Popover | #fafcf8snow | #060703black |
| Popover foreground | #000000black | #fafcf8snow |
| Primary | #2c4507darkgreen | #2c4507darkgreen |
| Primary foreground | #9fe92fgreenyellow | #9fe92fgreenyellow |
| Secondary | #cccdcblightgrey | #1a1b18black |
| Secondary foreground | #333432darkslategray | #b3b7aedarkgray |
| Muted | #f3f6eewhitesmoke | #0e1109black |
| Muted foreground | #494f40darkslategray | #b9bfb0silver |
| Accent | #b7bcaesilver | #2a2f23darkslategray |
| Accent foreground | #1d1f19black | #c4cbb9silver |
| Destructive | #621c09maroon | #d73e14chocolate |
| Destructive foreground | #f7b8a6lightpink | #ffffffwhite |
| Border | #e1e5dcgainsboro | #22261dblack |
| Input | #e1e5dcgainsboro | #22261dblack |
| Ring | #2c4507darkgreen | #2c4507darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.34:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 7.78:1 | AAA |
| Accent | 8.58:1 | AAA |
| Destructive | 7.30:1 | AAA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 8.48:1 | AAA |
| Muted text | 10.12:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 4.58:1 | AA |
Paste this into your globals.css to use Xenophobic Treetop Cathedral in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 124.427);
--foreground: oklch(0 0 0);
--muted: oklch(0.969 0.011 124.513);
--muted-foreground: oklch(0.416 0.024 125.198);
--popover: oklch(0.989 0.006 124.427);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.008 124.468);
--card-foreground: oklch(0 0 0);
--border: oklch(0.916 0.012 124.534);
--input: oklch(0.916 0.012 124.534);
--primary: oklch(0.358 0.09 129.868);
--primary-foreground: oklch(0.854 0.216 129.984);
--secondary: oklch(0.846 0.001 124.37);
--secondary-foreground: oklch(0.322 0.002 124.428);
--accent: oklch(0.788 0.022 124.74);
--accent-foreground: oklch(0.234 0.011 125.03);
--destructive: oklch(0.338 0.105 35.615);
--destructive-foreground: oklch(0.835 0.078 36.031);
--ring: oklch(0.358 0.09 129.868);
--chart-1: oklch(0.358 0.09 129.868);
--chart-2: oklch(0.846 0.001 124.37);
--chart-3: oklch(0.788 0.022 124.74);
--chart-4: oklch(0.87 0.001 124.365);
--chart-5: oklch(0.361 0.092 130.043);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.015 123.768);
--foreground: oklch(0.988 0.005 124.425);
--muted: oklch(0.17 0.017 125.765);
--muted-foreground: oklch(0.795 0.021 124.722);
--popover: oklch(0.125 0.015 123.768);
--popover-foreground: oklch(0.988 0.005 124.425);
--card: oklch(0.144 0.018 123.869);
--card-foreground: oklch(0.994 0.003 124.384);
--border: oklch(0.261 0.018 125.342);
--input: oklch(0.261 0.018 125.342);
--primary: oklch(0.358 0.09 129.868);
--primary-foreground: oklch(0.854 0.216 129.984);
--secondary: oklch(0.22 0.006 124.748);
--secondary-foreground: oklch(0.774 0.013 124.595);
--accent: oklch(0.296 0.022 125.471);
--accent-foreground: oklch(0.831 0.026 124.804);
--destructive: oklch(0.586 0.196 34.878);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.358 0.09 129.868);
--chart-1: oklch(0.358 0.09 129.868);
--chart-2: oklch(0.22 0.006 124.748);
--chart-3: oklch(0.296 0.022 125.471);
--chart-4: oklch(0.254 0.008 124.783);
--chart-5: oklch(0.361 0.092 130.043);
}