Long Shoe Wax for shadcn/ui

Long Shoe Wax is a shadcn/ui theme built around a neutral gray primary color (#2c2b2b) with neutral gray accents (#2b2b2c). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the neutral gray primary (#2c2b2b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfaf7snow
#000000black
Foreground
#110a04black
#f8f7f7whitesmoke
Card
#fdfaf7snow
#000000black
Card foreground
#110a04black
#f8f7f7whitesmoke
Popover
#fdfaf7snow
#000000black
Popover foreground
#110a04black
#f8f7f7whitesmoke
Primary
#2c2b2bdarkslategray
#2c2b2bdarkslategray
Primary foreground
#c5c4c4silver
#c5c4c4silver
Secondary
#2b2b2cdarkslategray
#2b2b2cdarkslategray
Secondary foreground
#c4c4c5silver
#c4c4c5silver
Muted
#e0e8f0lavender
#0f171fblack
Muted foreground
#374048darkslategray
#b7bfc8silver
Accent
#2b2b2cdarkslategray
#2b2b2cdarkslategray
Accent foreground
#c4c4c5silver
#c4c4c5silver
Destructive
#6e1408maroon
#e02810orangered
Destructive foreground
#f9b7aelightpink
#ffffffwhite
Border
#e4e0dcgainsboro
#2b2621darkslategray
Input
#e4e0dcgainsboro
#2b2621darkslategray
Ring
#2c2b2bdarkslategray
#2c2b2bdarkslategray

Contrast

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

Light mode
Text on background18.87:1AAA
Text on card18.87:1AAA
Primary button8.09:1AAA
Secondary button8.09:1AAA
Muted text8.53:1AAA
Accent8.09:1AAA
Destructive7.05:1AAA
Dark mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button8.09:1AAA
Secondary button8.09:1AAA
Muted text9.72:1AAA
Accent8.09:1AAA
Destructive4.68:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.005 67.761);
  --foreground: oklch(0.152 0.019 72.334);
  --muted: oklch(0.927 0.014 247.982);
  --muted-foreground: oklch(0.366 0.018 248.32);
  --popover: oklch(0.986 0.005 67.761);
  --popover-foreground: oklch(0.152 0.019 72.334);
  --card: oklch(0.986 0.005 67.761);
  --card-foreground: oklch(0.152 0.019 72.334);
  --border: oklch(0.91 0.007 67.738);
  --input: oklch(0.91 0.007 67.738);
  --primary: oklch(0.291 0.001 67.784);
  --primary-foreground: oklch(0.822 0.001 67.807);
  --secondary: oklch(0.29 0.001 247.858);
  --secondary-foreground: oklch(0.821 0.001 247.835);
  --accent: oklch(0.29 0.001 247.858);
  --accent-foreground: oklch(0.821 0.001 247.835);
  --destructive: oklch(0.351 0.126 31.095);
  --destructive-foreground: oklch(0.838 0.079 27.353);
  --ring: oklch(0.291 0.001 67.784);
  --chart-1: oklch(0.291 0.001 67.784);
  --chart-2: oklch(0.29 0.001 247.858);
  --chart-3: oklch(0.29 0.001 247.858);
  --chart-4: oklch(0.321 0.001 247.859);
  --chart-5: oklch(0.292 0.004 67.669);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.001 67.807);
  --muted: oklch(0.2 0.021 248.901);
  --muted-foreground: oklch(0.801 0.015 248.014);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.001 67.807);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.978 0.001 67.807);
  --border: oklch(0.273 0.012 67.308);
  --input: oklch(0.273 0.012 67.308);
  --primary: oklch(0.291 0.001 67.784);
  --primary-foreground: oklch(0.822 0.001 67.807);
  --secondary: oklch(0.29 0.001 247.858);
  --secondary-foreground: oklch(0.821 0.001 247.835);
  --accent: oklch(0.29 0.001 247.858);
  --accent-foreground: oklch(0.821 0.001 247.835);
  --destructive: oklch(0.584 0.22 30.917);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.291 0.001 67.784);
  --chart-1: oklch(0.291 0.001 67.784);
  --chart-2: oklch(0.29 0.001 247.858);
  --chart-3: oklch(0.29 0.001 247.858);
  --chart-4: oklch(0.321 0.001 247.859);
  --chart-5: oklch(0.292 0.004 67.669);
}