Product for shadcn/ui

Product is a shadcn/ui theme built around a muted light cyan primary color (#b6cfd2) with muted light cyan accents (#d5e0e2). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light cyan primary (#b6cfd2) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#ffffffwhite
#030707black
Foreground
#020708black
#f6f8f8whitesmoke
Card
#ffffffwhite
#030707black
Card foreground
#020708black
#f6f8f8whitesmoke
Popover
#ffffffwhite
#030707black
Popover foreground
#020708black
#f6f8f8whitesmoke
Primary
#b6cfd2lightsteelblue
#b6cfd2lightsteelblue
Primary foreground
#213336darkslategray
#213336darkslategray
Secondary
#d5e0e2gainsboro
#28292adarkslategray
Secondary foreground
#364b4edarkslategray
#c1c3c3silver
Muted
#d5e1e2gainsboro
#1d292adarkslategray
Muted foreground
#4f5d5fdimgray
#a0aeb0darkgray
Accent
#d5e0e2gainsboro
#28292adarkslategray
Accent foreground
#364b4edarkslategray
#c1c3c3silver
Destructive
#7c110emaroon
#e6201acrimson
Destructive foreground
#f8c5c3pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b6cfd2lightsteelblue
#b6cfd2lightsteelblue

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button8.08:1AAA
Secondary button6.86:1AA
Muted text5.10:1AA
Accent6.86:1AA
Destructive7.07:1AAA
Dark mode
Text on background19.02:1AAA
Text on card19.02:1AAA
Primary button8.08:1AAA
Secondary button8.20:1AAA
Muted text6.54:1AA
Accent8.20:1AAA
Destructive4.59:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.123 0.013 203.48);
  --muted: oklch(0.9 0.013 206.359);
  --muted-foreground: oklch(0.466 0.017 206.276);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.123 0.013 203.48);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.123 0.013 203.48);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.837 0.027 206.288);
  --primary-foreground: oklch(0.308 0.024 206.309);
  --secondary: oklch(0.899 0.012 206.363);
  --secondary-foreground: oklch(0.398 0.027 206.269);
  --accent: oklch(0.899 0.012 206.363);
  --accent-foreground: oklch(0.398 0.027 206.269);
  --destructive: oklch(0.378 0.141 28.446);
  --destructive-foreground: oklch(0.868 0.059 20.649);
  --ring: oklch(0.837 0.027 206.288);
  --chart-1: oklch(0.837 0.027 206.288);
  --chart-2: oklch(0.899 0.012 206.363);
  --chart-3: oklch(0.899 0.012 206.363);
  --chart-4: oklch(0.921 0.01 206.38);
  --chart-5: oklch(0.84 0.03 206.278);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.009 204.334);
  --foreground: oklch(0.978 0.002 206.428);
  --muted: oklch(0.27 0.017 206.26);
  --muted-foreground: oklch(0.741 0.016 206.329);
  --popover: oklch(0.12 0.009 204.334);
  --popover-foreground: oklch(0.978 0.002 206.428);
  --card: oklch(0.12 0.009 204.334);
  --card-foreground: oklch(0.978 0.002 206.428);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.837 0.027 206.288);
  --primary-foreground: oklch(0.308 0.024 206.309);
  --secondary: oklch(0.281 0.002 206.396);
  --secondary-foreground: oklch(0.815 0.002 206.422);
  --accent: oklch(0.281 0.002 206.396);
  --accent-foreground: oklch(0.815 0.002 206.422);
  --destructive: oklch(0.59 0.227 28.866);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.837 0.027 206.288);
  --chart-1: oklch(0.837 0.027 206.288);
  --chart-2: oklch(0.281 0.002 206.396);
  --chart-3: oklch(0.281 0.002 206.396);
  --chart-4: oklch(0.312 0.002 206.394);
  --chart-5: oklch(0.84 0.03 206.278);
}