Well-groomed for shadcn/ui

Well-groomed is a shadcn/ui theme built around a light yellow primary color (#fafaf4) with muted light yellow accents (#dbdccb). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#fafaf4) on a yellow-tinted background (#0b0c03).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0c03black
Foreground
#151703black
#ffffffwhite
Card
#fcfcfcsnow
#0f1004black
Card foreground
#111202black
#ffffffwhite
Popover
#fcfcfcsnow
#0f1004black
Popover foreground
#111202black
#ffffffwhite
Primary
#fafaf4floralwhite
#fafaf4floralwhite
Primary foreground
#3a3c1adarkslategray
#3a3c1adarkslategray
Secondary
#dbdccblightgrey
#2a2a27darkslategray
Secondary foreground
#45462fdarkslategray
#c4c4bfsilver
Muted
#e7e9ceantiquewhite
#2f3116darkslategray
Muted foreground
#6b6d50dimgray
#adaf92darkgray
Accent
#dbdccblightgrey
#2a2a27darkslategray
Accent foreground
#45462fdarkslategray
#c4c4bfsilver
Destructive
#702701maroon
#fe600borangered
Destructive foreground
#ffc3a4navajowhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fafaf4floralwhite
#fafaf4floralwhite

Contrast

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

Light mode
Text on background18.16:1AAA
Text on card18.49:1AAA
Primary button10.91:1AAA
Secondary button6.98:1AA
Muted text4.30:1AA Large
Accent6.98:1AA
Destructive6.86:1AA
Dark mode
Text on background19.64:1AAA
Text on card19.14:1AAA
Primary button10.91:1AAA
Secondary button8.18:1AAA
Muted text5.90:1AA
Accent8.18:1AAA
Destructive6.89:1AA

CSS variables

Paste this into your globals.css to use Well-groomed in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.195 0.037 112.57);
  --muted: oklch(0.925 0.036 110.192);
  --muted-foreground: oklch(0.523 0.042 110.943);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.176 0.032 112.296);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.176 0.032 112.296);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.984 0.008 109.627);
  --primary-foreground: oklch(0.346 0.052 112.216);
  --secondary: oklch(0.89 0.023 109.962);
  --secondary-foreground: oklch(0.387 0.037 111.223);
  --accent: oklch(0.89 0.023 109.962);
  --accent-foreground: oklch(0.387 0.037 111.223);
  --destructive: oklch(0.377 0.112 42.827);
  --destructive-foreground: oklch(0.864 0.08 49.566);
  --ring: oklch(0.984 0.008 109.627);
  --chart-1: oklch(0.984 0.008 109.627);
  --chart-2: oklch(0.89 0.023 109.962);
  --chart-3: oklch(0.89 0.023 109.962);
  --chart-4: oklch(0.909 0.019 109.867);
  --chart-5: oklch(0.985 0.008 109.638);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.021 111.355);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.305 0.044 112.074);
  --muted-foreground: oklch(0.744 0.039 110.445);
  --popover: oklch(0.168 0.024 111.745);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.168 0.024 111.745);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.984 0.008 109.627);
  --primary-foreground: oklch(0.346 0.052 112.216);
  --secondary: oklch(0.285 0.006 109.857);
  --secondary-foreground: oklch(0.819 0.007 109.632);
  --accent: oklch(0.285 0.006 109.857);
  --accent-foreground: oklch(0.819 0.007 109.632);
  --destructive: oklch(0.687 0.207 41.311);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.984 0.008 109.627);
  --chart-1: oklch(0.984 0.008 109.627);
  --chart-2: oklch(0.285 0.006 109.857);
  --chart-3: oklch(0.285 0.006 109.857);
  --chart-4: oklch(0.317 0.007 109.872);
  --chart-5: oklch(0.985 0.008 109.638);
}