Heel for shadcn/ui

Heel is a shadcn/ui theme built around a neutral gray primary color (#acacb4) with neutral gray accents (#b4b4ac). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the neutral gray primary (#acacb4) on a neutral background (#020208).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#020208black
Foreground
#010105black
#fcfcfdwhite
Card
#f7f7fdghostwhite
#04030cblack
Card foreground
#000000black
#ffffffwhite
Popover
#f7f7fdghostwhite
#04030cblack
Popover foreground
#000000black
#ffffffwhite
Primary
#acacb4darkgray
#acacb4darkgray
Primary foreground
#161618black
#161618black
Secondary
#b4b4acdarkgray
#b4b4acdarkgray
Secondary foreground
#181816black
#181816black
Muted
#e9eae6linen
#181915black
Muted foreground
#4c4c3ddarkslategray
#c1c2b3silver
Accent
#b4b4acdarkgray
#b4b4acdarkgray
Accent foreground
#181816black
#181816black
Destructive
#e31502red
#fd1c08red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#acacb4darkgray
#acacb4darkgray

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card19.68:1AAA
Primary button8.02:1AAA
Secondary button8.50:1AAA
Muted text7.20:1AAA
Accent8.50:1AAA
Destructive4.79:1AA
Dark mode
Text on background20.15:1AAA
Text on card20.50:1AAA
Primary button8.02:1AAA
Secondary button8.50:1AAA
Muted text9.80:1AAA
Accent8.50:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 288.637);
  --foreground: oklch(0.066 0.025 281.483);
  --muted: oklch(0.935 0.004 108.794);
  --muted-foreground: oklch(0.413 0.024 109.773);
  --popover: oklch(0.978 0.008 288.562);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.978 0.008 288.562);
  --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.747 0.011 288.428);
  --primary-foreground: oklch(0.2 0.005 288.283);
  --secondary: oklch(0.767 0.011 108.975);
  --secondary-foreground: oklch(0.208 0.004 109.1);
  --accent: oklch(0.767 0.011 108.975);
  --accent-foreground: oklch(0.208 0.004 109.1);
  --destructive: oklch(0.581 0.231 30.053);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.747 0.011 288.428);
  --chart-1: oklch(0.747 0.011 288.428);
  --chart-2: oklch(0.767 0.011 108.975);
  --chart-3: oklch(0.767 0.011 108.975);
  --chart-4: oklch(0.79 0.01 108.941);
  --chart-5: oklch(0.741 0.018 288.251);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.022 284.767);
  --foreground: oklch(0.991 0.002 288.673);
  --muted: oklch(0.21 0.006 109.248);
  --muted-foreground: oklch(0.808 0.021 109.182);
  --popover: oklch(0.108 0.025 284.681);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.108 0.025 284.681);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.747 0.011 288.428);
  --primary-foreground: oklch(0.2 0.005 288.283);
  --secondary: oklch(0.767 0.011 108.975);
  --secondary-foreground: oklch(0.208 0.004 109.1);
  --accent: oklch(0.767 0.011 108.975);
  --accent-foreground: oklch(0.208 0.004 109.1);
  --destructive: oklch(0.63 0.249 30.005);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.747 0.011 288.428);
  --chart-1: oklch(0.747 0.011 288.428);
  --chart-2: oklch(0.767 0.011 108.975);
  --chart-3: oklch(0.767 0.011 108.975);
  --chart-4: oklch(0.79 0.01 108.941);
  --chart-5: oklch(0.741 0.018 288.251);
}