Spreadsheet Green Badger is a shadcn/ui theme built around a vivid deep green primary color (#067a0f) with vivid deep purple accents (#7a0670). The light mode uses a neutral background (#f7fdf8). Dark mode keeps the vivid deep green primary (#067a0f) on a green-tinted background (#040b05).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf8mintcream | #040b05black |
| Foreground | #041005black | #ffffffwhite |
| Card | #f7fdf8mintcream | #040b05black |
| Card foreground | #041005black | #ffffffwhite |
| Popover | #f7fdf8mintcream | #040b05black |
| Popover foreground | #041005black | #ffffffwhite |
| Primary | #067a0fgreen | #067a0fgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7a0670purple | #7a0670purple |
| Secondary foreground | #fcb6f6pink | #fcb6f6pink |
| Muted | #e7d5e6gainsboro | #2a1829black |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #7a0670purple | #7a0670purple |
| Accent foreground | #fcb6f6pink | #fcb6f6pink |
| Destructive | #d0530bchocolate | #e45b0cchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e6eae6gainsboro | #1c211cblack |
| Input | #e6eae6gainsboro | #1c211cblack |
| Ring | #067a0fgreen | #067a0fgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 5.54:1 | AA |
| Secondary button | 6.31:1 | AA |
| Muted text | 7.41:1 | AAA |
| Accent | 6.31:1 | AA |
| Destructive | 4.24:1 | AA Large |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 5.54:1 | AA |
| Secondary button | 6.31:1 | AA |
| Muted text | 9.05:1 | AAA |
| Accent | 6.31:1 | AA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Spreadsheet Green Badger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.008 147.975);
--foreground: oklch(0.158 0.032 146.294);
--muted: oklch(0.892 0.03 328.415);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(0.987 0.008 147.975);
--popover-foreground: oklch(0.158 0.032 146.294);
--card: oklch(0.987 0.008 147.975);
--card-foreground: oklch(0.158 0.032 146.294);
--border: oklch(0.933 0.007 147.989);
--input: oklch(0.933 0.007 147.989);
--primary: oklch(0.503 0.165 143.164);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.402 0.177 332.607);
--secondary-foreground: oklch(0.86 0.114 329.367);
--accent: oklch(0.402 0.177 332.607);
--accent-foreground: oklch(0.86 0.114 329.367);
--destructive: oklch(0.6 0.173 43.152);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.503 0.165 143.164);
--chart-1: oklch(0.503 0.165 143.164);
--chart-2: oklch(0.402 0.177 332.607);
--chart-3: oklch(0.402 0.177 332.607);
--chart-4: oklch(0.436 0.192 332.656);
--chart-5: oklch(0.508 0.168 143.115);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.023 146.881);
--foreground: oklch(1 0 180);
--muted: oklch(0.241 0.042 329.732);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.139 0.023 146.881);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.023 146.881);
--card-foreground: oklch(1 0 180);
--border: oklch(0.242 0.012 147.508);
--input: oklch(0.242 0.012 147.508);
--primary: oklch(0.503 0.165 143.164);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.402 0.177 332.607);
--secondary-foreground: oklch(0.86 0.114 329.367);
--accent: oklch(0.402 0.177 332.607);
--accent-foreground: oklch(0.86 0.114 329.367);
--destructive: oklch(0.64 0.186 42.981);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.503 0.165 143.164);
--chart-1: oklch(0.503 0.165 143.164);
--chart-2: oklch(0.402 0.177 332.607);
--chart-3: oklch(0.402 0.177 332.607);
--chart-4: oklch(0.436 0.192 332.656);
--chart-5: oklch(0.508 0.168 143.115);
}