Blond for shadcn/ui

Blond is a shadcn/ui theme built around a vivid yellow primary color (#faf25c) with vivid purple accents (#f25cfa). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the vivid yellow primary (#faf25c) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#fcfcf8snow
#030302black
Foreground
#151405black
#f8f8f6whitesmoke
Card
#fcfcf8snow
#030302black
Card foreground
#151405black
#f8f8f6whitesmoke
Popover
#fcfcf8snow
#030302black
Popover foreground
#151405black
#f8f8f6whitesmoke
Primary
#faf25ckhaki
#faf25ckhaki
Primary foreground
#232101black
#232101black
Secondary
#5cfaf2aquamarine
#5cfaf2aquamarine
Secondary foreground
#012321black
#012321black
Muted
#e2eeeelavender
#111d1dblack
Muted foreground
#586564dimgray
#9aa7a7darkgray
Accent
#f25cfaviolet
#f25cfaviolet
Accent foreground
#210123black
#210123black
Destructive
#5d2109maroon
#e04e15chocolate
Destructive foreground
#f6baa2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#faf25ckhaki
#faf25ckhaki

Contrast

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

Light mode
Text on background17.96:1AAA
Text on card17.96:1AAA
Primary button13.89:1AAA
Secondary button12.98:1AAA
Muted text5.12:1AA
Accent7.02:1AAA
Destructive7.39:1AAA
Dark mode
Text on background19.36:1AAA
Text on card19.36:1AAA
Primary button13.89:1AAA
Secondary button12.98:1AAA
Muted text6.93:1AA
Accent7.02:1AAA
Destructive3.97:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.005 104.058);
  --foreground: oklch(0.188 0.029 106.359);
  --muted: oklch(0.941 0.014 193.32);
  --muted-foreground: oklch(0.495 0.016 192.962);
  --popover: oklch(0.989 0.005 104.058);
  --popover-foreground: oklch(0.188 0.029 106.359);
  --card: oklch(0.989 0.005 104.058);
  --card-foreground: oklch(0.188 0.029 106.359);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.941 0.167 106.301);
  --primary-foreground: oklch(0.242 0.05 106.727);
  --secondary: oklch(0.901 0.131 190.353);
  --secondary-foreground: oklch(0.23 0.039 190.01);
  --accent: oklch(0.727 0.254 325.732);
  --accent-foreground: oklch(0.177 0.078 326.178);
  --destructive: oklch(0.335 0.095 39.794);
  --destructive-foreground: oklch(0.837 0.078 42.546);
  --ring: oklch(0.941 0.167 106.301);
  --chart-1: oklch(0.941 0.167 106.301);
  --chart-2: oklch(0.901 0.131 190.353);
  --chart-3: oklch(0.727 0.254 325.732);
  --chart-4: oklch(0.906 0.124 190.648);
  --chart-5: oklch(0.947 0.171 106.313);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.009 105.84);
  --foreground: oklch(0.98 0.003 104.019);
  --muted: oklch(0.22 0.018 191.967);
  --muted-foreground: oklch(0.719 0.015 193.197);
  --popover: oklch(0.099 0.009 105.84);
  --popover-foreground: oklch(0.98 0.003 104.019);
  --card: oklch(0.099 0.009 105.84);
  --card-foreground: oklch(0.98 0.003 104.019);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.941 0.167 106.301);
  --primary-foreground: oklch(0.242 0.05 106.727);
  --secondary: oklch(0.901 0.131 190.353);
  --secondary-foreground: oklch(0.23 0.039 190.01);
  --accent: oklch(0.727 0.254 325.732);
  --accent-foreground: oklch(0.177 0.078 326.178);
  --destructive: oklch(0.619 0.191 38.451);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.941 0.167 106.301);
  --chart-1: oklch(0.941 0.167 106.301);
  --chart-2: oklch(0.901 0.131 190.353);
  --chart-3: oklch(0.727 0.254 325.732);
  --chart-4: oklch(0.906 0.124 190.648);
  --chart-5: oklch(0.947 0.171 106.313);
}