Helo is a shadcn/ui theme built around a deep green primary color (#455214) with deep green accents (#265214). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the deep green primary (#455214) on a green-tinted background (#090b05).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #090b05black |
| Foreground | #121604black | #fdfdfbsnow |
| Card | #fbfcf8snow | #090b05black |
| Card foreground | #121604black | #fdfdfbsnow |
| Popover | #fbfcf8snow | #090b05black |
| Popover foreground | #121604black | #fdfdfbsnow |
| Primary | #455214darkolivegreen | #455214darkolivegreen |
| Primary foreground | #deebadpalegoldenrod | #deebadpalegoldenrod |
| Secondary | #524014darkolivegreen | #524014darkolivegreen |
| Secondary foreground | #ebd9adwheat | #ebd9adwheat |
| Muted | #e6e0d0gainsboro | #2f2819black |
| Muted foreground | #4f493bdarkolivegreen | #c4bfb0silver |
| Accent | #265214darkgreen | #265214darkgreen |
| Accent foreground | #bfebadsilver | #bfebadsilver |
| Destructive | #be4913chocolate | #d55215chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #455214darkolivegreen | #455214darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.78:1 | AAA |
| Text on card | 17.78:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 6.79:1 | AA |
| Accent | 6.82:1 | AA |
| Destructive | 5.04:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 7.91:1 | AAA |
| Accent | 6.82:1 | AA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Helo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 116.411);
--foreground: oklch(0.19 0.036 119.287);
--muted: oklch(0.908 0.022 88.93);
--muted-foreground: oklch(0.408 0.025 89.015);
--popover: oklch(0.988 0.004 116.411);
--popover-foreground: oklch(0.19 0.036 119.287);
--card: oklch(0.988 0.004 116.411);
--card-foreground: oklch(0.19 0.036 119.287);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.414 0.086 120.953);
--primary-foreground: oklch(0.915 0.082 117.985);
--secondary: oklch(0.383 0.065 86.918);
--secondary-foreground: oklch(0.89 0.061 89.008);
--accent: oklch(0.393 0.104 138.29);
--accent-foreground: oklch(0.893 0.095 136.973);
--destructive: oklch(0.558 0.162 40.985);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.414 0.086 120.953);
--chart-1: oklch(0.414 0.086 120.953);
--chart-2: oklch(0.383 0.065 86.918);
--chart-3: oklch(0.393 0.104 138.29);
--chart-4: oklch(0.42 0.073 86.753);
--chart-5: oklch(0.418 0.089 121.138);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.016 116.736);
--foreground: oklch(0.994 0.003 116.378);
--muted: oklch(0.281 0.028 88.852);
--muted-foreground: oklch(0.804 0.021 88.939);
--popover: oklch(0.144 0.016 116.736);
--popover-foreground: oklch(0.994 0.003 116.378);
--card: oklch(0.144 0.016 116.736);
--card-foreground: oklch(0.994 0.003 116.378);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.414 0.086 120.953);
--primary-foreground: oklch(0.915 0.082 117.985);
--secondary: oklch(0.383 0.065 86.918);
--secondary-foreground: oklch(0.89 0.061 89.008);
--accent: oklch(0.393 0.104 138.29);
--accent-foreground: oklch(0.893 0.095 136.973);
--destructive: oklch(0.606 0.178 40.821);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.414 0.086 120.953);
--chart-1: oklch(0.414 0.086 120.953);
--chart-2: oklch(0.383 0.065 86.918);
--chart-3: oklch(0.393 0.104 138.29);
--chart-4: oklch(0.42 0.073 86.753);
--chart-5: oklch(0.418 0.089 121.138);
}