Well-groomed for shadcn/ui

Well-groomed is a shadcn/ui theme built around a deep orange primary color (#1f1105) with deep violet accents (#11051f). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the deep orange primary (#1f1105) on a neutral background (#080502).

Color palette

TokenLightDark
Background
#fcfaf8snow
#080502black
Foreground
#110a03black
#fdfcfcsnow
Card
#fbf7f4whitesmoke
#0c0704black
Card foreground
#0d0703black
#ffffffwhite
Popover
#fbf7f4whitesmoke
#0c0704black
Popover foreground
#0d0703black
#ffffffwhite
Primary
#1f1105black
#1f1105black
Primary foreground
#e9a56dsandybrown
#e9a56dsandybrown
Secondary
#051f11black
#051f11black
Secondary foreground
#1fd16fmediumseagreen
#1fd16fmediumseagreen
Muted
#dbebe2gainsboro
#14241bblack
Muted foreground
#434745darkslategray
#b8bcbasilver
Accent
#11051fblack
#11051fblack
Accent foreground
#dbc5f6thistle
#dbc5f6thistle
Destructive
#6d2803maroon
#e55406orangered
Destructive foreground
#fdc4a5navajowhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1f1105black
#1f1105black

Contrast

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

Light mode
Text on background18.83:1AAA
Text on card18.78:1AAA
Primary button8.84:1AAA
Secondary button8.59:1AAA
Muted text7.61:1AAA
Accent12.53:1AAA
Destructive6.94:1AA
Dark mode
Text on background19.86:1AAA
Text on card20.03:1AAA
Primary button8.84:1AAA
Secondary button8.59:1AAA
Muted text8.45:1AAA
Accent12.53:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.004 62.145);
  --foreground: oklch(0.15 0.02 67.681);
  --muted: oklch(0.925 0.02 162.087);
  --muted-foreground: oklch(0.393 0.007 162.197);
  --popover: oklch(0.978 0.005 62.12);
  --popover-foreground: oklch(0.135 0.018 71.156);
  --card: oklch(0.978 0.005 62.12);
  --card-foreground: oklch(0.135 0.018 71.156);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.192 0.033 60.738);
  --primary-foreground: oklch(0.775 0.109 59.509);
  --secondary: oklch(0.214 0.044 156.32);
  --secondary-foreground: oklch(0.755 0.192 152.038);
  --accent: oklch(0.153 0.056 301.879);
  --accent-foreground: oklch(0.859 0.071 305.371);
  --destructive: oklch(0.375 0.108 43.177);
  --destructive-foreground: oklch(0.864 0.077 49.611);
  --ring: oklch(0.192 0.033 60.738);
  --chart-1: oklch(0.192 0.033 60.738);
  --chart-2: oklch(0.214 0.044 156.32);
  --chart-3: oklch(0.153 0.056 301.879);
  --chart-4: oklch(0.262 0.057 154.837);
  --chart-5: oklch(0.193 0.035 60.892);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.012 70.156);
  --foreground: oklch(0.993 0.001 62.182);
  --muted: oklch(0.242 0.026 159.564);
  --muted-foreground: oklch(0.792 0.006 162.444);
  --popover: oklch(0.135 0.014 69.672);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.135 0.014 69.672);
  --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.192 0.033 60.738);
  --primary-foreground: oklch(0.775 0.109 59.509);
  --secondary: oklch(0.214 0.044 156.32);
  --secondary-foreground: oklch(0.755 0.192 152.038);
  --accent: oklch(0.153 0.056 301.879);
  --accent-foreground: oklch(0.859 0.071 305.371);
  --destructive: oklch(0.633 0.193 40.873);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.192 0.033 60.738);
  --chart-1: oklch(0.192 0.033 60.738);
  --chart-2: oklch(0.214 0.044 156.32);
  --chart-3: oklch(0.153 0.056 301.879);
  --chart-4: oklch(0.262 0.057 154.837);
  --chart-5: oklch(0.193 0.035 60.892);
}