Bustling for shadcn/ui

Bustling is a shadcn/ui theme built around a vivid deep orange primary color (#754b10) with vivid deep violet accents (#4b1075). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid deep orange primary (#754b10) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#fefdfbsnow
#070503black
Foreground
#110b03black
#fdfdfcwhite
Card
#fefdfbsnow
#070503black
Card foreground
#110b03black
#fdfdfcwhite
Popover
#fefdfbsnow
#070503black
Popover foreground
#110b03black
#fdfdfcwhite
Primary
#754b10saddlebrown
#754b10saddlebrown
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#10754bseagreen
#10754bseagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#edf7f3whitesmoke
#08120eblack
Muted foreground
#484b4adarkslategray
#b4b7b5silver
Accent
#4b1075indigo
#4b1075indigo
Accent foreground
#e0c0f6thistle
#e0c0f6thistle
Destructive
#bf3a12firebrick
#e04415orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#754b10saddlebrown
#754b10saddlebrown

Contrast

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

Light mode
Text on background19.20:1AAA
Text on card19.20:1AAA
Primary button7.61:1AAA
Secondary button5.74:1AA
Muted text8.08:1AAA
Accent8.02:1AAA
Destructive5.46:1AA
Dark mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button7.61:1AAA
Secondary button5.74:1AA
Muted text9.42:1AAA
Accent8.02:1AAA
Destructive4.18:1AA Large

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.002 76.641);
  --foreground: oklch(0.156 0.023 80.786);
  --muted: oklch(0.968 0.012 169.312);
  --muted-foreground: oklch(0.411 0.004 169.368);
  --popover: oklch(0.994 0.002 76.641);
  --popover-foreground: oklch(0.156 0.023 80.786);
  --card: oklch(0.994 0.002 76.641);
  --card-foreground: oklch(0.156 0.023 80.786);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.449 0.09 69.435);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.497 0.11 158.842);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.335 0.156 305.33);
  --accent-foreground: oklch(0.853 0.081 310.956);
  --destructive: oklch(0.542 0.176 35.807);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.449 0.09 69.435);
  --chart-1: oklch(0.449 0.09 69.435);
  --chart-2: oklch(0.497 0.11 158.842);
  --chart-3: oklch(0.335 0.156 305.33);
  --chart-4: oklch(0.537 0.119 158.664);
  --chart-5: oklch(0.453 0.092 68.861);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.011 82.639);
  --foreground: oklch(0.993 0.001 76.645);
  --muted: oklch(0.17 0.018 166.607);
  --muted-foreground: oklch(0.775 0.004 169.534);
  --popover: oklch(0.12 0.011 82.639);
  --popover-foreground: oklch(0.993 0.001 76.645);
  --card: oklch(0.12 0.011 82.639);
  --card-foreground: oklch(0.993 0.001 76.645);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.449 0.09 69.435);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.497 0.11 158.842);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.335 0.156 305.33);
  --accent-foreground: oklch(0.853 0.081 310.956);
  --destructive: oklch(0.608 0.2 35.662);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.449 0.09 69.435);
  --chart-1: oklch(0.449 0.09 69.435);
  --chart-2: oklch(0.497 0.11 158.842);
  --chart-3: oklch(0.335 0.156 305.33);
  --chart-4: oklch(0.537 0.119 158.664);
  --chart-5: oklch(0.453 0.092 68.861);
}