COFAIR Cucumber is a shadcn/ui theme built around a vivid deep green primary color (#106506) with muted light green accents (#c1dabe). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#106506) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020402black |
| Foreground | #081306black | #fcfdfcwhite |
| Card | #ffffffwhite | #020402black |
| Card foreground | #081306black | #fcfdfcwhite |
| Popover | #ffffffwhite | #020402black |
| Popover foreground | #081306black | #fcfdfcwhite |
| Primary | #106506darkgreen | #106506darkgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d6e2d4gainsboro | #212c20darkslategray |
| Secondary foreground | #385035darkslategray | #b7c9b5silver |
| Muted | #d4ebd1gainsboro | #172e14black |
| Muted foreground | #475346darkslategray | #adb9acdarkgray |
| Accent | #c1dabesilver | #314c2fdarkslategray |
| Accent foreground | #284125darkslategray | #cee0cclightgrey |
| Destructive | #9d3607saddlebrown | #f66928tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e6eae6gainsboro | #232a22darkslategray |
| Input | #e6eae6gainsboro | #232a22darkslategray |
| Ring | #106506darkgreen | #106506darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 6.64:1 | AA |
| Muted text | 6.38:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 7.09:1 | AAA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 7.16:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 6.96:1 | AA |
Paste this into your globals.css to use COFAIR Cucumber in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.172 0.031 141.463);
--muted: oklch(0.915 0.043 142.437);
--muted-foreground: oklch(0.428 0.027 142.365);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.172 0.031 141.463);
--card: oklch(1 0 180);
--card-foreground: oklch(0.172 0.031 141.463);
--border: oklch(0.934 0.008 142.594);
--input: oklch(0.934 0.008 142.594);
--primary: oklch(0.441 0.143 141.861);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.9 0.024 142.52);
--secondary-foreground: oklch(0.402 0.053 142.091);
--accent: oklch(0.862 0.048 142.401);
--accent-foreground: oklch(0.347 0.058 141.951);
--destructive: oklch(0.476 0.146 39.924);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.441 0.143 141.861);
--chart-1: oklch(0.441 0.143 141.861);
--chart-2: oklch(0.9 0.024 142.52);
--chart-3: oklch(0.862 0.048 142.401);
--chart-4: oklch(0.922 0.018 142.546);
--chart-5: oklch(0.445 0.146 141.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.013 141.401);
--foreground: oklch(0.993 0.001 142.621);
--muted: oklch(0.274 0.054 141.839);
--muted-foreground: oklch(0.773 0.024 142.502);
--popover: oklch(0.096 0.013 141.401);
--popover-foreground: oklch(0.993 0.001 142.621);
--card: oklch(0.096 0.013 141.401);
--card-foreground: oklch(0.993 0.001 142.621);
--border: oklch(0.276 0.017 142.375);
--input: oklch(0.276 0.017 142.375);
--primary: oklch(0.441 0.143 141.861);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.28 0.027 142.233);
--secondary-foreground: oklch(0.818 0.035 142.454);
--accent: oklch(0.386 0.058 142.011);
--accent-foreground: oklch(0.888 0.032 142.478);
--destructive: oklch(0.687 0.188 42.05);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.441 0.143 141.861);
--chart-1: oklch(0.441 0.143 141.861);
--chart-2: oklch(0.28 0.027 142.233);
--chart-3: oklch(0.386 0.058 142.011);
--chart-4: oklch(0.313 0.031 142.216);
--chart-5: oklch(0.445 0.146 141.866);
}