Plant Green Antlion is a shadcn/ui theme built around a muted yellow primary color (#737642) with muted green accents (#597642). The light mode uses a neutral background (#fefefb). Dark mode keeps the muted yellow primary (#737642) on a yellow-tinted background (#0b0c03).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #0b0c03black |
| Foreground | #131405black | #fdfdfcwhite |
| Card | #fefefbwhite | #0b0c03black |
| Card foreground | #131405black | #fdfdfcwhite |
| Popover | #fefefbwhite | #0b0c03black |
| Popover foreground | #131405black | #fdfdfcwhite |
| Primary | #737642darkolivegreen | #737642darkolivegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #765e42darkolivegreen | #765e42darkolivegreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e1dcd5gainsboro | #2a241eblack |
| Muted foreground | #646462dimgray | #9d9c9bdarkgray |
| Accent | #597642darkolivegreen | #597642darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #860e03darkred | #fa4838tomato |
| Destructive foreground | #fdc4bepink | #ffffffwhite |
| Border | #ebebealinen | #222220black |
| Input | #ebebealinen | #222220black |
| Ring | #737642darkolivegreen | #737642darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.41:1 | AAA |
| Text on card | 18.41:1 | AAA |
| Primary button | 4.79:1 | AA |
| Secondary button | 6.07:1 | AA |
| Muted text | 4.35:1 | AA Large |
| Accent | 5.15:1 | AA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 4.79:1 | AA |
| Secondary button | 6.07:1 | AA |
| Muted text | 5.58:1 | AA |
| Accent | 5.15:1 | AA |
| Destructive | 3.47:1 | AA Large |
Paste this into your globals.css to use Plant Green Antlion in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.997 0.005 108.796);
--foreground: oklch(0.186 0.028 111.219);
--muted: oklch(0.897 0.011 73.128);
--muted-foreground: oklch(0.502 0.002 73.189);
--popover: oklch(0.997 0.005 108.796);
--popover-foreground: oklch(0.186 0.028 111.219);
--card: oklch(0.997 0.005 108.796);
--card-foreground: oklch(0.186 0.028 111.219);
--border: oklch(0.94 0.001 108.731);
--input: oklch(0.94 0.001 108.731);
--primary: oklch(0.549 0.072 111.045);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.499 0.051 71.811);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.529 0.083 132.153);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.397 0.153 30.361);
--destructive-foreground: oklch(0.869 0.067 24.5);
--ring: oklch(0.549 0.072 111.045);
--chart-1: oklch(0.549 0.072 111.045);
--chart-2: oklch(0.499 0.051 71.811);
--chart-3: oklch(0.529 0.083 132.153);
--chart-4: oklch(0.528 0.055 71.789);
--chart-5: oklch(0.558 0.079 111.216);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.15 0.02 110.627);
--foreground: oklch(0.994 0.002 108.751);
--muted: oklch(0.265 0.015 72.688);
--muted-foreground: oklch(0.692 0.002 73.199);
--popover: oklch(0.15 0.02 110.627);
--popover-foreground: oklch(0.994 0.002 108.751);
--card: oklch(0.15 0.02 110.627);
--card-foreground: oklch(0.994 0.002 108.751);
--border: oklch(0.251 0.002 108.89);
--input: oklch(0.251 0.002 108.89);
--primary: oklch(0.549 0.072 111.045);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.499 0.051 71.811);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.529 0.083 132.153);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.658 0.216 29.361);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.549 0.072 111.045);
--chart-1: oklch(0.549 0.072 111.045);
--chart-2: oklch(0.499 0.051 71.811);
--chart-3: oklch(0.529 0.083 132.153);
--chart-4: oklch(0.528 0.055 71.789);
--chart-5: oklch(0.558 0.079 111.216);
}