Bust for shadcn/ui

Bust is a shadcn/ui theme built around a vivid deep teal primary color (#076769) with neutral gray accents (#d6dbdb). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the vivid deep teal primary (#076769) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#f8fcfcmintcream
#010404black
Foreground
#030c0cblack
#f6f9f9whitesmoke
Card
#f5fafamintcream
#020808black
Card foreground
#020808black
#f9fbfbghostwhite
Popover
#f5fafamintcream
#020808black
Popover foreground
#020808black
#f9fbfbghostwhite
Primary
#076769teal
#076769teal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d6dbdbgainsboro
#2b2b2bdarkslategray
Secondary foreground
#3b4444darkslategray
#c4c4c4silver
Muted
#d3e3e3gainsboro
#2c1c1cblack
Muted foreground
#3b4545darkslategray
#c4babasilver
Accent
#d6dbdbgainsboro
#2b2b2bdarkslategray
Accent foreground
#3b4444darkslategray
#c4c4c4silver
Destructive
#680908maroon
#e41511red
Destructive foreground
#f9abaalightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#076769teal
#076769teal

Contrast

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

Light mode
Text on background19.08:1AAA
Text on card19.12:1AAA
Primary button6.63:1AA
Secondary button7.18:1AAA
Muted text7.47:1AAA
Accent7.18:1AAA
Destructive6.98:1AA
Dark mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button6.63:1AA
Secondary button8.07:1AAA
Muted text8.61:1AAA
Accent8.07:1AAA
Destructive4.77:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 198.309);
  --foreground: oklch(0.144 0.016 196.634);
  --muted: oklch(0.904 0.017 198.093);
  --muted-foreground: oklch(0.38 0.013 197.866);
  --popover: oklch(0.981 0.005 198.282);
  --popover-foreground: oklch(0.125 0.014 196.53);
  --card: oklch(0.981 0.005 198.282);
  --card-foreground: oklch(0.125 0.014 196.53);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.468 0.078 196.764);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.888 0.006 198.266);
  --secondary-foreground: oklch(0.379 0.012 197.921);
  --accent: oklch(0.888 0.006 198.266);
  --accent-foreground: oklch(0.379 0.012 197.921);
  --destructive: oklch(0.332 0.127 28.32);
  --destructive-foreground: oklch(0.815 0.092 20.336);
  --ring: oklch(0.468 0.078 196.764);
  --chart-1: oklch(0.468 0.078 196.764);
  --chart-2: oklch(0.888 0.006 198.266);
  --chart-3: oklch(0.888 0.006 198.266);
  --chart-4: oklch(0.911 0.005 198.287);
  --chart-5: oklch(0.473 0.079 196.78);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.01 196.671);
  --foreground: oklch(0.979 0.003 198.311);
  --muted: oklch(0.246 0.025 19.013);
  --muted-foreground: oklch(0.798 0.012 17.399);
  --popover: oklch(0.124 0.013 196.671);
  --popover-foreground: oklch(0.986 0.002 198.328);
  --card: oklch(0.124 0.013 196.671);
  --card-foreground: oklch(0.986 0.002 198.328);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.468 0.078 196.764);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.29 0 180);
  --secondary-foreground: oklch(0.821 0 171.87);
  --accent: oklch(0.29 0 180);
  --accent-foreground: oklch(0.821 0 171.87);
  --destructive: oklch(0.582 0.231 28.873);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.468 0.078 196.764);
  --chart-1: oklch(0.468 0.078 196.764);
  --chart-2: oklch(0.29 0 180);
  --chart-3: oklch(0.29 0 180);
  --chart-4: oklch(0.321 0 180);
  --chart-5: oklch(0.473 0.079 196.78);
}