Progressive Gangly Gremlin is a shadcn/ui theme built around a green primary color (#2ba137) with red accents (#a1372b). The light mode uses a neutral background (#fbfefb). Dark mode keeps the green primary (#2ba137) on a neutral background (#010401).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #010401black |
| Foreground | #051407black | #f5faf5whitesmoke |
| Card | #f7fcf8mintcream | #020803black |
| Card foreground | #041006black | #f8fcf9mintcream |
| Popover | #fbfefbwhite | #010401black |
| Popover foreground | #051407black | #f5faf5whitesmoke |
| Primary | #2ba137forestgreen | #2ba137forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #372ba1darkslateblue | #372ba1darkslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d8d6e5gainsboro | #1b1a29black |
| Muted foreground | #5b5b5ddimgray | #a2a2a4darkgray |
| Accent | #a1372bbrown | #a1372bbrown |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6f1c0bmaroon | #e94220orangered |
| Destructive foreground | #f8c0b5lightpink | #ffffffwhite |
| Border | #e0e5e1gainsboro | #1a1f1ablack |
| Input | #e0e5e1gainsboro | #1a1f1ablack |
| Ring | #2ba137forestgreen | #2ba137forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.60:1 | AAA |
| Text on card | 18.76:1 | AAA |
| Primary button | 3.35:1 | AA Large |
| Secondary button | 10.39:1 | AAA |
| Muted text | 4.73:1 | AA |
| Accent | 6.78:1 | AA |
| Destructive | 7.13:1 | AAA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 3.35:1 | AA Large |
| Secondary button | 10.39:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 6.78:1 | AA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Progressive Gangly Gremlin in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 148.548);
--foreground: oklch(0.173 0.035 146.576);
--muted: oklch(0.883 0.021 290.566);
--muted-foreground: oklch(0.472 0.003 290.897);
--popover: oklch(0.994 0.004 148.548);
--popover-foreground: oklch(0.173 0.035 146.576);
--card: oklch(0.987 0.008 148.502);
--card-foreground: oklch(0.157 0.03 146.954);
--border: oklch(0.918 0.008 148.494);
--input: oklch(0.918 0.008 148.494);
--primary: oklch(0.623 0.178 144.401);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.389 0.181 278.333);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.488 0.143 29.525);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.363 0.12 33.066);
--destructive-foreground: oklch(0.854 0.066 31.402);
--ring: oklch(0.623 0.178 144.401);
--chart-1: oklch(0.623 0.178 144.401);
--chart-2: oklch(0.389 0.181 278.333);
--chart-3: oklch(0.488 0.143 29.525);
--chart-4: oklch(0.408 0.191 278.172);
--chart-5: oklch(0.631 0.185 144.25);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.016 147.423);
--foreground: oklch(0.98 0.008 148.505);
--muted: oklch(0.225 0.029 288.376);
--muted-foreground: oklch(0.714 0.003 290.944);
--popover: oklch(0.097 0.016 147.423);
--popover-foreground: oklch(0.98 0.008 148.505);
--card: oklch(0.122 0.02 147.423);
--card-foreground: oklch(0.986 0.005 148.535);
--border: oklch(0.231 0.011 148.026);
--input: oklch(0.231 0.011 148.026);
--primary: oklch(0.623 0.178 144.401);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.389 0.181 278.333);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.488 0.143 29.525);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.621 0.209 33.003);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.623 0.178 144.401);
--chart-1: oklch(0.623 0.178 144.401);
--chart-2: oklch(0.389 0.181 278.333);
--chart-3: oklch(0.488 0.143 29.525);
--chart-4: oklch(0.408 0.191 278.172);
--chart-5: oklch(0.631 0.185 144.25);
}