Eastern Shoe Wax for shadcn/ui

Eastern Shoe Wax is a shadcn/ui theme built around a near-black primary color (#161616) with deep violet accents (#261b37). The light mode uses a neutral background (#ffffff). Dark mode switches to a neutral gray primary (#2c2c2c) on a neutral background (#161616).

Color palette

TokenLightDark
Background
#ffffffwhite
#161616black
Foreground
#000000black
#fdfcfcsnow
Card
#ffffffwhite
#1c1c1cblack
Card foreground
#000000black
#ffffffwhite
Popover
#fbf7f4whitesmoke
#110c08black
Popover foreground
#000000black
#ffffffwhite
Primary
#161616black
#2c2c2cdarkslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#1b3726darkslategray
#161616black
Secondary foreground
#add7besilver
#858585gray
Muted
#ebf4efwhitesmoke
#0b140eblack
Muted foreground
#526f5edimgray
#858585gray
Accent
#261b37darkslategray
#7922fbblueviolet
Accent foreground
#beadd7lightsteelblue
#ffffffwhite
Destructive
#ca2a02firebrick
#e83002orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e9e8e7linen
#242424darkslategray
Input
#e9e8e7linen
#201e1dblack
Ring
#37261bdarkslategray
#37261bdarkslategray

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 button18.09:1AAA
Secondary button8.20:1AAA
Muted text4.93:1AA
Accent7.84:1AAA
Destructive5.46:1AA
Dark mode
Text on background17.66:1AAA
Text on card17.04:1AAA
Primary button13.96:1AAA
Secondary button4.90:1AA
Muted text5.09:1AA
Accent6.13:1AA
Destructive4.31:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.959 0.011 159.961);
  --muted-foreground: oklch(0.515 0.044 158.107);
  --popover: oklch(0.978 0.006 56.345);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.931 0.002 56.412);
  --input: oklch(0.931 0.002 56.412);
  --primary: oklch(0.2 0 180);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.308 0.046 156.136);
  --secondary-foreground: oklch(0.841 0.056 158.61);
  --accent: oklch(0.25 0.053 301.12);
  --accent-foreground: oklch(0.775 0.061 303.213);
  --destructive: oklch(0.545 0.2 33.069);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.285 0.032 54.753);
  --chart-1: oklch(0.2 0 180);
  --chart-2: oklch(0.308 0.046 156.136);
  --chart-3: oklch(0.25 0.053 301.12);
  --chart-4: oklch(0.343 0.053 155.966);
  --chart-5: oklch(0.199 0.002 17.334);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.2 0 180);
  --foreground: oklch(0.992 0.001 56.427);
  --muted: oklch(0.179 0.017 157.863);
  --muted-foreground: oklch(0.617 0 171.254);
  --popover: oklch(0.159 0.012 56.144);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.226 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.26 0 180);
  --input: oklch(0.238 0.003 56.264);
  --primary: oklch(0.293 0 180);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.2 0 180);
  --secondary-foreground: oklch(0.617 0 171.254);
  --accent: oklch(0.531 0.278 291.217);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.604 0.223 32.863);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.285 0.032 54.753);
  --chart-1: oklch(0.293 0 180);
  --chart-2: oklch(0.2 0 180);
  --chart-3: oklch(0.531 0.278 291.217);
  --chart-4: oklch(0.234 0 180);
  --chart-5: oklch(0.291 0.004 17.378);
}