Sure-footed for shadcn/ui

Sure-footed is a shadcn/ui theme built around a vivid blue primary color (#104b98) with vivid orange accents (#985d10). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#104b98) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#02070eblack
#f4f7fawhitesmoke
Card
#fcfcfcsnow
#030303black
Card foreground
#010509black
#f8fafcghostwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#010509black
#f8fafcghostwhite
Primary
#104b98darkslateblue
#104b98darkslateblue
Primary foreground
#dfebfclavender
#dfebfclavender
Secondary
#985d10saddlebrown
#985d10saddlebrown
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f4f0eclinen
#13100bblack
Muted foreground
#56524edarkslategray
#b1aea9darkgray
Accent
#985d10saddlebrown
#985d10saddlebrown
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d53410firebrick
#ef522etomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#104b98darkslateblue
#104b98darkslateblue

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card20.00:1AAA
Primary button7.01:1AAA
Secondary button5.35:1AA
Muted text6.83:1AA
Accent5.35:1AA
Destructive4.83:1AA
Dark mode
Text on background19.53:1AAA
Text on card19.76:1AAA
Primary button7.01:1AAA
Secondary button5.35:1AA
Muted text8.58:1AAA
Accent5.35:1AA
Destructive3.54:1AA Large

CSS variables

Paste this into your globals.css to use Sure-footed in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.123 0.022 244.13);
  --muted: oklch(0.957 0.007 74.911);
  --muted-foreground: oklch(0.441 0.009 74.823);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.107 0.019 242.872);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.107 0.019 242.872);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.424 0.139 257.553);
  --primary-foreground: oklch(0.936 0.026 255.087);
  --secondary: oklch(0.534 0.113 65.864);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.534 0.113 65.864);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.574 0.202 33.201);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.424 0.139 257.553);
  --chart-1: oklch(0.424 0.139 257.553);
  --chart-2: oklch(0.534 0.113 65.864);
  --chart-3: oklch(0.534 0.113 65.864);
  --chart-4: oklch(0.568 0.121 65.652);
  --chart-5: oklch(0.425 0.144 257.787);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.005 254.984);
  --muted: oklch(0.175 0.01 74.44);
  --muted-foreground: oklch(0.752 0.008 74.891);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.983 0.004 254.974);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.983 0.004 254.974);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.424 0.139 257.553);
  --primary-foreground: oklch(0.936 0.026 255.087);
  --secondary: oklch(0.534 0.113 65.864);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.534 0.113 65.864);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.649 0.2 34.038);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.424 0.139 257.553);
  --chart-1: oklch(0.424 0.139 257.553);
  --chart-2: oklch(0.534 0.113 65.864);
  --chart-3: oklch(0.534 0.113 65.864);
  --chart-4: oklch(0.568 0.121 65.652);
  --chart-5: oklch(0.425 0.144 257.787);
}