Proud for shadcn/ui

Proud is a shadcn/ui theme built around a muted teal primary color (#43706b) with muted red accents (#704347). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the muted teal primary (#43706b) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#050a0ablack
Foreground
#030c0bblack
#fcfdfdwhite
Card
#f8fcfbmintcream
#050a0ablack
Card foreground
#030c0bblack
#fcfdfdwhite
Popover
#f8fcfbmintcream
#050a0ablack
Popover foreground
#030c0bblack
#fcfdfdwhite
Primary
#43706bdimgray
#43706bdimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#704347dimgray
#704347dimgray
Secondary foreground
#f5eff0whitesmoke
#f5eff0whitesmoke
Muted
#eadcdegainsboro
#231517black
Muted foreground
#695456dimgray
#ab9698rosybrown
Accent
#704347dimgray
#704347dimgray
Accent foreground
#f5eff0whitesmoke
#f5eff0whitesmoke
Destructive
#5c190amaroon
#e6431eorangered
Destructive foreground
#f5b2a3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#43706bdimgray
#43706bdimgray

Contrast

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

Light mode
Text on background19.09:1AAA
Text on card19.09:1AAA
Primary button5.60:1AA
Secondary button7.17:1AAA
Muted text5.26:1AA
Accent7.17:1AAA
Destructive7.37:1AAA
Dark mode
Text on background19.52:1AAA
Text on card19.52:1AAA
Primary button5.60:1AA
Secondary button7.17:1AAA
Muted text6.32:1AA
Accent7.17:1AAA
Destructive4.05:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.003 189.997);
  --foreground: oklch(0.144 0.017 188.703);
  --muted: oklch(0.906 0.015 10.451);
  --muted-foreground: oklch(0.468 0.028 11.433);
  --popover: oklch(0.987 0.003 189.997);
  --popover-foreground: oklch(0.144 0.017 188.703);
  --card: oklch(0.987 0.003 189.997);
  --card-foreground: oklch(0.144 0.017 188.703);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.51 0.05 187.64);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.436 0.062 13.468);
  --secondary-foreground: oklch(0.957 0.007 10.242);
  --accent: oklch(0.436 0.062 13.468);
  --accent-foreground: oklch(0.957 0.007 10.242);
  --destructive: oklch(0.322 0.1 33.999);
  --destructive-foreground: oklch(0.822 0.081 33.024);
  --ring: oklch(0.51 0.05 187.64);
  --chart-1: oklch(0.51 0.05 187.64);
  --chart-2: oklch(0.436 0.062 13.468);
  --chart-3: oklch(0.436 0.062 13.468);
  --chart-4: oklch(0.462 0.066 13.511);
  --chart-5: oklch(0.516 0.055 187.388);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.01 189.556);
  --foreground: oklch(0.993 0.001 190.056);
  --muted: oklch(0.215 0.022 12.47);
  --muted-foreground: oklch(0.693 0.025 10.893);
  --popover: oklch(0.139 0.01 189.556);
  --popover-foreground: oklch(0.993 0.001 190.056);
  --card: oklch(0.139 0.01 189.556);
  --card-foreground: oklch(0.993 0.001 190.056);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.51 0.05 187.64);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.436 0.062 13.468);
  --secondary-foreground: oklch(0.957 0.007 10.242);
  --accent: oklch(0.436 0.062 13.468);
  --accent-foreground: oklch(0.957 0.007 10.242);
  --destructive: oklch(0.617 0.205 33.7);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.51 0.05 187.64);
  --chart-1: oklch(0.51 0.05 187.64);
  --chart-2: oklch(0.436 0.062 13.468);
  --chart-3: oklch(0.436 0.062 13.468);
  --chart-4: oklch(0.462 0.066 13.511);
  --chart-5: oklch(0.516 0.055 187.388);
}