Productive is a shadcn/ui theme built around a pink primary color (#c74d77) with muted pink accents (#cfb0bb). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the pink primary (#c74d77) on a pink-tinted background (#0c0306).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #0c0306black |
| Foreground | #000000black | #f8f7f7whitesmoke |
| Card | #fcf3f6lavenderblush | #100408black |
| Card foreground | #000000black | #faf9fasnow |
| Popover | #fdf7f9snow | #0c0306black |
| Popover foreground | #000000black | #f8f7f7whitesmoke |
| Primary | #c74d77indianred | #c74d77indianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d9c9cflightgrey | #222021black |
| Secondary foreground | #422f35darkslategray | #bcb9basilver |
| Muted | #f7eef1whitesmoke | #11080bblack |
| Muted foreground | #575253dimgray | #ada8aadarkgray |
| Accent | #cfb0bbsilver | #3a3134darkslategray |
| Accent foreground | #2f1d23black | #d2cbcdlightgrey |
| Destructive | #dc1a04red | #f01c05red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c74d77indianred | #c74d77indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 4.42:1 | AA Large |
| Secondary button | 7.82:1 | AAA |
| Muted text | 6.72:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 5.01:1 | AA |
| Text on background | 19.01:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 4.42:1 | AA Large |
| Secondary button | 8.29:1 | AAA |
| Muted text | 8.40:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 4.30:1 | AA Large |
Paste this into your globals.css to use Productive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 353.768);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.01 353.887);
--muted-foreground: oklch(0.443 0.007 354.037);
--popover: oklch(0.981 0.007 353.768);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.972 0.01 353.868);
--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.593 0.16 1.525);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.851 0.019 354.204);
--secondary-foreground: oklch(0.328 0.03 356.065);
--accent: oklch(0.787 0.038 354.925);
--accent-foreground: oklch(0.257 0.031 356.818);
--destructive: oklch(0.569 0.223 30.351);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.593 0.16 1.525);
--chart-1: oklch(0.593 0.16 1.525);
--chart-2: oklch(0.851 0.019 354.204);
--chart-3: oklch(0.787 0.038 354.925);
--chart-4: oklch(0.876 0.016 354.081);
--chart-5: oklch(0.594 0.168 2.055);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.023 353.466);
--foreground: oklch(0.976 0.002 353.626);
--muted: oklch(0.151 0.017 356.279);
--muted-foreground: oklch(0.737 0.006 353.819);
--popover: oklch(0.121 0.023 353.466);
--popover-foreground: oklch(0.976 0.002 353.626);
--card: oklch(0.134 0.026 355.031);
--card-foreground: oklch(0.984 0.001 353.608);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.593 0.16 1.525);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.247 0.002 353.826);
--secondary-foreground: oklch(0.788 0.003 353.697);
--accent: oklch(0.325 0.013 354.721);
--accent-foreground: oklch(0.848 0.009 353.89);
--destructive: oklch(0.607 0.239 30.302);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.593 0.16 1.525);
--chart-1: oklch(0.593 0.16 1.525);
--chart-2: oklch(0.247 0.002 353.826);
--chart-3: oklch(0.325 0.013 354.721);
--chart-4: oklch(0.279 0.003 353.841);
--chart-5: oklch(0.594 0.168 2.055);
}