Shoes for shadcn/ui

Shoes is a shadcn/ui theme built around a near-black primary color (#030208) with muted light indigo accents (#d1d0dd). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the near-black primary (#030208) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#000000black
Foreground
#010105black
#fcfcfdwhite
Card
#fbfbfeghostwhite
#000000black
Card foreground
#010105black
#fcfcfdwhite
Popover
#fbfbfeghostwhite
#000000black
Popover foreground
#010105black
#fcfcfdwhite
Primary
#030208black
#030208black
Primary foreground
#c0b9e9lightsteelblue
#c0b9e9lightsteelblue
Secondary
#eae9eclavender
#16141fblack
Secondary foreground
#4d4c57darkslategray
#a7a3c2darkgray
Muted
#d8d5ebgainsboro
#17142ablack
Muted foreground
#3b3947darkslategray
#bab8c6silver
Accent
#d1d0ddlightgrey
#24213bdarkslategray
Accent foreground
#363347darkslategray
#bbb7d7lightsteelblue
Destructive
#8f2600saddlebrown
#ff4400orangered
Destructive foreground
#ffd2c2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#030208black
#030208black

Contrast

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

Light mode
Text on background20.15:1AAA
Text on card20.15:1AAA
Primary button11.15:1AAA
Secondary button6.98:1AA
Muted text7.88:1AAA
Accent7.99:1AAA
Destructive6.24:1AA
Dark mode
Text on background20.48:1AAA
Text on card20.48:1AAA
Primary button11.15:1AAA
Secondary button7.49:1AAA
Muted text9.23:1AAA
Accent8.03:1AAA
Destructive3.45:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.005 292.457);
  --foreground: oklch(0.068 0.025 288.597);
  --muted: oklch(0.883 0.03 291.894);
  --muted-foreground: oklch(0.351 0.024 291.209);
  --popover: oklch(0.989 0.005 292.457);
  --popover-foreground: oklch(0.068 0.025 288.597);
  --card: oklch(0.989 0.005 292.457);
  --card-foreground: oklch(0.068 0.025 288.597);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.098 0.019 290.683);
  --primary-foreground: oklch(0.808 0.067 290.929);
  --secondary: oklch(0.936 0.004 292.466);
  --secondary-foreground: oklch(0.422 0.019 291.691);
  --accent: oklch(0.862 0.018 292.149);
  --accent-foreground: oklch(0.334 0.034 290.523);
  --destructive: oklch(0.433 0.146 36.643);
  --destructive-foreground: oklch(0.898 0.055 40.962);
  --ring: oklch(0.098 0.019 290.683);
  --chart-1: oklch(0.098 0.019 290.683);
  --chart-2: oklch(0.936 0.004 292.466);
  --chart-3: oklch(0.862 0.018 292.149);
  --chart-4: oklch(0.96 0.002 292.497);
  --chart-5: oklch(0.097 0.021 290.519);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.991 0.002 292.509);
  --muted: oklch(0.205 0.043 288.119);
  --muted-foreground: oklch(0.789 0.02 292.07);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.991 0.002 292.509);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.991 0.002 292.509);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.098 0.019 290.683);
  --primary-foreground: oklch(0.808 0.067 290.929);
  --secondary: oklch(0.2 0.02 290.543);
  --secondary-foreground: oklch(0.73 0.044 291.382);
  --accent: oklch(0.264 0.049 288.683);
  --accent-foreground: oklch(0.792 0.046 291.431);
  --destructive: oklch(0.659 0.23 35.22);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.098 0.019 290.683);
  --chart-1: oklch(0.098 0.019 290.683);
  --chart-2: oklch(0.2 0.02 290.543);
  --chart-3: oklch(0.264 0.049 288.683);
  --chart-4: oklch(0.228 0.026 290.334);
  --chart-5: oklch(0.097 0.021 290.519);
}