Birdhouse is a shadcn/ui theme built around a vivid deep green primary color (#02401e) with vivid deep pink accents (#400224). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid deep green primary (#02401e) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #020302black |
| Foreground | #020d07black | #ffffffwhite |
| Card | #fbfefcwhite | #020302black |
| Card foreground | #020d07black | #ffffffwhite |
| Popover | #fbfefcwhite | #020302black |
| Popover foreground | #020d07black | #ffffffwhite |
| Primary | #02401edarkgreen | #02401edarkgreen |
| Primary foreground | #16f87cspringgreen | #16f87cspringgreen |
| Secondary | #400224black | #400224black |
| Secondary foreground | #fb79c1hotpink | #fb79c1hotpink |
| Muted | #ebe6e8linen | #191417black |
| Muted foreground | #50444bdarkslategray | #bbafb6silver |
| Accent | #400224black | #400224black |
| Accent foreground | #fb79c1hotpink | #fb79c1hotpink |
| Destructive | #b12906firebrick | #f8603atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #02401edarkgreen | #02401edarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 7.46:1 | AAA |
| Accent | 6.86:1 | AA |
| Destructive | 6.58:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 8.37:1 | AAA |
| Secondary button | 6.86:1 | AA |
| Muted text | 8.56:1 | AAA |
| Accent | 6.86:1 | AA |
| Destructive | 6.72:1 | AA |
Paste this into your globals.css to use Birdhouse in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 162.542);
--foreground: oklch(0.144 0.024 162.114);
--muted: oklch(0.928 0.007 342.791);
--muted-foreground: oklch(0.401 0.019 343.75);
--popover: oklch(0.994 0.003 162.542);
--popover-foreground: oklch(0.144 0.024 162.114);
--card: oklch(0.994 0.003 162.542);
--card-foreground: oklch(0.144 0.024 162.114);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.327 0.084 152.406);
--primary-foreground: oklch(0.857 0.228 150.847);
--secondary: oklch(0.246 0.098 353.553);
--secondary-foreground: oklch(0.748 0.176 348.024);
--accent: oklch(0.246 0.098 353.553);
--accent-foreground: oklch(0.748 0.176 348.024);
--destructive: oklch(0.499 0.177 33.535);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.327 0.084 152.406);
--chart-1: oklch(0.327 0.084 152.406);
--chart-2: oklch(0.246 0.098 353.553);
--chart-3: oklch(0.246 0.098 353.553);
--chart-4: oklch(0.282 0.112 354.482);
--chart-5: oklch(0.33 0.086 152.198);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.008 162.634);
--foreground: oklch(1 0 180);
--muted: oklch(0.2 0.01 343.767);
--muted-foreground: oklch(0.766 0.016 343.13);
--popover: oklch(0.095 0.008 162.634);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.095 0.008 162.634);
--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.327 0.084 152.406);
--primary-foreground: oklch(0.857 0.228 150.847);
--secondary: oklch(0.246 0.098 353.553);
--secondary-foreground: oklch(0.748 0.176 348.024);
--accent: oklch(0.246 0.098 353.553);
--accent-foreground: oklch(0.748 0.176 348.024);
--destructive: oklch(0.68 0.194 35.104);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.327 0.084 152.406);
--chart-1: oklch(0.327 0.084 152.406);
--chart-2: oklch(0.246 0.098 353.553);
--chart-3: oklch(0.246 0.098 353.553);
--chart-4: oklch(0.282 0.112 354.482);
--chart-5: oklch(0.33 0.086 152.198);
}