Spring Forth Harrier is a shadcn/ui theme built around a vivid green primary color (#15c12c) with vivid red accents (#c12c15). The light mode uses a neutral background (#f7fcf8). Dark mode keeps the vivid green primary (#15c12c) on a green-tinted background (#050a06).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcf8mintcream | #050a06black |
| Foreground | #020d03black | #f5faf6whitesmoke |
| Card | #f7fcf8mintcream | #050a06black |
| Card foreground | #020d03black | #f5faf6whitesmoke |
| Popover | #f7fcf8mintcream | #050a06black |
| Popover foreground | #020d03black | #f5faf6whitesmoke |
| Primary | #15c12climegreen | #15c12climegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #2c15c1mediumblue | #2c15c1mediumblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ecebf5lavender | #0c0a14black |
| Muted foreground | #4c495adarkslategray | #a7a5b6darkgray |
| Accent | #c12c15firebrick | #c12c15firebrick |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #67270amaroon | #e95916chocolate |
| Destructive foreground | #f7c3ablightpink | #ffffffwhite |
| Border | #e8ede9linen | #191f1ablack |
| Input | #e8ede9linen | #191f1ablack |
| Ring | #15c12climegreen | #15c12climegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 2.41:1 | Fail |
| Secondary button | 10.57:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 5.77:1 | AA |
| Destructive | 7.14:1 | AAA |
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 2.41:1 | Fail |
| Secondary button | 10.57:1 | AAA |
| Muted text | 8.12:1 | AAA |
| Accent | 5.77:1 | AA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Spring Forth Harrier in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.008 149.587);
--foreground: oklch(0.144 0.033 148.013);
--muted: oklch(0.943 0.013 292.28);
--muted-foreground: oklch(0.415 0.027 291.288);
--popover: oklch(0.987 0.008 149.587);
--popover-foreground: oklch(0.144 0.033 148.013);
--card: oklch(0.987 0.008 149.587);
--card-foreground: oklch(0.144 0.033 148.013);
--border: oklch(0.941 0.008 149.583);
--input: oklch(0.941 0.008 149.583);
--primary: oklch(0.705 0.224 143.835);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.394 0.236 272.847);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.531 0.188 31.615);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.362 0.1 41.961);
--destructive-foreground: oklch(0.858 0.068 46.111);
--ring: oklch(0.705 0.224 143.835);
--chart-1: oklch(0.705 0.224 143.835);
--chart-2: oklch(0.394 0.236 272.847);
--chart-3: oklch(0.531 0.188 31.615);
--chart-4: oklch(0.414 0.249 272.656);
--chart-5: oklch(0.713 0.229 143.708);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.016 148.957);
--foreground: oklch(0.98 0.008 149.588);
--muted: oklch(0.154 0.021 289.833);
--muted-foreground: oklch(0.73 0.023 291.933);
--popover: oklch(0.137 0.016 148.957);
--popover-foreground: oklch(0.98 0.008 149.588);
--card: oklch(0.137 0.016 148.957);
--card-foreground: oklch(0.98 0.008 149.588);
--border: oklch(0.232 0.015 148.859);
--input: oklch(0.232 0.015 148.859);
--primary: oklch(0.705 0.224 143.835);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.394 0.236 272.847);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.531 0.188 31.615);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.646 0.192 40.55);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.705 0.224 143.835);
--chart-1: oklch(0.705 0.224 143.835);
--chart-2: oklch(0.394 0.236 272.847);
--chart-3: oklch(0.531 0.188 31.615);
--chart-4: oklch(0.414 0.249 272.656);
--chart-5: oklch(0.713 0.229 143.708);
}