Co-producer for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.10:1AAA
Text on card18.68:1AAA
Primary button7.65:1AAA
Secondary button3.57:1AA Large
Muted text5.69:1AA
Accent8.25:1AAA
Destructive6.90:1AA
Dark mode
Text on background19.09:1AAA
Text on card19.35:1AAA
Primary button7.65:1AAA
Secondary button3.57:1AA Large
Muted text7.17:1AAA
Accent8.25:1AAA
Destructive7.58:1AAA

CSS variables

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);
}