Shoes for shadcn/ui

Shoes is a shadcn/ui theme built around a deep purple primary color (#3e1e35) with muted purple accents (#c5a0ba). The light mode uses a neutral background (#fefbfd). Dark mode keeps the deep purple primary (#3e1e35) on a purple-tinted background (#0b0409).

Color palette

TokenLightDark
Background
#fefbfdsnow
#0b0409black
Foreground
#000000black
#faf4f9whitesmoke
Card
#fefbfdsnow
#0b0409black
Card foreground
#000000black
#faf4f9whitesmoke
Popover
#fefbfdsnow
#0b0409black
Popover foreground
#000000black
#faf4f9whitesmoke
Primary
#3e1e35darkslategray
#3e1e35darkslategray
Primary foreground
#dbb3cfthistle
#dbb3cfthistle
Secondary
#d5c3d0thistle
#333333darkslategray
Secondary foreground
#3c2a37darkslategray
#cccccclightgrey
Muted
#f5f0f3whitesmoke
#0f0a0ablack
Muted foreground
#585156dimgray
#aea7a7darkgray
Accent
#c5a0basilver
#4c4343darkslategray
Accent foreground
#20131cblack
#e2dfdfgainsboro
Destructive
#b4340efirebrick
#ef5b2etomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3e1e35darkslategray
#3e1e35darkslategray

Contrast

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

Light mode
Text on background20.43:1AAA
Text on card20.43:1AAA
Primary button7.89:1AAA
Secondary button7.94:1AAA
Muted text6.82:1AA
Accent7.78:1AAA
Destructive6.08:1AA
Dark mode
Text on background18.68:1AAA
Text on card18.68:1AAA
Primary button7.89:1AAA
Secondary button7.86:1AAA
Muted text8.30:1AAA
Accent7.23:1AAA
Destructive6.22:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 335.261);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.959 0.007 335.322);
  --muted-foreground: oklch(0.442 0.012 335.663);
  --popover: oklch(0.991 0.004 335.261);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.004 335.261);
  --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.288 0.061 338.733);
  --primary-foreground: oklch(0.811 0.059 336.451);
  --secondary: oklch(0.836 0.027 335.77);
  --secondary-foreground: oklch(0.311 0.035 337.104);
  --accent: oklch(0.747 0.056 336.493);
  --accent-foreground: oklch(0.208 0.026 337.283);
  --destructive: oklch(0.516 0.17 35.586);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.288 0.061 338.733);
  --chart-1: oklch(0.288 0.061 338.733);
  --chart-2: oklch(0.836 0.027 335.77);
  --chart-3: oklch(0.747 0.056 336.493);
  --chart-4: oklch(0.861 0.023 335.667);
  --chart-5: oklch(0.288 0.066 339.019);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.02 335.757);
  --foreground: oklch(0.974 0.008 335.349);
  --muted: oklch(0.153 0.009 18.125);
  --muted-foreground: oklch(0.736 0.008 17.333);
  --popover: oklch(0.125 0.02 335.757);
  --popover-foreground: oklch(0.974 0.008 335.349);
  --card: oklch(0.125 0.02 335.757);
  --card-foreground: oklch(0.974 0.008 335.349);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.288 0.061 338.733);
  --primary-foreground: oklch(0.811 0.059 336.451);
  --secondary: oklch(0.321 0 180);
  --secondary-foreground: oklch(0.845 0 164.055);
  --accent: oklch(0.392 0.012 17.663);
  --accent-foreground: oklch(0.905 0.004 17.231);
  --destructive: oklch(0.66 0.192 36.887);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.288 0.061 338.733);
  --chart-1: oklch(0.288 0.061 338.733);
  --chart-2: oklch(0.321 0 180);
  --chart-3: oklch(0.392 0.012 17.663);
  --chart-4: oklch(0.351 0 167.471);
  --chart-5: oklch(0.288 0.066 339.019);
}