Footwear for shadcn/ui

Footwear is a shadcn/ui theme built around a muted blue primary color (#565f7b) with muted green accents (#5f7b56). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#565f7b) on a blue-tinted background (#06080e).

Color palette

TokenLightDark
Background
#ffffffwhite
#06080eblack
Foreground
#02050dblack
#f5f6f9whitesmoke
Card
#fcfcfcsnow
#080a12black
Card foreground
#020309black
#f9f9fbghostwhite
Popover
#fcfcfcsnow
#080a12black
Popover foreground
#020309black
#f9f9fbghostwhite
Primary
#565f7bdimgray
#565f7bdimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#7b565fdimgray
#7b565fdimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f6eaedlinen
#15090cblack
Muted foreground
#454041darkslategray
#bfbabbsilver
Accent
#5f7b56dimgray
#5f7b56dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#700700maroon
#ff2e1forangered
Destructive foreground
#ffa9a3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#565f7bdimgray
#565f7bdimgray

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.15:1AAA
Primary button6.31:1AA
Secondary button6.29:1AA
Muted text8.65:1AAA
Accent4.69:1AA
Destructive6.64:1AA
Dark mode
Text on background18.50:1AAA
Text on card18.78:1AAA
Primary button6.31:1AA
Secondary button6.29:1AA
Muted text10.16:1AAA
Accent4.69:1AA
Destructive3.71:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.116 0.022 262.127);
  --muted: oklch(0.946 0.014 0.276);
  --muted-foreground: oklch(0.376 0.008 0.429);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.101 0.019 261.765);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.101 0.019 261.765);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.489 0.047 270.276);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.495 0.052 2.698);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.552 0.065 138.014);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.347 0.137 30.644);
  --destructive-foreground: oklch(0.818 0.102 24.025);
  --ring: oklch(0.489 0.047 270.276);
  --chart-1: oklch(0.489 0.047 270.276);
  --chart-2: oklch(0.495 0.052 2.698);
  --chart-3: oklch(0.552 0.065 138.014);
  --chart-4: oklch(0.521 0.055 2.722);
  --chart-5: oklch(0.485 0.055 270.027);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.014 267.675);
  --foreground: oklch(0.974 0.004 271.371);
  --muted: oklch(0.16 0.022 3.604);
  --muted-foreground: oklch(0.794 0.006 0.088);
  --popover: oklch(0.147 0.017 269.156);
  --popover-foreground: oklch(0.983 0.003 271.384);
  --card: oklch(0.147 0.017 269.156);
  --card-foreground: oklch(0.983 0.003 271.384);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.489 0.047 270.276);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.495 0.052 2.698);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.552 0.065 138.014);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.644 0.242 29.595);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.489 0.047 270.276);
  --chart-1: oklch(0.489 0.047 270.276);
  --chart-2: oklch(0.495 0.052 2.698);
  --chart-3: oklch(0.552 0.065 138.014);
  --chart-4: oklch(0.521 0.055 2.722);
  --chart-5: oklch(0.485 0.055 270.027);
}