Shoe for shadcn/ui

Shoe is a shadcn/ui theme built around a deep green primary color (#305223) with deep violet accents (#452352). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the deep green primary (#305223) on a green-tinted background (#080e06).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#080e06black
Foreground
#000000black
#f9fcf8mintcream
Card
#fcfdfcwhite
#080e06black
Card foreground
#000000black
#f9fcf8mintcream
Popover
#fcfdfcwhite
#080e06black
Popover foreground
#000000black
#f9fcf8mintcream
Primary
#305223darkslategray
#305223darkslategray
Primary foreground
#cce5c2lightgrey
#cce5c2lightgrey
Secondary
#452352darkslategray
#452352darkslategray
Secondary foreground
#dbc2e5thistle
#dbc2e5thistle
Muted
#ecdff1lavender
#1b0e20black
Muted foreground
#5d5161dimgray
#a99eaedarkgray
Accent
#452352darkslategray
#452352darkslategray
Accent foreground
#dbc2e5thistle
#dbc2e5thistle
Destructive
#651e06maroon
#f25d2ctomato
Destructive foreground
#f9b9a4lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#305223darkslategray
#305223darkslategray

Contrast

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

Light mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button6.58:1AA
Secondary button7.95:1AAA
Muted text5.82:1AA
Accent7.95:1AAA
Destructive7.19:1AAA
Dark mode
Text on background18.83:1AAA
Text on card18.83:1AAA
Primary button6.58:1AA
Secondary button7.95:1AAA
Muted text7.24:1AAA
Accent7.95:1AAA
Destructive6.37:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 136.617);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.919 0.028 316.521);
  --muted-foreground: oklch(0.453 0.03 316.419);
  --popover: oklch(0.994 0.003 136.617);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 136.617);
  --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.401 0.083 137.584);
  --primary-foreground: oklch(0.894 0.054 136.798);
  --secondary: oklch(0.324 0.089 315.581);
  --secondary-foreground: oklch(0.847 0.054 316.421);
  --accent: oklch(0.324 0.089 315.581);
  --accent-foreground: oklch(0.847 0.054 316.421);
  --destructive: oklch(0.345 0.107 37.253);
  --destructive-foreground: oklch(0.84 0.08 39.219);
  --ring: oklch(0.401 0.083 137.584);
  --chart-1: oklch(0.401 0.083 137.584);
  --chart-2: oklch(0.324 0.089 315.581);
  --chart-3: oklch(0.324 0.089 315.581);
  --chart-4: oklch(0.351 0.098 315.546);
  --chart-5: oklch(0.405 0.088 137.683);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.021 135.943);
  --foreground: oklch(0.987 0.006 136.627);
  --muted: oklch(0.191 0.04 315.921);
  --muted-foreground: oklch(0.713 0.026 316.501);
  --popover: oklch(0.156 0.021 135.943);
  --popover-foreground: oklch(0.987 0.006 136.627);
  --card: oklch(0.156 0.021 135.943);
  --card-foreground: oklch(0.987 0.006 136.627);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.401 0.083 137.584);
  --primary-foreground: oklch(0.894 0.054 136.798);
  --secondary: oklch(0.324 0.089 315.581);
  --secondary-foreground: oklch(0.847 0.054 316.421);
  --accent: oklch(0.324 0.089 315.581);
  --accent-foreground: oklch(0.847 0.054 316.421);
  --destructive: oklch(0.666 0.192 37.81);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.401 0.083 137.584);
  --chart-1: oklch(0.401 0.083 137.584);
  --chart-2: oklch(0.324 0.089 315.581);
  --chart-3: oklch(0.324 0.089 315.581);
  --chart-4: oklch(0.351 0.098 315.546);
  --chart-5: oklch(0.405 0.088 137.683);
}