Boot for shadcn/ui

Boot is a shadcn/ui theme built around a deep indigo primary color (#110d54) with deep yellow accents (#50540d). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the deep indigo primary (#110d54) on a neutral background (#010104).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#010104black
Foreground
#04030cblack
#f5f5fawhitesmoke
Card
#f8f8fcghostwhite
#010104black
Card foreground
#04030cblack
#f5f5fawhitesmoke
Popover
#f8f8fcghostwhite
#010104black
Popover foreground
#04030cblack
#f5f5fawhitesmoke
Primary
#110d54midnightblue
#110d54midnightblue
Primary foreground
#a6a2f1lightsteelblue
#a6a2f1lightsteelblue
Secondary
#50540ddarkolivegreen
#50540ddarkolivegreen
Secondary foreground
#edf1a2palegoldenrod
#edf1a2palegoldenrod
Muted
#e2e3d9gainsboro
#26261cblack
Muted foreground
#464643darkslategray
#bbbcb9silver
Accent
#50540ddarkolivegreen
#50540ddarkolivegreen
Accent foreground
#edf1a2palegoldenrod
#edf1a2palegoldenrod
Destructive
#7b1309maroon
#ee3120orangered
Destructive foreground
#fac2bdlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#110d54midnightblue
#110d54midnightblue

Contrast

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

Light mode
Text on background19.32:1AAA
Text on card19.32:1AAA
Primary button7.49:1AAA
Secondary button6.77:1AA
Muted text7.31:1AAA
Accent6.77:1AA
Destructive6.95:1AA
Dark mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button7.49:1AAA
Secondary button6.77:1AA
Muted text7.99:1AAA
Accent6.77:1AA
Destructive4.11:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.006 288.596);
  --foreground: oklch(0.11 0.024 285.029);
  --muted: oklch(0.912 0.013 108.979);
  --muted-foreground: oklch(0.394 0.005 108.923);
  --popover: oklch(0.98 0.006 288.596);
  --popover-foreground: oklch(0.11 0.024 285.029);
  --card: oklch(0.98 0.006 288.596);
  --card-foreground: oklch(0.11 0.024 285.029);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.231 0.121 273.669);
  --primary-foreground: oklch(0.747 0.112 285.642);
  --secondary: oklch(0.428 0.089 112.565);
  --secondary-foreground: oklch(0.936 0.099 110.59);
  --accent: oklch(0.428 0.089 112.565);
  --accent-foreground: oklch(0.936 0.099 110.59);
  --destructive: oklch(0.378 0.14 30.025);
  --destructive-foreground: oklch(0.862 0.065 24.483);
  --ring: oklch(0.231 0.121 273.669);
  --chart-1: oklch(0.231 0.121 273.669);
  --chart-2: oklch(0.428 0.089 112.565);
  --chart-3: oklch(0.428 0.089 112.565);
  --chart-4: oklch(0.474 0.099 112.622);
  --chart-5: oklch(0.23 0.124 272.812);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.076 0.016 285.202);
  --foreground: oklch(0.971 0.007 288.569);
  --muted: oklch(0.265 0.018 109.914);
  --muted-foreground: oklch(0.793 0.004 108.799);
  --popover: oklch(0.076 0.016 285.202);
  --popover-foreground: oklch(0.971 0.007 288.569);
  --card: oklch(0.076 0.016 285.202);
  --card-foreground: oklch(0.971 0.007 288.569);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.231 0.121 273.669);
  --primary-foreground: oklch(0.747 0.112 285.642);
  --secondary: oklch(0.428 0.089 112.565);
  --secondary-foreground: oklch(0.936 0.099 110.59);
  --accent: oklch(0.428 0.089 112.565);
  --accent-foreground: oklch(0.936 0.099 110.59);
  --destructive: oklch(0.617 0.225 29.969);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.231 0.121 273.669);
  --chart-1: oklch(0.231 0.121 273.669);
  --chart-2: oklch(0.428 0.089 112.565);
  --chart-3: oklch(0.428 0.089 112.565);
  --chart-4: oklch(0.474 0.099 112.622);
  --chart-5: oklch(0.23 0.124 272.812);
}