Shoe for shadcn/ui

Shoe is a shadcn/ui theme built around a deep green primary color (#29390e) with deep green accents (#13390e). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#29390e) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#ffffffwhite
#030401black
Foreground
#000000black
#fdfdfcwhite
Card
#ffffffwhite
#030401black
Card foreground
#000000black
#fdfdfcwhite
Popover
#ffffffwhite
#030401black
Popover foreground
#000000black
#fdfdfcwhite
Primary
#29390edarkgreen
#29390edarkgreen
Primary foreground
#9ad043yellowgreen
#9ad043yellowgreen
Secondary
#39340edarkolivegreen
#39340edarkolivegreen
Secondary foreground
#d0c043darkkhaki
#d0c043darkkhaki
Muted
#e9e9e7linen
#181816black
Muted foreground
#464539darkslategray
#c6c4b9silver
Accent
#13390edarkgreen
#13390edarkgreen
Accent foreground
#54d043limegreen
#54d043limegreen
Destructive
#c12d0bfirebrick
#f35430tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#29390edarkgreen
#29390edarkgreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.80:1AA
Secondary button6.74:1AA
Muted text7.96:1AAA
Accent6.45:1AA
Destructive5.77:1AA
Dark mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button6.80:1AA
Secondary button6.74:1AA
Muted text10.15:1AAA
Accent6.45:1AA
Destructive3.43:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.934 0.003 100.384);
  --muted-foreground: oklch(0.387 0.019 101.014);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.32 0.069 127.772);
  --primary-foreground: oklch(0.793 0.177 128.075);
  --secondary: oklch(0.322 0.055 101.77);
  --secondary-foreground: oklch(0.798 0.142 101.699);
  --accent: oklch(0.307 0.082 141.403);
  --accent-foreground: oklch(0.76 0.211 141.418);
  --destructive: oklch(0.531 0.189 33.07);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.32 0.069 127.772);
  --chart-1: oklch(0.32 0.069 127.772);
  --chart-2: oklch(0.322 0.055 101.77);
  --chart-3: oklch(0.307 0.082 141.403);
  --chart-4: oklch(0.365 0.064 101.724);
  --chart-5: oklch(0.323 0.071 127.969);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.012 123.143);
  --foreground: oklch(0.994 0.002 123.668);
  --muted: oklch(0.208 0.005 100.669);
  --muted-foreground: oklch(0.819 0.016 100.616);
  --popover: oklch(0.099 0.012 123.143);
  --popover-foreground: oklch(0.994 0.002 123.668);
  --card: oklch(0.099 0.012 123.143);
  --card-foreground: oklch(0.994 0.002 123.668);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.32 0.069 127.772);
  --primary-foreground: oklch(0.793 0.177 128.075);
  --secondary: oklch(0.322 0.055 101.77);
  --secondary-foreground: oklch(0.798 0.142 101.699);
  --accent: oklch(0.307 0.082 141.403);
  --accent-foreground: oklch(0.76 0.211 141.418);
  --destructive: oklch(0.657 0.202 34.046);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.32 0.069 127.772);
  --chart-1: oklch(0.32 0.069 127.772);
  --chart-2: oklch(0.322 0.055 101.77);
  --chart-3: oklch(0.307 0.082 141.403);
  --chart-4: oklch(0.365 0.064 101.724);
  --chart-5: oklch(0.323 0.071 127.969);
}