Busy Haunted Forest is a shadcn/ui theme built around a deep green primary color (#062d0f) with deep purple accents (#2d0624). The light mode uses a neutral background (#f6fdf8). Dark mode keeps the deep green primary (#062d0f) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdf8mintcream | #010402black |
| Foreground | #051409black | #fcfdfcwhite |
| Card | #f2fdf5honeydew | #030704black |
| Card foreground | #041007black | #ffffffwhite |
| Popover | #f6fdf8mintcream | #010402black |
| Popover foreground | #051409black | #fcfdfcwhite |
| Primary | #062d0fblack | #062d0fblack |
| Primary foreground | #20df4dlimegreen | #20df4dlimegreen |
| Secondary | #2d0624black | #2d0624black |
| Secondary foreground | #ec79d1orchid | #ec79d1orchid |
| Muted | #ddd4dbgainsboro | #2b2229darkslategray |
| Muted foreground | #615c60dimgray | #a39ea2darkgray |
| Accent | #2d0624black | #2d0624black |
| Accent foreground | #ec79d1orchid | #ec79d1orchid |
| Destructive | #6e1307maroon | #f02e14orangered |
| Destructive foreground | #fab6aelightpink | #ffffffwhite |
| Border | #dde4dfgainsboro | #202822darkslategray |
| Input | #dde4dfgainsboro | #202822darkslategray |
| Ring | #062d0fblack | #062d0fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.35:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 8.46:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 4.53:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 8.46:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 5.86:1 | AA |
| Accent | 7.07:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Busy Haunted Forest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.01 153.073);
--foreground: oklch(0.174 0.032 150.712);
--muted: oklch(0.88 0.014 333.492);
--muted-foreground: oklch(0.48 0.01 333.571);
--popover: oklch(0.988 0.01 153.073);
--popover-foreground: oklch(0.174 0.032 150.712);
--card: oklch(0.983 0.015 152.987);
--card-foreground: oklch(0.158 0.028 151.597);
--border: oklch(0.912 0.01 153.061);
--input: oklch(0.912 0.01 153.061);
--primary: oklch(0.261 0.068 147.568);
--primary-foreground: oklch(0.789 0.236 145.664);
--secondary: oklch(0.211 0.074 338.661);
--secondary-foreground: oklch(0.735 0.175 336.79);
--accent: oklch(0.211 0.074 338.661);
--accent-foreground: oklch(0.735 0.175 336.79);
--destructive: oklch(0.352 0.127 31.122);
--destructive-foreground: oklch(0.838 0.08 27.368);
--ring: oklch(0.261 0.068 147.568);
--chart-1: oklch(0.261 0.068 147.568);
--chart-2: oklch(0.211 0.074 338.661);
--chart-3: oklch(0.211 0.074 338.661);
--chart-4: oklch(0.246 0.09 339.135);
--chart-5: oklch(0.263 0.07 147.432);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.013 152.626);
--foreground: oklch(0.993 0.002 153.203);
--muted: oklch(0.264 0.019 334.341);
--muted-foreground: oklch(0.705 0.009 333.446);
--popover: oklch(0.097 0.013 152.626);
--popover-foreground: oklch(0.993 0.002 153.203);
--card: oklch(0.122 0.017 152.626);
--card-foreground: oklch(1 0 180);
--border: oklch(0.265 0.016 152.231);
--input: oklch(0.265 0.016 152.231);
--primary: oklch(0.261 0.068 147.568);
--primary-foreground: oklch(0.789 0.236 145.664);
--secondary: oklch(0.211 0.074 338.661);
--secondary-foreground: oklch(0.735 0.175 336.79);
--accent: oklch(0.211 0.074 338.661);
--accent-foreground: oklch(0.735 0.175 336.79);
--destructive: oklch(0.617 0.23 30.959);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.261 0.068 147.568);
--chart-1: oklch(0.261 0.068 147.568);
--chart-2: oklch(0.211 0.074 338.661);
--chart-3: oklch(0.211 0.074 338.661);
--chart-4: oklch(0.246 0.09 339.135);
--chart-5: oklch(0.263 0.07 147.432);
}