Helmet is a shadcn/ui theme built around a vivid yellow primary color (#f1c950) with vivid green accents (#c9f150). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the vivid yellow primary (#f1c950) on a yellow-tinted background (#100d05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf7snow | #100d05black |
| Foreground | #110e03black | #fdfdfcwhite |
| Card | #fdfbf7snow | #100d05black |
| Card foreground | #110e03black | #fdfdfcwhite |
| Popover | #fdfbf7snow | #100d05black |
| Popover foreground | #110e03black | #fdfdfcwhite |
| Primary | #f1c950sandybrown | #f1c950sandybrown |
| Primary foreground | #0e0b01black | #0e0b01black |
| Secondary | #f17950coral | #f17950coral |
| Secondary foreground | #0e0401black | #0e0401black |
| Muted | #eee9e7linen | #181311black |
| Muted foreground | #5a4e49darkolivegreen | #b6a9a5darkgray |
| Accent | #c9f150greenyellow | #c9f150greenyellow |
| Accent foreground | #0b0e01black | #0b0e01black |
| Destructive | #9b3208saddlebrown | #ed4c0corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1c950sandybrown | #f1c950sandybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.69:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 12.35:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 6.65:1 | AA |
| Accent | 14.99:1 | AAA |
| Destructive | 7.36:1 | AAA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 12.35:1 | AAA |
| Secondary button | 7.29:1 | AAA |
| Muted text | 8.09:1 | AAA |
| Accent | 14.99:1 | AAA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Helmet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 91.459);
--foreground: oklch(0.163 0.024 94.257);
--muted: oklch(0.937 0.006 39.466);
--muted-foreground: oklch(0.433 0.018 39.31);
--popover: oklch(0.989 0.006 91.459);
--popover-foreground: oklch(0.163 0.024 94.257);
--card: oklch(0.989 0.006 91.459);
--card-foreground: oklch(0.163 0.024 94.257);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.848 0.143 90.4);
--primary-foreground: oklch(0.149 0.026 96.843);
--secondary: oklch(0.706 0.158 38.892);
--secondary-foreground: oklch(0.127 0.025 51.818);
--accent: oklch(0.9 0.187 122.364);
--accent-foreground: oklch(0.156 0.032 119.03);
--destructive: oklch(0.468 0.148 38.103);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.143 90.4);
--chart-1: oklch(0.848 0.143 90.4);
--chart-2: oklch(0.706 0.158 38.892);
--chart-3: oklch(0.9 0.187 122.364);
--chart-4: oklch(0.726 0.145 39.05);
--chart-5: oklch(0.854 0.146 90.246);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.018 93.668);
--foreground: oklch(0.993 0.001 91.416);
--muted: oklch(0.191 0.009 39.288);
--muted-foreground: oklch(0.745 0.015 39.389);
--popover: oklch(0.159 0.018 93.668);
--popover-foreground: oklch(0.993 0.001 91.416);
--card: oklch(0.159 0.018 93.668);
--card-foreground: oklch(0.993 0.001 91.416);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.848 0.143 90.4);
--primary-foreground: oklch(0.149 0.026 96.843);
--secondary: oklch(0.706 0.158 38.892);
--secondary-foreground: oklch(0.127 0.025 51.818);
--accent: oklch(0.9 0.187 122.364);
--accent-foreground: oklch(0.156 0.032 119.03);
--destructive: oklch(0.638 0.207 37.421);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.143 90.4);
--chart-1: oklch(0.848 0.143 90.4);
--chart-2: oklch(0.706 0.158 38.892);
--chart-3: oklch(0.9 0.187 122.364);
--chart-4: oklch(0.726 0.145 39.05);
--chart-5: oklch(0.854 0.146 90.246);
}