Garage for shadcn/ui

Garage is a shadcn/ui theme built around a muted light green primary color (#eef2ed) with muted light green accents (#edf2ef). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#eef2ed) on a green-tinted background (#050b05).

Color palette

TokenLightDark
Background
#ffffffwhite
#050b05black
Foreground
#010401black
#f9faf9snow
Card
#fcfcfcsnow
#070e06black
Card foreground
#000000black
#fcfdfcwhite
Popover
#ffffffwhite
#050b05black
Popover foreground
#010401black
#f9faf9snow
Primary
#eef2edwhitesmoke
#eef2edwhitesmoke
Primary foreground
#1f2a1eblack
#1f2a1eblack
Secondary
#f0f2edwhitesmoke
#f0f2edwhitesmoke
Secondary foreground
#252a1edarkslategray
#252a1edarkslategray
Muted
#e9efe1beige
#181e10black
Muted foreground
#606954dimgray
#a2ab96darkgray
Accent
#edf2efwhitesmoke
#edf2efwhitesmoke
Accent foreground
#1e2a23darkslategray
#1e2a23darkslategray
Destructive
#c62115firebrick
#eb493dtomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eef2edwhitesmoke
#eef2edwhitesmoke

Contrast

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

Light mode
Text on background20.60:1AAA
Text on card20.54:1AAA
Primary button13.19:1AAA
Secondary button13.06:1AAA
Muted text4.90:1AA
Accent13.17:1AAA
Destructive5.77:1AA
Dark mode
Text on background19.02:1AAA
Text on card19.15:1AAA
Primary button13.19:1AAA
Secondary button13.06:1AAA
Muted text7.15:1AAA
Accent13.17:1AAA
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.097 0.019 141.389);
  --muted: oklch(0.944 0.019 125.329);
  --muted-foreground: oklch(0.506 0.034 125.99);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.097 0.019 141.389);
  --card: oklch(0.992 0 161.565);
  --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.957 0.009 143.093);
  --primary-foreground: oklch(0.269 0.027 142.657);
  --secondary: oklch(0.959 0.007 125.15);
  --secondary-foreground: oklch(0.275 0.023 126.238);
  --accent: oklch(0.957 0.007 160.845);
  --accent-foreground: oklch(0.27 0.021 159.001);
  --destructive: oklch(0.533 0.201 29.605);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.957 0.009 143.093);
  --chart-1: oklch(0.957 0.009 143.093);
  --chart-2: oklch(0.959 0.007 125.15);
  --chart-3: oklch(0.957 0.007 160.845);
  --chart-4: oklch(0.98 0.004 125.096);
  --chart-5: oklch(0.957 0.01 143.086);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.018 141.949);
  --foreground: oklch(0.985 0.002 143.127);
  --muted: oklch(0.224 0.027 126.832);
  --muted-foreground: oklch(0.729 0.031 125.64);
  --popover: oklch(0.138 0.018 141.949);
  --popover-foreground: oklch(0.985 0.002 143.127);
  --card: oklch(0.153 0.021 142.055);
  --card-foreground: oklch(0.993 0.001 143.13);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.957 0.009 143.093);
  --primary-foreground: oklch(0.269 0.027 142.657);
  --secondary: oklch(0.959 0.007 125.15);
  --secondary-foreground: oklch(0.275 0.023 126.238);
  --accent: oklch(0.957 0.007 160.845);
  --accent-foreground: oklch(0.27 0.021 159.001);
  --destructive: oklch(0.633 0.2 28.266);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.957 0.009 143.093);
  --chart-1: oklch(0.957 0.009 143.093);
  --chart-2: oklch(0.959 0.007 125.15);
  --chart-3: oklch(0.957 0.007 160.845);
  --chart-4: oklch(0.98 0.004 125.096);
  --chart-5: oklch(0.957 0.01 143.086);
}