Developed Balsam for shadcn/ui

Developed Balsam is a shadcn/ui theme built around a muted green primary color (#bfc6b9) with muted pink accents (#c6b9bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#bfc6b9) on a neutral background (#030402).

Color palette

TokenLightDark
Background
#ffffffwhite
#030402black
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#050703black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#050703black
Popover foreground
#000000black
#ffffffwhite
Primary
#bfc6b9silver
#bfc6b9silver
Primary foreground
#262a22darkslategray
#262a22darkslategray
Secondary
#b9bfc6silver
#b9bfc6silver
Secondary foreground
#22262adarkslategray
#22262adarkslategray
Muted
#e7eaeflavender
#101418black
Muted foreground
#595959dimgray
#a6a6a6darkgray
Accent
#c6b9bfsilver
#c6b9bfsilver
Accent foreground
#2a2226darkslategray
#2a2226darkslategray
Destructive
#a4360esaddlebrown
#eb551echocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f2f3f1whitesmoke
#242721darkslategray
Input
#f2f3f1whitesmoke
#242721darkslategray
Ring
#bfc6b9silver
#bfc6b9silver

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button8.32:1AAA
Secondary button8.21:1AAA
Muted text5.81:1AA
Accent8.17:1AAA
Destructive6.72:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.21:1AAA
Primary button8.32:1AAA
Secondary button8.21:1AAA
Muted text7.57:1AAA
Accent8.17:1AAA
Destructive3.58:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.937 0.007 249.721);
  --muted-foreground: oklch(0.465 0 180);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.964 0.003 129.158);
  --input: oklch(0.964 0.003 129.158);
  --primary: oklch(0.817 0.019 129.374);
  --primary-foreground: oklch(0.279 0.015 129.703);
  --secondary: oklch(0.802 0.012 249.783);
  --secondary-foreground: oklch(0.267 0.009 249.954);
  --accent: oklch(0.798 0.017 346.565);
  --accent-foreground: oklch(0.264 0.013 347.307);
  --destructive: oklch(0.49 0.152 37.723);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.817 0.019 129.374);
  --chart-1: oklch(0.817 0.019 129.374);
  --chart-2: oklch(0.802 0.012 249.783);
  --chart-3: oklch(0.798 0.017 346.565);
  --chart-4: oklch(0.826 0.01 249.763);
  --chart-5: oklch(0.82 0.025 129.447);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.011 128.265);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.19 0.011 250.134);
  --muted-foreground: oklch(0.724 0 180);
  --popover: oklch(0.123 0.014 128.265);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.014 128.265);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.266 0.011 129.581);
  --input: oklch(0.266 0.011 129.581);
  --primary: oklch(0.817 0.019 129.374);
  --primary-foreground: oklch(0.279 0.015 129.703);
  --secondary: oklch(0.802 0.012 249.783);
  --secondary-foreground: oklch(0.267 0.009 249.954);
  --accent: oklch(0.798 0.017 346.565);
  --accent-foreground: oklch(0.264 0.013 347.307);
  --destructive: oklch(0.645 0.196 38.05);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.817 0.019 129.374);
  --chart-1: oklch(0.817 0.019 129.374);
  --chart-2: oklch(0.802 0.012 249.783);
  --chart-3: oklch(0.798 0.017 346.565);
  --chart-4: oklch(0.826 0.01 249.763);
  --chart-5: oklch(0.82 0.025 129.447);
}