Blond for shadcn/ui

Blond is a shadcn/ui theme built around a light orange primary color (#f9f1e6) with muted light orange accents (#d7cbbc). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the light orange primary (#f9f1e6) on a neutral background (#080602).

Color palette

TokenLightDark
Background
#fdfaf7snow
#080602black
Foreground
#0c0803black
#f9f8f6whitesmoke
Card
#fdfaf7snow
#080602black
Card foreground
#0c0803black
#f9f8f6whitesmoke
Popover
#fdfaf7snow
#080602black
Popover foreground
#0c0803black
#f9f8f6whitesmoke
Primary
#f9f1e6linen
#f9f1e6linen
Primary foreground
#3b270dblack
#3b270dblack
Secondary
#e0dad1gainsboro
#262421black
Secondary foreground
#4d4133darkolivegreen
#c1bdb8silver
Muted
#f6f0ealinen
#151009black
Muted foreground
#716556dimgray
#a99d8erosybrown
Accent
#d7cbbclightgrey
#3c362fdarkslategray
Accent foreground
#3d3224darkslategray
#d4cfc9lightgrey
Destructive
#a24007saddlebrown
#f5600aorangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f9f1e6linen
#f9f1e6linen

Contrast

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

Light mode
Text on background19.23:1AAA
Text on card19.23:1AAA
Primary button12.66:1AAA
Secondary button7.12:1AAA
Muted text5.03:1AA
Accent7.85:1AAA
Destructive6.45:1AA
Dark mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button12.66:1AAA
Secondary button8.27:1AAA
Muted text7.11:1AAA
Accent7.67:1AAA
Destructive6.56:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 74.922);
  --foreground: oklch(0.138 0.015 81.544);
  --muted: oklch(0.959 0.01 74.887);
  --muted-foreground: oklch(0.515 0.029 74.481);
  --popover: oklch(0.987 0.005 74.922);
  --popover-foreground: oklch(0.138 0.015 81.544);
  --card: oklch(0.987 0.005 74.922);
  --card-foreground: oklch(0.138 0.015 81.544);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.962 0.017 74.837);
  --primary-foreground: oklch(0.29 0.049 70.878);
  --secondary: oklch(0.891 0.014 74.855);
  --secondary-foreground: oklch(0.384 0.028 74.244);
  --accent: oklch(0.849 0.025 74.743);
  --accent-foreground: oklch(0.325 0.028 73.985);
  --destructive: oklch(0.497 0.143 43.401);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.962 0.017 74.837);
  --chart-1: oklch(0.962 0.017 74.837);
  --chart-2: oklch(0.891 0.014 74.855);
  --chart-3: oklch(0.849 0.025 74.743);
  --chart-4: oklch(0.913 0.011 74.879);
  --chart-5: oklch(0.962 0.018 74.831);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.014 82.725);
  --foreground: oklch(0.978 0.003 74.936);
  --muted: oklch(0.177 0.015 74.034);
  --muted-foreground: oklch(0.703 0.027 74.673);
  --popover: oklch(0.121 0.014 82.725);
  --popover-foreground: oklch(0.978 0.003 74.936);
  --card: oklch(0.121 0.014 82.725);
  --card-foreground: oklch(0.978 0.003 74.936);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.962 0.017 74.837);
  --primary-foreground: oklch(0.29 0.049 70.878);
  --secondary: oklch(0.262 0.006 74.797);
  --secondary-foreground: oklch(0.801 0.009 74.887);
  --accent: oklch(0.338 0.015 74.616);
  --accent-foreground: oklch(0.858 0.011 74.877);
  --destructive: oklch(0.673 0.198 42.468);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.962 0.017 74.837);
  --chart-1: oklch(0.962 0.017 74.837);
  --chart-2: oklch(0.262 0.006 74.797);
  --chart-3: oklch(0.338 0.015 74.616);
  --chart-4: oklch(0.294 0.007 74.787);
  --chart-5: oklch(0.962 0.018 74.831);
}