Co-producer is a shadcn/ui theme built around a vivid indigo primary color (#4818f7) with vivid green accents (#18f748). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the vivid indigo primary (#4818f7) on an indigo-tinted background (#08070e).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f7fdghostwhite | #08070eblack |
| Foreground | #070410black | #f9f9fbghostwhite |
| Card | #f5f3fbwhitesmoke | #0a0811black |
| Card foreground | #05030cblack | #fcfcfdwhite |
| Popover | #f5f3fbwhitesmoke | #0a0811black |
| Popover foreground | #05030cblack | #fcfcfdwhite |
| Primary | #4818f7blueviolet | #4818f7blueviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #f74818orangered | #f74818orangered |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eadfdcgainsboro | #231815black |
| Muted foreground | #5d5351dimgray | #aea5a2darkgray |
| Accent | #18f748limegreen | #18f748limegreen |
| Accent foreground | #024010darkgreen | #024010darkgreen |
| Destructive | #702601maroon | #fe712atomato |
| Destructive foreground | #ffc2a4navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4818f7blueviolet | #4818f7blueviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.10:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 3.57:1 | AA Large |
| Muted text | 5.69:1 | AA |
| Accent | 8.25:1 | AAA |
| Destructive | 6.90:1 | AA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 3.57:1 | AA Large |
| Muted text | 7.17:1 | AAA |
| Accent | 8.25:1 | AAA |
| Destructive | 7.58:1 | AAA |
Paste this into your globals.css to use Co-producer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 296.198);
--foreground: oklch(0.124 0.029 294.376);
--muted: oklch(0.911 0.013 35.97);
--muted-foreground: oklch(0.452 0.013 35.947);
--popover: oklch(0.969 0.011 296.129);
--popover-foreground: oklch(0.112 0.025 295.361);
--card: oklch(0.969 0.011 296.129);
--card-foreground: oklch(0.112 0.025 295.361);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.478 0.284 276.467);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.65 0.218 34.819);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.849 0.264 144.825);
--accent-foreground: oklch(0.324 0.097 145.82);
--destructive: oklch(0.375 0.113 41.654);
--destructive-foreground: oklch(0.861 0.081 47.759);
--ring: oklch(0.478 0.284 276.467);
--chart-1: oklch(0.478 0.284 276.467);
--chart-2: oklch(0.65 0.218 34.819);
--chart-3: oklch(0.849 0.264 144.825);
--chart-4: oklch(0.663 0.207 35.549);
--chart-5: oklch(0.479 0.29 275.637);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.016 295.303);
--foreground: oklch(0.983 0.002 296.29);
--muted: oklch(0.222 0.019 36.008);
--muted-foreground: oklch(0.729 0.012 35.966);
--popover: oklch(0.144 0.019 294.162);
--popover-foreground: oklch(0.992 0.001 296.31);
--card: oklch(0.144 0.019 294.162);
--card-foreground: oklch(0.992 0.001 296.31);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.478 0.284 276.467);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.65 0.218 34.819);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.849 0.264 144.825);
--accent-foreground: oklch(0.324 0.097 145.82);
--destructive: oklch(0.71 0.19 43.38);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.478 0.284 276.467);
--chart-1: oklch(0.478 0.284 276.467);
--chart-2: oklch(0.65 0.218 34.819);
--chart-3: oklch(0.849 0.264 144.825);
--chart-4: oklch(0.663 0.207 35.549);
--chart-5: oklch(0.479 0.29 275.637);
}