Bustling for shadcn/ui

Bustling is a shadcn/ui theme built around a deep teal primary color (#13443b) with deep yellow accents (#443b13). The light mode uses a neutral background (#fbfefd). Dark mode keeps the deep teal primary (#13443b) on a teal-tinted background (#070d0c).

Color palette

TokenLightDark
Background
#fbfefdwhite
#070d0cblack
Foreground
#030c0ablack
#fcfdfdwhite
Card
#f7fdfcmintcream
#09110fblack
Card foreground
#020807black
#ffffffwhite
Popover
#fbfefdwhite
#070d0cblack
Popover foreground
#030c0ablack
#fcfdfdwhite
Primary
#13443bdarkslategray
#13443bdarkslategray
Primary foreground
#a3e6dapowderblue
#a3e6dapowderblue
Secondary
#3b1344midnightblue
#3b1344midnightblue
Secondary foreground
#daa3e6plum
#daa3e6plum
Muted
#f0e8f2lavender
#150d17black
Muted foreground
#453847darkslategray
#c4b8c7silver
Accent
#443b13darkolivegreen
#443b13darkolivegreen
Accent foreground
#e6daa3palegoldenrod
#e6daa3palegoldenrod
Destructive
#9d0101darkred
#e40101red
Destructive foreground
#ffd1d1pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#13443bdarkslategray
#13443bdarkslategray

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.59:1AAA
Primary button7.76:1AAA
Secondary button7.61:1AAA
Muted text9.18:1AAA
Accent7.93:1AAA
Destructive6.25:1AA
Dark mode
Text on background19.18:1AAA
Text on card19.13:1AAA
Primary button7.76:1AAA
Secondary button7.61:1AAA
Muted text10.02:1AAA
Accent7.93:1AAA
Destructive4.86:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 184.227);
  --foreground: oklch(0.143 0.016 183.426);
  --muted: oklch(0.941 0.016 320.007);
  --muted-foreground: oklch(0.36 0.031 320.064);
  --popover: oklch(0.994 0.003 184.227);
  --popover-foreground: oklch(0.143 0.016 183.426);
  --card: oklch(0.989 0.006 184.142);
  --card-foreground: oklch(0.125 0.014 184.073);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.351 0.055 178.419);
  --primary-foreground: oklch(0.876 0.069 181.991);
  --secondary: oklch(0.274 0.096 319.812);
  --secondary-foreground: oklch(0.788 0.11 320.093);
  --accent: oklch(0.353 0.059 96.563);
  --accent-foreground: oklch(0.884 0.072 96.956);
  --destructive: oklch(0.438 0.179 29.176);
  --destructive-foreground: oklch(0.901 0.051 18.147);
  --ring: oklch(0.351 0.055 178.419);
  --chart-1: oklch(0.351 0.055 178.419);
  --chart-2: oklch(0.274 0.096 319.812);
  --chart-3: oklch(0.353 0.059 96.563);
  --chart-4: oklch(0.304 0.109 319.767);
  --chart-5: oklch(0.355 0.056 178.134);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.154 0.011 182.859);
  --foreground: oklch(0.993 0.001 184.288);
  --muted: oklch(0.174 0.025 320.094);
  --muted-foreground: oklch(0.796 0.025 320.02);
  --popover: oklch(0.154 0.011 182.859);
  --popover-foreground: oklch(0.993 0.001 184.288);
  --card: oklch(0.168 0.013 182.154);
  --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.351 0.055 178.419);
  --primary-foreground: oklch(0.876 0.069 181.991);
  --secondary: oklch(0.274 0.096 319.812);
  --secondary-foreground: oklch(0.788 0.11 320.093);
  --accent: oklch(0.353 0.059 96.563);
  --accent-foreground: oklch(0.884 0.072 96.956);
  --destructive: oklch(0.578 0.237 29.197);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.351 0.055 178.419);
  --chart-1: oklch(0.351 0.055 178.419);
  --chart-2: oklch(0.274 0.096 319.812);
  --chart-3: oklch(0.353 0.059 96.563);
  --chart-4: oklch(0.304 0.109 319.767);
  --chart-5: oklch(0.355 0.056 178.134);
}