Developers Theme - Green Coffee is a shadcn/ui theme built around a muted green primary color (#72a15e) with deep red accents (#491818). The light mode uses a red-tinted background (#0f0505). Dark mode keeps the muted green primary (#72a15e) on a red-tinted background (#0f0505).
| Token | Light | Dark |
|---|---|---|
| Background | #0f0505black | #0f0505black |
| Foreground | #caa5a5tan | #caa5a5tan |
| Card | #080303black | #080303black |
| Card foreground | #d4b5b5silver | #d4b5b5silver |
| Popover | #040101black | #040101black |
| Popover foreground | #ddc5c5thistle | #ddc5c5thistle |
| Primary | #72a15egray | #72a15egray |
| Primary foreground | #000000black | #000000black |
| Secondary | #3c4a36darkslategray | #3c4a36darkslategray |
| Secondary foreground | #d6dfd3gainsboro | #d6dfd3gainsboro |
| Muted | #2b2222darkslategray | #2b2222darkslategray |
| Muted foreground | #b09b9brosybrown | #b09b9brosybrown |
| Accent | #491818maroon | #491818maroon |
| Accent foreground | #e4afaflightpink | #e4afaflightpink |
| Destructive | #eb1f14red | #eb1f14red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #200e0eblack | #200e0eblack |
| Input | #2b1212black | #2b1212black |
| Ring | #72a15egray | #72a15egray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 9.02:1 | AAA |
| Text on card | 10.83:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 6.91:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 4.44:1 | AA Large |
| Text on background | 9.02:1 | AAA |
| Text on card | 10.83:1 | AAA |
| Primary button | 6.95:1 | AA |
| Secondary button | 6.91:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 4.44:1 | AA Large |
Paste this into your globals.css to use Developers Theme - Green Coffee in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.134 0.021 20.211);
--foreground: oklch(0.755 0.044 18.167);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.083 0.012 20.039);
--popover-foreground: oklch(0.844 0.027 17.699);
--card: oklch(0.105 0.016 20.039);
--card-foreground: oklch(0.8 0.035 17.912);
--border: oklch(0.19 0.032 20.427);
--input: oklch(0.22 0.041 20.878);
--primary: oklch(0.658 0.106 136.781);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.39 0.038 136.419);
--secondary-foreground: oklch(0.893 0.019 136.099);
--accent: oklch(0.286 0.074 23);
--accent-foreground: oklch(0.802 0.063 18.551);
--destructive: oklch(0.599 0.233 29.365);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.658 0.106 136.781);
--chart-1: oklch(0.658 0.106 136.781);
--chart-2: oklch(0.39 0.038 136.419);
--chart-3: oklch(0.286 0.074 23);
--chart-4: oklch(0.421 0.042 136.427);
--chart-5: oklch(0.666 0.117 136.887);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.021 20.211);
--foreground: oklch(0.755 0.044 18.167);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.083 0.012 20.039);
--popover-foreground: oklch(0.844 0.027 17.699);
--card: oklch(0.105 0.016 20.039);
--card-foreground: oklch(0.8 0.035 17.912);
--border: oklch(0.19 0.032 20.427);
--input: oklch(0.22 0.041 20.878);
--primary: oklch(0.658 0.106 136.781);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.39 0.038 136.419);
--secondary-foreground: oklch(0.893 0.019 136.099);
--accent: oklch(0.286 0.074 23);
--accent-foreground: oklch(0.802 0.063 18.551);
--destructive: oklch(0.599 0.233 29.365);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.658 0.106 136.781);
--chart-1: oklch(0.658 0.106 136.781);
--chart-2: oklch(0.39 0.038 136.419);
--chart-3: oklch(0.286 0.074 23);
--chart-4: oklch(0.421 0.042 136.427);
--chart-5: oklch(0.666 0.117 136.887);
}