Decision is a shadcn/ui theme built around a vivid deep green primary color (#191e01) with muted light green accents (#d7d8cf). The light mode uses a neutral background (#fdfefb). Dark mode keeps the vivid deep green primary (#191e01) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #040401black |
| Foreground | #000000black | #fbfbf9snow |
| Card | #fdfefbwhite | #040401black |
| Card foreground | #000000black | #fbfbf9snow |
| Popover | #fdfefbwhite | #040401black |
| Popover foreground | #000000black | #fbfbf9snow |
| Primary | #191e01black | #191e01black |
| Primary foreground | #c0e506greenyellow | #c0e506greenyellow |
| Secondary | #d7d8cflightgrey | #282924darkslategray |
| Secondary foreground | #3f4134darkslategray | #c2c4bbsilver |
| Muted | #e7e8degainsboro | #202117black |
| Muted foreground | #6a6c60dimgray | #9d9f93darkgray |
| Accent | #d7d8cflightgrey | #282924darkslategray |
| Accent foreground | #3f4134darkslategray | #c2c4bbsilver |
| Destructive | #b8230ffirebrick | #de2a12orangered |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #191e01black | #191e01black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.71:1 | AAA |
| Text on card | 20.71:1 | AAA |
| Primary button | 11.79:1 | AAA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 4.33:1 | AA Large |
| Accent | 7.26:1 | AAA |
| Destructive | 6.22:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 11.79:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 8.31:1 | AAA |
| Destructive | 4.73:1 | AA |
Paste this into your globals.css to use Decision in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 114.124);
--foreground: oklch(0 0 0);
--muted: oklch(0.928 0.014 114.353);
--muted-foreground: oklch(0.526 0.019 114.731);
--popover: oklch(0.995 0.003 114.124);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.995 0.003 114.124);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.222 0.05 118.105);
--primary-foreground: oklch(0.863 0.206 120.83);
--secondary: oklch(0.88 0.013 114.341);
--secondary-foreground: oklch(0.369 0.022 115.147);
--accent: oklch(0.88 0.013 114.341);
--accent-foreground: oklch(0.369 0.022 115.147);
--destructive: oklch(0.507 0.187 30.997);
--destructive-foreground: oklch(0.99 0.004 26.468);
--ring: oklch(0.222 0.05 118.105);
--chart-1: oklch(0.222 0.05 118.105);
--chart-2: oklch(0.88 0.013 114.341);
--chart-3: oklch(0.88 0.013 114.341);
--chart-4: oklch(0.901 0.011 114.286);
--chart-5: oklch(0.223 0.051 118.177);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.015 114.908);
--foreground: oklch(0.987 0.003 114.117);
--muted: oklch(0.244 0.02 115.557);
--muted-foreground: oklch(0.698 0.018 114.535);
--popover: oklch(0.103 0.015 114.908);
--popover-foreground: oklch(0.987 0.003 114.117);
--card: oklch(0.103 0.015 114.908);
--card-foreground: oklch(0.987 0.003 114.117);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.222 0.05 118.105);
--primary-foreground: oklch(0.863 0.206 120.83);
--secondary: oklch(0.278 0.01 114.712);
--secondary-foreground: oklch(0.816 0.012 114.348);
--accent: oklch(0.278 0.01 114.712);
--accent-foreground: oklch(0.816 0.012 114.348);
--destructive: oklch(0.581 0.216 30.964);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.222 0.05 118.105);
--chart-1: oklch(0.222 0.05 118.105);
--chart-2: oklch(0.278 0.01 114.712);
--chart-3: oklch(0.278 0.01 114.712);
--chart-4: oklch(0.31 0.011 114.741);
--chart-5: oklch(0.223 0.051 118.177);
}