Helpless is a shadcn/ui theme built around a deep green primary color (#07270b) with deep red accents (#270b07). The light mode uses a neutral background (#f7fdf8). Dark mode keeps the deep green primary (#07270b) on a green-tinted background (#060e07).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf8mintcream | #060e07black |
| Foreground | #020803black | #fcfdfcwhite |
| Card | #f3fcf4honeydew | #081209black |
| Card foreground | #010401black | #ffffffwhite |
| Popover | #f7fdf8mintcream | #060e07black |
| Popover foreground | #020803black | #fcfdfcwhite |
| Primary | #07270bblack | #07270bblack |
| Primary foreground | #24d63climegreen | #24d63climegreen |
| Secondary | #0b0727black | #0b0727black |
| Secondary foreground | #d4cff7lavender | #d4cff7lavender |
| Muted | #ecebf5lavender | #0c0a14black |
| Muted foreground | #616161dimgray | #9e9e9edarkgray |
| Accent | #270b07black | #270b07black |
| Accent foreground | #e88778lightcoral | #e88778lightcoral |
| Destructive | #a72e02firebrick | #ed4102orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #07270bblack | #07270bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.58:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 8.23:1 | AAA |
| Secondary button | 13.11:1 | AAA |
| Muted text | 5.22:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 8.23:1 | AAA |
| Secondary button | 13.11:1 | AAA |
| Muted text | 7.32:1 | AAA |
| Accent | 7.17:1 | AAA |
| Destructive | 3.91:1 | AA Large |
Paste this into your globals.css to use Helpless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.009 149.567);
--foreground: oklch(0.123 0.025 148.353);
--muted: oklch(0.943 0.014 292.272);
--muted-foreground: oklch(0.492 0 180);
--popover: oklch(0.988 0.009 149.567);
--popover-foreground: oklch(0.123 0.025 148.353);
--card: oklch(0.982 0.014 149.506);
--card-foreground: oklch(0.098 0.02 148.353);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.242 0.063 145.666);
--primary-foreground: oklch(0.763 0.235 144.196);
--secondary: oklch(0.16 0.064 282.876);
--secondary-foreground: oklch(0.872 0.055 291.331);
--accent: oklch(0.196 0.049 31.498);
--accent-foreground: oklch(0.724 0.122 29.65);
--destructive: oklch(0.484 0.164 36.306);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.242 0.063 145.666);
--chart-1: oklch(0.242 0.063 145.666);
--chart-2: oklch(0.16 0.064 282.876);
--chart-3: oklch(0.196 0.049 31.498);
--chart-4: oklch(0.184 0.081 280.991);
--chart-5: oklch(0.244 0.065 145.587);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.021 148.549);
--foreground: oklch(0.993 0.003 149.65);
--muted: oklch(0.153 0.021 289.727);
--muted-foreground: oklch(0.7 0 180);
--popover: oklch(0.153 0.021 148.549);
--popover-foreground: oklch(0.993 0.003 149.65);
--card: oklch(0.168 0.024 148.056);
--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.242 0.063 145.666);
--primary-foreground: oklch(0.763 0.235 144.196);
--secondary: oklch(0.16 0.064 282.876);
--secondary-foreground: oklch(0.872 0.055 291.331);
--accent: oklch(0.196 0.049 31.498);
--accent-foreground: oklch(0.724 0.122 29.65);
--destructive: oklch(0.627 0.216 35.549);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.242 0.063 145.666);
--chart-1: oklch(0.242 0.063 145.666);
--chart-2: oklch(0.16 0.064 282.876);
--chart-3: oklch(0.196 0.049 31.498);
--chart-4: oklch(0.184 0.081 280.991);
--chart-5: oklch(0.244 0.065 145.587);
}