Conspirator is a shadcn/ui theme built around a vivid deep green primary color (#0d6330) with vivid deep teal accents (#0d635a). The light mode uses a neutral background (#f7fcf9). Dark mode keeps the vivid deep green primary (#0d6330) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcf9mintcream | #010402black |
| Foreground | #020805black | #fcfdfcwhite |
| Card | #f7fcf9mintcream | #010402black |
| Card foreground | #020805black | #fcfdfcwhite |
| Popover | #f7fcf9mintcream | #010402black |
| Popover foreground | #020805black | #fcfdfcwhite |
| Primary | #0d6330forestgreen | #0d6330forestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #16630ddarkgreen | #16630ddarkgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d7ecd5gainsboro | #162a13black |
| Muted foreground | #5b6959dimgray | #98a696darkseagreen |
| Accent | #0d635adarkslategray | #0d635adarkslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a83f0bsaddlebrown | #eb580forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d6330forestgreen | #0d6330forestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 4.66:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 7.40:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Conspirator in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 160.077);
--foreground: oklch(0.123 0.016 160.122);
--muted: oklch(0.921 0.037 142.462);
--muted-foreground: oklch(0.503 0.03 142.386);
--popover: oklch(0.988 0.007 160.077);
--popover-foreground: oklch(0.123 0.016 160.122);
--card: oklch(0.988 0.007 160.077);
--card-foreground: oklch(0.123 0.016 160.122);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.439 0.112 150.909);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.437 0.136 141.773);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.45 0.076 184.29);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.507 0.149 41.472);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.439 0.112 150.909);
--chart-1: oklch(0.439 0.112 150.909);
--chart-2: oklch(0.437 0.136 141.773);
--chart-3: oklch(0.45 0.076 184.29);
--chart-4: oklch(0.477 0.15 141.79);
--chart-5: oklch(0.443 0.115 150.6);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.011 160.142);
--foreground: oklch(0.993 0.001 160.216);
--muted: oklch(0.26 0.049 141.878);
--muted-foreground: oklch(0.709 0.027 142.47);
--popover: oklch(0.096 0.011 160.142);
--popover-foreground: oklch(0.993 0.001 160.216);
--card: oklch(0.096 0.011 160.142);
--card-foreground: oklch(0.993 0.001 160.216);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.439 0.112 150.909);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.437 0.136 141.773);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.45 0.076 184.29);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.648 0.195 40.872);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.439 0.112 150.909);
--chart-1: oklch(0.439 0.112 150.909);
--chart-2: oklch(0.437 0.136 141.773);
--chart-3: oklch(0.45 0.076 184.29);
--chart-4: oklch(0.477 0.15 141.79);
--chart-5: oklch(0.443 0.115 150.6);
}