Blushing for shadcn/ui

Blushing is a shadcn/ui theme built around a neutral gray primary color (#c6c3c6) with neutral gray accents (#c3c6c6). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the neutral gray primary (#c6c3c6) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcfdwhite
#000000black
Foreground
#040104black
#fbf9fbsnow
Card
#fbf8fcghostwhite
#030303black
Card foreground
#000000black
#fdfcfdwhite
Popover
#fbf8fcghostwhite
#030303black
Popover foreground
#000000black
#fdfcfdwhite
Primary
#c6c3c6silver
#c6c3c6silver
Primary foreground
#2c2a2ddarkslategray
#2c2a2ddarkslategray
Secondary
#c6c6c3silver
#c6c6c3silver
Secondary foreground
#2d2c2adarkslategray
#2d2c2adarkslategray
Muted
#f4f3e6linen
#19170bblack
Muted foreground
#4b4b49darkslategray
#b6b6b4silver
Accent
#c3c6c6silver
#c3c6c6silver
Accent foreground
#2a2d2cdarkslategray
#2a2d2cdarkslategray
Destructive
#9c3611saddlebrown
#e75a27chocolate
Destructive foreground
#fceae3linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c6c3c6silver
#c6c3c6silver

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card19.96:1AAA
Primary button8.11:1AAA
Secondary button8.13:1AAA
Muted text7.81:1AAA
Accent8.08:1AAA
Destructive6.09:1AA
Dark mode
Text on background20.04:1AAA
Text on card20.20:1AAA
Primary button8.11:1AAA
Secondary button8.13:1AAA
Muted text8.83:1AAA
Accent8.08:1AAA
Destructive3.55:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 322.638);
  --foreground: oklch(0.083 0.027 324.996);
  --muted: oklch(0.961 0.016 101.551);
  --muted-foreground: oklch(0.411 0.002 101.372);
  --popover: oklch(0.983 0.006 322.65);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.983 0.006 322.65);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.819 0.006 322.656);
  --primary-foreground: oklch(0.289 0.006 322.706);
  --secondary: oklch(0.825 0.004 101.371);
  --secondary-foreground: oklch(0.294 0.004 101.51);
  --accent: oklch(0.824 0.004 189.969);
  --accent-foreground: oklch(0.293 0.004 189.786);
  --destructive: oklch(0.476 0.143 38.21);
  --destructive-foreground: oklch(0.95 0.022 41.144);
  --ring: oklch(0.819 0.006 322.656);
  --chart-1: oklch(0.819 0.006 322.656);
  --chart-2: oklch(0.825 0.004 101.371);
  --chart-3: oklch(0.824 0.004 189.969);
  --chart-4: oklch(0.848 0.004 101.358);
  --chart-5: oklch(0.818 0.012 322.685);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.004 322.645);
  --muted: oklch(0.203 0.022 102.726);
  --muted-foreground: oklch(0.775 0.002 101.325);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.992 0.002 322.636);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.002 322.636);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.819 0.006 322.656);
  --primary-foreground: oklch(0.289 0.006 322.706);
  --secondary: oklch(0.825 0.004 101.371);
  --secondary-foreground: oklch(0.294 0.004 101.51);
  --accent: oklch(0.824 0.004 189.969);
  --accent-foreground: oklch(0.293 0.004 189.786);
  --destructive: oklch(0.646 0.185 38.753);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.819 0.006 322.656);
  --chart-1: oklch(0.819 0.006 322.656);
  --chart-2: oklch(0.825 0.004 101.371);
  --chart-3: oklch(0.824 0.004 189.969);
  --chart-4: oklch(0.848 0.004 101.358);
  --chart-5: oklch(0.818 0.012 322.685);
}