Bustle for shadcn/ui

Bustle is a shadcn/ui theme built around a muted blue primary color (#8792ab) with muted indigo accents (#8e87ab). The light mode uses a neutral background (#f6f9fd). Dark mode keeps the muted blue primary (#8792ab) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#f6f9fdghostwhite
#020203black
Foreground
#030711black
#f9f9fbghostwhite
Card
#f6f9fdghostwhite
#020203black
Card foreground
#030711black
#f9f9fbghostwhite
Popover
#f6f9fdghostwhite
#020203black
Popover foreground
#030711black
#f9f9fbghostwhite
Primary
#8792ablightslategray
#8792ablightslategray
Primary foreground
#000000black
#000000black
Secondary
#87a4abdarkgray
#87a4abdarkgray
Secondary foreground
#000000black
#000000black
Muted
#d9e9eclavender
#132226black
Muted foreground
#5e6668dimgray
#979fa1darkgray
Accent
#8e87ablightslategray
#8e87ablightslategray
Accent foreground
#000000black
#000000black
Destructive
#6b0400maroon
#ff3a33tomato
Destructive foreground
#ffa19elightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8792ablightslategray
#8792ablightslategray

Contrast

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

Light mode
Text on background19.04:1AAA
Text on card19.04:1AAA
Primary button6.70:1AA
Secondary button7.92:1AAA
Muted text4.69:1AA
Accent6.18:1AA
Destructive6.60:1AA
Dark mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button6.70:1AA
Secondary button7.92:1AAA
Muted text6.08:1AA
Accent6.18:1AA
Destructive3.55:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 267.38);
  --foreground: oklch(0.131 0.025 259.276);
  --muted: oklch(0.923 0.017 214.378);
  --muted-foreground: oklch(0.506 0.01 214.387);
  --popover: oklch(0.981 0.007 267.38);
  --popover-foreground: oklch(0.131 0.025 259.276);
  --card: oklch(0.981 0.007 267.38);
  --card-foreground: oklch(0.131 0.025 259.276);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.659 0.04 266.955);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.699 0.034 214.589);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.642 0.055 293.967);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.334 0.134 29.974);
  --destructive-foreground: oklch(0.803 0.112 21.995);
  --ring: oklch(0.659 0.04 266.955);
  --chart-1: oklch(0.659 0.04 266.955);
  --chart-2: oklch(0.699 0.034 214.589);
  --chart-3: oklch(0.642 0.055 293.967);
  --chart-4: oklch(0.722 0.032 214.541);
  --chart-5: oklch(0.655 0.047 266.852);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.006 263.499);
  --foreground: oklch(0.983 0.002 267.406);
  --muted: oklch(0.239 0.022 215.241);
  --muted-foreground: oklch(0.695 0.01 214.359);
  --popover: oklch(0.088 0.006 263.499);
  --popover-foreground: oklch(0.983 0.002 267.406);
  --card: oklch(0.088 0.006 263.499);
  --card-foreground: oklch(0.983 0.002 267.406);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.659 0.04 266.955);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.699 0.034 214.589);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.642 0.055 293.967);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.654 0.233 27.905);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.659 0.04 266.955);
  --chart-1: oklch(0.659 0.04 266.955);
  --chart-2: oklch(0.699 0.034 214.589);
  --chart-3: oklch(0.642 0.055 293.967);
  --chart-4: oklch(0.722 0.032 214.541);
  --chart-5: oklch(0.655 0.047 266.852);
}