Eyebrow for shadcn/ui

Eyebrow is a shadcn/ui theme built around a deep green primary color (#1a652d) with deep orange accents (#652d1a). The light mode uses a neutral background (#f7fdf8). Dark mode keeps the deep green primary (#1a652d) on a green-tinted background (#051007).

Color palette

TokenLightDark
Background
#f7fdf8mintcream
#051007black
Foreground
#010903black
#f9fbf9mintcream
Card
#f3fcf5mintcream
#061409black
Card foreground
#010402black
#fcfdfcwhite
Popover
#f7fdf8mintcream
#051007black
Popover foreground
#010903black
#f9fbf9mintcream
Primary
#1a652dforestgreen
#1a652dforestgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#2d1a65midnightblue
#2d1a65midnightblue
Secondary foreground
#cdc2efthistle
#cdc2efthistle
Muted
#eae9eclavender
#141316black
Muted foreground
#454446darkslategray
#bab9bbsilver
Accent
#652d1asaddlebrown
#652d1asaddlebrown
Accent foreground
#efcdc2peachpuff
#efcdc2peachpuff
Destructive
#942e10saddlebrown
#eb663dtomato
Destructive foreground
#fbe2damistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a652dforestgreen
#1a652dforestgreen

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.67:1AAA
Primary button7.10:1AAA
Secondary button8.66:1AAA
Muted text8.01:1AAA
Accent7.28:1AAA
Destructive6.39:1AA
Dark mode
Text on background18.67:1AAA
Text on card18.57:1AAA
Primary button7.10:1AAA
Secondary button8.66:1AAA
Muted text9.47:1AAA
Accent7.28:1AAA
Destructive6.47:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.009 153.718);
  --foreground: oklch(0.125 0.025 153.033);
  --muted: oklch(0.936 0.004 297.751);
  --muted-foreground: oklch(0.388 0.002 297.718);
  --popover: oklch(0.988 0.009 153.718);
  --popover-foreground: oklch(0.125 0.025 153.033);
  --card: oklch(0.982 0.014 153.636);
  --card-foreground: oklch(0.099 0.019 153.033);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.449 0.114 147.852);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.295 0.124 287.744);
  --secondary-foreground: oklch(0.839 0.063 296.464);
  --accent: oklch(0.371 0.087 38.795);
  --accent-foreground: oklch(0.875 0.041 39.292);
  --destructive: oklch(0.452 0.142 36.233);
  --destructive-foreground: oklch(0.931 0.03 37.625);
  --ring: oklch(0.449 0.114 147.852);
  --chart-1: oklch(0.449 0.114 147.852);
  --chart-2: oklch(0.295 0.124 287.744);
  --chart-3: oklch(0.371 0.087 38.795);
  --chart-4: oklch(0.318 0.136 287.446);
  --chart-5: oklch(0.454 0.119 147.593);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.025 152.392);
  --foreground: oklch(0.986 0.003 153.827);
  --muted: oklch(0.189 0.006 297.276);
  --muted-foreground: oklch(0.788 0.002 297.781);
  --popover: oklch(0.157 0.025 152.392);
  --popover-foreground: oklch(0.986 0.003 153.827);
  --card: oklch(0.172 0.029 151.436);
  --card-foreground: oklch(0.993 0.001 153.852);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.449 0.114 147.852);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.295 0.124 287.744);
  --secondary-foreground: oklch(0.839 0.063 296.464);
  --accent: oklch(0.371 0.087 38.795);
  --accent-foreground: oklch(0.875 0.041 39.292);
  --destructive: oklch(0.668 0.174 37.358);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.449 0.114 147.852);
  --chart-1: oklch(0.449 0.114 147.852);
  --chart-2: oklch(0.295 0.124 287.744);
  --chart-3: oklch(0.371 0.087 38.795);
  --chart-4: oklch(0.318 0.136 287.446);
  --chart-5: oklch(0.454 0.119 147.593);
}