Eyebrows for shadcn/ui

Eyebrows is a shadcn/ui theme built around a muted purple primary color (#5c4d59) with muted green accents (#4d5c50). The light mode uses a neutral background (#fcf7fb). Dark mode keeps the muted purple primary (#5c4d59) on a neutral background (#080207).

Color palette

TokenLightDark
Background
#fcf7fbsnow
#080207black
Foreground
#080207black
#faf9fasnow
Card
#fbf4faghostwhite
#0c030ablack
Card foreground
#040103black
#fdfcfdwhite
Popover
#fcf7fbsnow
#080207black
Popover foreground
#080207black
#faf9fasnow
Primary
#5c4d59dimgray
#5c4d59dimgray
Primary foreground
#efeceewhitesmoke
#efeceewhitesmoke
Secondary
#4d5c50darkslategray
#4d5c50darkslategray
Secondary foreground
#ecefecwhitesmoke
#ecefecwhitesmoke
Muted
#e2e4e2gainsboro
#1b1d1bblack
Muted foreground
#3a4a3edarkslategray
#b5c5b8silver
Accent
#4d5c50darkslategray
#4d5c50darkslategray
Accent foreground
#ecefecwhitesmoke
#ecefecwhitesmoke
Destructive
#e22103red
#fb2e0eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5c4d59dimgray
#5c4d59dimgray

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.17:1AAA
Primary button6.76:1AA
Secondary button6.14:1AA
Muted text7.38:1AAA
Accent6.14:1AA
Destructive4.71:1AA
Dark mode
Text on background19.54:1AAA
Text on card19.82:1AAA
Primary button6.76:1AA
Secondary button6.14:1AA
Muted text9.37:1AAA
Accent6.14:1AA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.007 332.116);
  --foreground: oklch(0.108 0.021 332.85);
  --muted: oklch(0.917 0.004 151.936);
  --muted-foreground: oklch(0.392 0.029 150.818);
  --popover: oklch(0.982 0.007 332.116);
  --popover-foreground: oklch(0.108 0.021 332.85);
  --card: oklch(0.974 0.011 332.173);
  --card-foreground: oklch(0.086 0.017 332.85);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.438 0.028 332.913);
  --primary-foreground: oklch(0.945 0.005 332.082);
  --secondary: oklch(0.457 0.027 151.081);
  --secondary-foreground: oklch(0.948 0.005 151.929);
  --accent: oklch(0.457 0.027 151.081);
  --accent-foreground: oklch(0.948 0.005 151.929);
  --destructive: oklch(0.584 0.225 31.024);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.438 0.028 332.913);
  --chart-1: oklch(0.438 0.028 332.913);
  --chart-2: oklch(0.457 0.027 151.081);
  --chart-3: oklch(0.457 0.027 151.081);
  --chart-4: oklch(0.485 0.029 151.07);
  --chart-5: oklch(0.436 0.037 333.209);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.023 332.901);
  --foreground: oklch(0.984 0.002 332.029);
  --muted: oklch(0.229 0.006 151.607);
  --muted-foreground: oklch(0.807 0.025 151.536);
  --popover: oklch(0.108 0.023 332.901);
  --popover-foreground: oklch(0.984 0.002 332.029);
  --card: oklch(0.124 0.026 333.204);
  --card-foreground: oklch(0.992 0.001 332.017);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.438 0.028 332.913);
  --primary-foreground: oklch(0.945 0.005 332.082);
  --secondary: oklch(0.457 0.027 151.081);
  --secondary-foreground: oklch(0.948 0.005 151.929);
  --accent: oklch(0.457 0.027 151.081);
  --accent-foreground: oklch(0.948 0.005 151.929);
  --destructive: oklch(0.637 0.24 31.248);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.438 0.028 332.913);
  --chart-1: oklch(0.438 0.028 332.913);
  --chart-2: oklch(0.457 0.027 151.081);
  --chart-3: oklch(0.457 0.027 151.081);
  --chart-4: oklch(0.485 0.029 151.07);
  --chart-5: oklch(0.436 0.037 333.209);
}