Helmet is a shadcn/ui theme built around a green primary color (#92d8b3) with muted light green accents (#e0ebe5). The light mode uses a neutral background (#f6fdfa). Dark mode keeps the green primary (#92d8b3) on a neutral background (#020805).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfamintcream | #020805black |
| Foreground | #040c07black | #ffffffwhite |
| Card | #f2fcf7mintcream | #040c07black |
| Card foreground | #020805black | #ffffffwhite |
| Popover | #f6fdfamintcream | #020805black |
| Popover foreground | #040c07black | #ffffffwhite |
| Primary | #92d8b3lightgreen | #92d8b3lightgreen |
| Primary foreground | #0f291bblack | #0f291bblack |
| Secondary | #e0ebe5gainsboro | #161d19black |
| Secondary foreground | #3d5c4bdarkslategray | #a9bcb2darkgray |
| Muted | #d8e8e0gainsboro | #17271eblack |
| Muted foreground | #49554fdarkslategray | #aab6b0darkgray |
| Accent | #e0ebe5gainsboro | #161d19black |
| Accent foreground | #3d5c4bdarkslategray | #a9bcb2darkgray |
| Destructive | #be370efirebrick | #f16a41tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #92d8b3lightgreen | #92d8b3lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 9.36:1 | AAA |
| Secondary button | 6.05:1 | AA |
| Muted text | 6.15:1 | AA |
| Accent | 6.05:1 | AA |
| Destructive | 5.61:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 9.36:1 | AAA |
| Secondary button | 8.60:1 | AAA |
| Muted text | 7.48:1 | AAA |
| Accent | 8.60:1 | AAA |
| Destructive | 6.87:1 | AA |
Paste this into your globals.css to use Helmet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 163.223);
--foreground: oklch(0.141 0.018 163.271);
--muted: oklch(0.918 0.02 162.873);
--muted-foreground: oklch(0.438 0.019 162.279);
--popover: oklch(0.989 0.009 163.223);
--popover-foreground: oklch(0.141 0.018 163.271);
--card: oklch(0.983 0.013 163.109);
--card-foreground: oklch(0.123 0.016 163.511);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.825 0.088 160.384);
--primary-foreground: oklch(0.256 0.042 158.086);
--secondary: oklch(0.93 0.013 163.086);
--secondary-foreground: oklch(0.445 0.045 160.541);
--accent: oklch(0.93 0.013 163.086);
--accent-foreground: oklch(0.445 0.045 160.541);
--destructive: oklch(0.535 0.177 35.531);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.825 0.088 160.384);
--chart-1: oklch(0.825 0.088 160.384);
--chart-2: oklch(0.93 0.013 163.086);
--chart-3: oklch(0.93 0.013 163.086);
--chart-4: oklch(0.951 0.009 163.201);
--chart-5: oklch(0.829 0.093 160.189);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.016 163.511);
--foreground: oklch(1 0 180);
--muted: oklch(0.254 0.027 160.382);
--muted-foreground: oklch(0.765 0.017 162.874);
--popover: oklch(0.123 0.016 163.511);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.018 163.271);
--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.825 0.088 160.384);
--primary-foreground: oklch(0.256 0.042 158.086);
--secondary: oklch(0.222 0.012 162.006);
--secondary-foreground: oklch(0.778 0.026 162.559);
--accent: oklch(0.222 0.012 162.006);
--accent-foreground: oklch(0.778 0.026 162.559);
--destructive: oklch(0.684 0.175 37.405);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.825 0.088 160.384);
--chart-1: oklch(0.825 0.088 160.384);
--chart-2: oklch(0.222 0.012 162.006);
--chart-3: oklch(0.222 0.012 162.006);
--chart-4: oklch(0.256 0.015 161.877);
--chart-5: oklch(0.829 0.093 160.189);
}