Helmet is a shadcn/ui theme built around a deep green primary color (#124a21) with deep orange accents (#4a2112). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the deep green primary (#124a21) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfcwhite | #020302black |
| Foreground | #031608black | #f5faf6whitesmoke |
| Card | #f8fcf9mintcream | #030704black |
| Card foreground | #031207black | #f8fcf9mintcream |
| Popover | #fbfdfcwhite | #020302black |
| Popover foreground | #031608black | #f5faf6whitesmoke |
| Primary | #124a21darkgreen | #124a21darkgreen |
| Primary foreground | #a5e9b7palegreen | #a5e9b7palegreen |
| Secondary | #21124amidnightblue | #21124amidnightblue |
| Secondary foreground | #b7a5e9lightsteelblue | #b7a5e9lightsteelblue |
| Muted | #e2deedlavender | #161221black |
| Muted foreground | #474450darkslategray | #b2afbbdarkgray |
| Accent | #4a2112maroon | #4a2112maroon |
| Accent foreground | #e9b7a5burlywood | #e9b7a5burlywood |
| Destructive | #7e2e0csaddlebrown | #db5014chocolate |
| Destructive foreground | #f9d3c2peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #124a21darkgreen | #124a21darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.38:1 | AAA |
| Text on card | 18.53:1 | AAA |
| Primary button | 7.38:1 | AAA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 7.18:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 7.38:1 | AAA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 8.53:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 4.05:1 | AA Large |
Paste this into your globals.css to use Helmet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 154.477);
--foreground: oklch(0.179 0.039 151.46);
--muted: oklch(0.908 0.021 298.16);
--muted-foreground: oklch(0.394 0.02 297.67);
--popover: oklch(0.993 0.003 154.477);
--popover-foreground: oklch(0.179 0.039 151.46);
--card: oklch(0.987 0.006 154.426);
--card-foreground: oklch(0.162 0.033 152.497);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.362 0.09 148.484);
--primary-foreground: oklch(0.876 0.098 152.348);
--secondary: oklch(0.242 0.098 289.217);
--secondary-foreground: oklch(0.761 0.098 296.231);
--accent: oklch(0.302 0.067 40.176);
--accent-foreground: oklch(0.82 0.064 40.91);
--destructive: oklch(0.413 0.119 40.374);
--destructive-foreground: oklch(0.895 0.049 44.513);
--ring: oklch(0.362 0.09 148.484);
--chart-1: oklch(0.362 0.09 148.484);
--chart-2: oklch(0.242 0.098 289.217);
--chart-3: oklch(0.302 0.067 40.176);
--chart-4: oklch(0.265 0.111 288.735);
--chart-5: oklch(0.366 0.093 148.227);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.009 154.169);
--foreground: oklch(0.98 0.008 154.389);
--muted: oklch(0.195 0.031 295.661);
--muted-foreground: oklch(0.761 0.017 298.175);
--popover: oklch(0.095 0.009 154.169);
--popover-foreground: oklch(0.98 0.008 154.389);
--card: oklch(0.12 0.012 154.169);
--card-foreground: oklch(0.987 0.005 154.436);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.362 0.09 148.484);
--primary-foreground: oklch(0.876 0.098 152.348);
--secondary: oklch(0.242 0.098 289.217);
--secondary-foreground: oklch(0.761 0.098 296.231);
--accent: oklch(0.302 0.067 40.176);
--accent-foreground: oklch(0.82 0.064 40.91);
--destructive: oklch(0.613 0.186 39.524);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.362 0.09 148.484);
--chart-1: oklch(0.362 0.09 148.484);
--chart-2: oklch(0.242 0.098 289.217);
--chart-3: oklch(0.302 0.067 40.176);
--chart-4: oklch(0.265 0.111 288.735);
--chart-5: oklch(0.366 0.093 148.227);
}