Fixed Sumptuous Sage for shadcn/ui

Fixed Sumptuous Sage is a shadcn/ui theme built around a muted green primary color (#b3b792) with vivid light green accents (#a1f7be). The light mode uses an orange-tinted background (#e5d2b8). Dark mode switches to a vivid light pink primary (#f7a1da) on a pink-tinted background (#0a0509).

Color palette

TokenLightDark
Background
#e5d2b8wheat
#0a0509black
Foreground
#000000black
#fdfcfdwhite
Card
#809671gray
#0a0509black
Card foreground
#ffffffwhite
#fdfcfdwhite
Popover
#fdfcfdwhite
#0a0509black
Popover foreground
#090106black
#fdfcfdwhite
Primary
#b3b792darkgray
#f7a1daplum
Primary foreground
#5e0841indigo
#5e0841indigo
Secondary
#e5e0d8gainsboro
#a1f7bepalegreen
Secondary foreground
#085e25darkgreen
#085e25darkgreen
Muted
#d1e6d8gainsboro
#192e20black
Muted foreground
#4f6456dimgray
#9bb0a2darkgray
Accent
#a1f7bepalegreen
#a1f7bepalegreen
Accent foreground
#085e25darkgreen
#085e25darkgreen
Destructive
#641e02maroon
#e14305orangered
Destructive foreground
#fdb79bburlywood
#ffffffwhite
Border
#e4e2e3gainsboro
#1a191ablack
Input
#e4e2e3gainsboro
#1a191ablack
Ring
#b3b792darkgray
#f7a1daplum

Contrast

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

Light mode
Text on background14.24:1AAA
Text on card3.22:1AA Large
Primary button6.36:1AA
Secondary button6.05:1AA
Muted text4.86:1AA
Accent6.27:1AA
Destructive7.19:1AAA
Dark mode
Text on background19.76:1AAA
Text on card19.76:1AAA
Primary button6.97:1AA
Secondary button6.27:1AA
Muted text6.25:1AA
Accent6.27:1AA
Destructive4.19:1AA Large

CSS variables

Paste this into your globals.css to use Fixed Sumptuous Sage in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.873 0.041 75.764);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.905 0.03 156.579);
  --muted-foreground: oklch(0.481 0.034 155.711);
  --popover: oklch(0.992 0.002 337.309);
  --popover-foreground: oklch(0.104 0.031 337.824);
  --card: oklch(0.646 0.059 132.911);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.915 0.002 337.317);
  --input: oklch(0.915 0.002 337.317);
  --primary: oklch(0.767 0.051 112.618);
  --primary-foreground: oklch(0.326 0.128 346.401);
  --secondary: oklch(0.908 0.012 79.777);
  --secondary-foreground: oklch(0.421 0.117 148.212);
  --accent: oklch(0.906 0.115 154.319);
  --accent-foreground: oklch(0.421 0.117 148.212);
  --destructive: oklch(0.343 0.107 39.05);
  --destructive-foreground: oklch(0.838 0.09 42.477);
  --ring: oklch(0.767 0.051 112.618);
  --chart-1: oklch(0.767 0.051 112.618);
  --chart-2: oklch(0.906 0.115 154.319);
  --chart-3: oklch(0.906 0.115 154.319);
  --chart-4: oklch(0.919 0.098 154.845);
  --chart-5: oklch(0.767 0.051 112.618);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.016 337.539);
  --foreground: oklch(0.992 0.001 337.288);
  --muted: oklch(0.28 0.038 154.039);
  --muted-foreground: oklch(0.738 0.031 156.374);
  --popover: oklch(0.126 0.016 337.539);
  --popover-foreground: oklch(0.992 0.001 337.288);
  --card: oklch(0.126 0.016 337.539);
  --card-foreground: oklch(0.992 0.001 337.288);
  --border: oklch(0.214 0.003 337.553);
  --input: oklch(0.214 0.003 337.553);
  --primary: oklch(0.811 0.124 340.117);
  --primary-foreground: oklch(0.326 0.128 346.401);
  --secondary: oklch(0.906 0.115 154.319);
  --secondary-foreground: oklch(0.421 0.117 148.212);
  --accent: oklch(0.906 0.115 154.319);
  --accent-foreground: oklch(0.421 0.117 148.212);
  --destructive: oklch(0.608 0.203 36.704);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.811 0.124 340.117);
  --chart-1: oklch(0.811 0.124 340.117);
  --chart-2: oklch(0.906 0.115 154.319);
  --chart-3: oklch(0.906 0.115 154.319);
  --chart-4: oklch(0.919 0.098 154.845);
  --chart-5: oklch(0.811 0.128 340.215);
}