Productivity is a shadcn/ui theme built around a yellow primary color (#c5a663) with violet accents (#a663c5). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#c5a663) on a yellow-tinted background (#0e0b07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0b07black |
| Foreground | #0d0a03black | #fbfaf8snow |
| Card | #fcfcfcsnow | #110e09black |
| Card foreground | #080602black | #fdfdfcwhite |
| Popover | #fcfcfcsnow | #110e09black |
| Popover foreground | #080602black | #fdfdfcwhite |
| Primary | #c5a663darkkhaki | #c5a663darkkhaki |
| Primary foreground | #000000black | #000000black |
| Secondary | #63c5a6mediumaquamarine | #63c5a6mediumaquamarine |
| Secondary foreground | #000000black | #000000black |
| Muted | #f0f4f3whitesmoke | #0b0f0eblack |
| Muted foreground | #4d5653darkslategray | #a9b2afdarkgray |
| Accent | #a663c5mediumorchid | #a663c5mediumorchid |
| Accent foreground | #000000black | #000000black |
| Destructive | #841406maroon | #f74d36tomato |
| Destructive foreground | #fcc6bfpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5a663darkkhaki | #c5a663darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 9.00:1 | AAA |
| Secondary button | 10.07:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 5.19:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 9.00:1 | AAA |
| Secondary button | 10.07:1 | AAA |
| Muted text | 8.89:1 | AAA |
| Accent | 5.19:1 | AA |
| Destructive | 3.47:1 | AA Large |
Paste this into your globals.css to use Productivity in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.143 0.02 91.741);
--muted: oklch(0.965 0.005 175.466);
--muted-foreground: oklch(0.445 0.013 174.715);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.125 0.017 92.683);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.125 0.017 92.683);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.738 0.094 85.292);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.755 0.104 170.386);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.613 0.158 314.148);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.396 0.148 31.089);
--destructive-foreground: oklch(0.874 0.063 27.084);
--ring: oklch(0.738 0.094 85.292);
--chart-1: oklch(0.738 0.094 85.292);
--chart-2: oklch(0.755 0.104 170.386);
--chart-3: oklch(0.613 0.158 314.148);
--chart-4: oklch(0.772 0.098 170.967);
--chart-5: oklch(0.743 0.099 85.138);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.011 87.468);
--foreground: oklch(0.987 0.003 86.018);
--muted: oklch(0.163 0.008 174.197);
--muted-foreground: oklch(0.756 0.012 175.154);
--popover: oklch(0.166 0.012 86.231);
--popover-foreground: oklch(0.993 0.001 86.012);
--card: oklch(0.166 0.012 86.231);
--card-foreground: oklch(0.993 0.001 86.012);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.738 0.094 85.292);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.755 0.104 170.386);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.613 0.158 314.148);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.656 0.21 30.793);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.738 0.094 85.292);
--chart-1: oklch(0.738 0.094 85.292);
--chart-2: oklch(0.755 0.104 170.386);
--chart-3: oklch(0.613 0.158 314.148);
--chart-4: oklch(0.772 0.098 170.967);
--chart-5: oklch(0.743 0.099 85.138);
}