Thunderhead is a shadcn/ui theme built around a muted green primary color (#b4c5ba) with muted pink accents (#c5b4bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#b4c5ba) on a green-tinted background (#050b07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050b07black |
| Foreground | #041008black | #f8fcf9mintcream |
| Card | #fcfcfcsnow | #060e09black |
| Card foreground | #030c06black | #fcfdfcwhite |
| Popover | #fcfcfcsnow | #060e09black |
| Popover foreground | #030c06black | #fcfdfcwhite |
| Primary | #b4c5basilver | #b4c5basilver |
| Primary foreground | #1f2822black | #1f2822black |
| Secondary | #c5b4bfsilver | #c5b4bfsilver |
| Secondary foreground | #281f25black | #281f25black |
| Muted | #f6eef3whitesmoke | #11090eblack |
| Muted foreground | #513d4adarkslategray | #c2aebbsilver |
| Accent | #c5b4bfsilver | #c5b4bfsilver |
| Accent foreground | #281f25black | #281f25black |
| Destructive | #842601saddlebrown | #f94701orangered |
| Destructive foreground | #ffccb8peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b4c5basilver | #b4c5basilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.40:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 8.73:1 | AAA |
| Accent | 8.12:1 | AAA |
| Destructive | 6.46:1 | AA |
| Text on background | 19.22:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 9.42:1 | AAA |
| Accent | 8.12:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Thunderhead in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.158 0.024 156.328);
--muted: oklch(0.957 0.011 338.227);
--muted-foreground: oklch(0.388 0.035 339.742);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.141 0.021 157.497);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.141 0.021 157.497);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.808 0.024 157.336);
--primary-foreground: oklch(0.267 0.017 156.556);
--secondary: oklch(0.788 0.025 338.629);
--secondary-foreground: oklch(0.253 0.018 339.391);
--accent: oklch(0.788 0.025 338.629);
--accent-foreground: oklch(0.253 0.018 339.391);
--destructive: oklch(0.412 0.135 37.847);
--destructive-foreground: oklch(0.884 0.064 42.644);
--ring: oklch(0.808 0.024 157.336);
--chart-1: oklch(0.808 0.024 157.336);
--chart-2: oklch(0.788 0.025 338.629);
--chart-3: oklch(0.788 0.025 338.629);
--chart-4: oklch(0.813 0.022 338.534);
--chart-5: oklch(0.811 0.03 157.185);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.014 157.77);
--foreground: oklch(0.987 0.005 157.879);
--muted: oklch(0.152 0.018 340.172);
--muted-foreground: oklch(0.771 0.029 338.751);
--popover: oklch(0.154 0.017 156.836);
--popover-foreground: oklch(0.993 0.002 157.932);
--card: oklch(0.154 0.017 156.836);
--card-foreground: oklch(0.993 0.002 157.932);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.808 0.024 157.336);
--primary-foreground: oklch(0.267 0.017 156.556);
--secondary: oklch(0.788 0.025 338.629);
--secondary-foreground: oklch(0.253 0.018 339.391);
--accent: oklch(0.788 0.025 338.629);
--accent-foreground: oklch(0.253 0.018 339.391);
--destructive: oklch(0.652 0.222 36.176);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.808 0.024 157.336);
--chart-1: oklch(0.808 0.024 157.336);
--chart-2: oklch(0.788 0.025 338.629);
--chart-3: oklch(0.788 0.025 338.629);
--chart-4: oklch(0.813 0.022 338.534);
--chart-5: oklch(0.811 0.03 157.185);
}