Produce for shadcn/ui

Produce is a shadcn/ui theme built around a muted teal primary color (#7ea9a6) with near-white accents (#eaebeb). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the muted teal primary (#7ea9a6) on a teal-tinted background (#040b0b).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#040b0bblack
Foreground
#000000black
#f9fbfbghostwhite
Card
#fcfdfdwhite
#040b0bblack
Card foreground
#000000black
#f9fbfbghostwhite
Popover
#fcfdfdwhite
#040b0bblack
Popover foreground
#000000black
#f9fbfbghostwhite
Primary
#7ea9a6cadetblue
#7ea9a6cadetblue
Primary foreground
#000000black
#000000black
Secondary
#eaebeblavender
#21312fdarkslategray
Secondary foreground
#505353darkslategray
#b6cdcbsilver
Muted
#eceeeewhitesmoke
#111313black
Muted foreground
#4d605fdimgray
#9fb2b0darkgray
Accent
#eaebeblavender
#21312fdarkslategray
Accent foreground
#505353darkslategray
#b6cdcbsilver
Destructive
#c62201firebrick
#e42701orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7ea9a6cadetblue
#7ea9a6cadetblue

Contrast

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

Light mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button8.14:1AAA
Secondary button6.50:1AA
Muted text5.72:1AA
Accent6.50:1AA
Destructive5.79:1AA
Dark mode
Text on background19.08:1AAA
Text on card19.08:1AAA
Primary button8.14:1AAA
Secondary button8.18:1AAA
Muted text8.41:1AAA
Accent8.18:1AAA
Destructive4.56:1AA

CSS variables

Paste this into your globals.css to use Produce in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 191.21);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.948 0.002 191.197);
  --muted-foreground: oklch(0.474 0.023 190.155);
  --popover: oklch(0.994 0.002 191.21);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.002 191.21);
  --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.704 0.046 189.764);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.939 0.001 191.229);
  --secondary-foreground: oklch(0.44 0.004 191.039);
  --accent: oklch(0.939 0.001 191.229);
  --accent-foreground: oklch(0.44 0.004 191.039);
  --destructive: oklch(0.532 0.201 31.998);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.704 0.046 189.764);
  --chart-1: oklch(0.704 0.046 189.764);
  --chart-2: oklch(0.939 0.001 191.229);
  --chart-3: oklch(0.939 0.001 191.229);
  --chart-4: oklch(0.962 0.001 191.237);
  --chart-5: oklch(0.71 0.053 189.567);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.014 190.16);
  --foreground: oklch(0.986 0.002 191.194);
  --muted: oklch(0.184 0.003 190.841);
  --muted-foreground: oklch(0.748 0.021 190.624);
  --popover: oklch(0.142 0.014 190.16);
  --popover-foreground: oklch(0.986 0.002 191.194);
  --card: oklch(0.142 0.014 190.16);
  --card-foreground: oklch(0.986 0.002 191.194);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.704 0.046 189.764);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.297 0.021 189.673);
  --secondary-foreground: oklch(0.832 0.025 190.582);
  --accent: oklch(0.297 0.021 189.673);
  --accent-foreground: oklch(0.832 0.025 190.582);
  --destructive: oklch(0.591 0.225 31.805);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.704 0.046 189.764);
  --chart-1: oklch(0.704 0.046 189.764);
  --chart-2: oklch(0.297 0.021 189.673);
  --chart-3: oklch(0.297 0.021 189.673);
  --chart-4: oklch(0.331 0.024 189.614);
  --chart-5: oklch(0.71 0.053 189.567);
}