Bust for shadcn/ui

Bust is a shadcn/ui theme built around a light teal primary color (#b4d9d8) with muted light teal accents (#e1eaea). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#b4d9d8) on a teal-tinted background (#040b0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#040b0bblack
Foreground
#000000black
#fcfdfdwhite
Card
#fcfcfcsnow
#060e0eblack
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#060e0eblack
Popover foreground
#000000black
#ffffffwhite
Primary
#b4d9d8lightblue
#b4d9d8lightblue
Primary foreground
#1f3d3cdarkslategray
#1f3d3cdarkslategray
Secondary
#e1eaealavender
#131616black
Secondary foreground
#3e5b5adarkslategray
#a8b3b3darkgray
Muted
#e0ebeblavender
#141f1fblack
Muted foreground
#525656dimgray
#a9adacdarkgray
Accent
#e1eaealavender
#131616black
Accent foreground
#3e5b5adarkslategray
#a8b3b3darkgray
Destructive
#ac3a11firebrick
#eb6433tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b4d9d8lightblue
#b4d9d8lightblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.76:1AAA
Secondary button6.03:1AA
Muted text6.11:1AA
Accent6.03:1AA
Destructive6.23:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.45:1AAA
Primary button7.76:1AAA
Secondary button8.47:1AAA
Muted text7.41:1AAA
Accent8.47:1AAA
Destructive6.39:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.932 0.013 194.54);
  --muted-foreground: oklch(0.449 0.004 194.611);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.86 0.039 193.955);
  --primary-foreground: oklch(0.336 0.036 192.778);
  --secondary: oklch(0.931 0.01 194.583);
  --secondary-foreground: oklch(0.448 0.034 193.375);
  --accent: oklch(0.931 0.01 194.583);
  --accent-foreground: oklch(0.448 0.034 193.375);
  --destructive: oklch(0.508 0.156 37.884);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.86 0.039 193.955);
  --chart-1: oklch(0.86 0.039 193.955);
  --chart-2: oklch(0.931 0.01 194.583);
  --chart-3: oklch(0.931 0.01 194.583);
  --chart-4: oklch(0.952 0.007 194.648);
  --chart-5: oklch(0.863 0.042 193.888);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.012 193.663);
  --foreground: oklch(0.993 0.001 194.767);
  --muted: oklch(0.23 0.017 193.464);
  --muted-foreground: oklch(0.743 0.004 194.694);
  --popover: oklch(0.157 0.014 193.338);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.157 0.014 193.338);
  --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.86 0.039 193.955);
  --primary-foreground: oklch(0.336 0.036 192.778);
  --secondary: oklch(0.196 0.004 194.369);
  --secondary-foreground: oklch(0.758 0.013 194.477);
  --accent: oklch(0.196 0.004 194.369);
  --accent-foreground: oklch(0.758 0.013 194.477);
  --destructive: oklch(0.665 0.179 39.321);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.86 0.039 193.955);
  --chart-1: oklch(0.86 0.039 193.955);
  --chart-2: oklch(0.196 0.004 194.369);
  --chart-3: oklch(0.196 0.004 194.369);
  --chart-4: oklch(0.231 0.006 194.32);
  --chart-5: oklch(0.863 0.042 193.888);
}