Productive is a shadcn/ui theme built around a green primary color (#bddf4e) with indigo accents (#704edf). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#bddf4e) on a green-tinted background (#090a05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #090a05black |
| Foreground | #121703black | #fdfdfcwhite |
| Card | #ffffffwhite | #090a05black |
| Card foreground | #121703black | #fdfdfcwhite |
| Popover | #ffffffwhite | #090a05black |
| Popover foreground | #121703black | #fdfdfcwhite |
| Primary | #bddf4egreenyellow | #bddf4egreenyellow |
| Primary foreground | #000000black | #000000black |
| Secondary | #704edfslateblue | #704edfslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d7d3e3gainsboro | #201c2cblack |
| Muted foreground | #54525bdimgray | #a6a4addarkgray |
| Accent | #704edfslateblue | #704edfslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #911e0ddarkred | #d82d13firebrick |
| Destructive foreground | #fbdad5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bddf4egreenyellow | #bddf4egreenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.26:1 | AAA |
| Text on card | 18.26:1 | AAA |
| Primary button | 13.78:1 | AAA |
| Secondary button | 5.45:1 | AA |
| Muted text | 5.25:1 | AA |
| Accent | 5.45:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 13.78:1 | AAA |
| Secondary button | 5.45:1 | AA |
| Muted text | 6.77:1 | AA |
| Accent | 5.45:1 | AA |
| Destructive | 4.88:1 | AA |
Paste this into your globals.css to use Productive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.193 0.039 120.173);
--muted: oklch(0.876 0.022 296.632);
--muted-foreground: oklch(0.445 0.014 296.502);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.193 0.039 120.173);
--card: oklch(1 0 180);
--card-foreground: oklch(0.193 0.039 120.173);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.851 0.172 121.421);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.543 0.208 288.153);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.543 0.208 288.153);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.431 0.153 31.603);
--destructive-foreground: oklch(0.915 0.038 28.2);
--ring: oklch(0.851 0.172 121.421);
--chart-1: oklch(0.851 0.172 121.421);
--chart-2: oklch(0.543 0.208 288.153);
--chart-3: oklch(0.543 0.208 288.153);
--chart-4: oklch(0.574 0.194 289.592);
--chart-5: oklch(0.859 0.177 121.578);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.014 117.32);
--foreground: oklch(0.994 0.002 117.114);
--muted: oklch(0.238 0.03 294.71);
--muted-foreground: oklch(0.723 0.013 296.766);
--popover: oklch(0.143 0.014 117.32);
--popover-foreground: oklch(0.994 0.002 117.114);
--card: oklch(0.143 0.014 117.32);
--card-foreground: oklch(0.994 0.002 117.114);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.851 0.172 121.421);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.543 0.208 288.153);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.543 0.208 288.153);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.573 0.209 31.503);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.851 0.172 121.421);
--chart-1: oklch(0.851 0.172 121.421);
--chart-2: oklch(0.543 0.208 288.153);
--chart-3: oklch(0.543 0.208 288.153);
--chart-4: oklch(0.574 0.194 289.592);
--chart-5: oklch(0.859 0.177 121.578);
}