Buzzing for shadcn/ui

Buzzing is a shadcn/ui theme built around a muted orange primary color (#5e4c45) with muted violet accents (#4c455e). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the muted orange primary (#5e4c45) on an orange-tinted background (#0e0907).

Color palette

TokenLightDark
Background
#fcf9f8snow
#0e0907black
Foreground
#0d0603black
#fbf9f9snow
Card
#fbf6f4whitesmoke
#110b08black
Card foreground
#080402black
#fdfcfcsnow
Popover
#fbf6f4whitesmoke
#110b08black
Popover foreground
#080402black
#fdfcfcsnow
Primary
#5e4c45darkolivegreen
#5e4c45darkolivegreen
Primary foreground
#eee9e8linen
#eee9e8linen
Secondary
#455e4cdarkslategray
#455e4cdarkslategray
Secondary foreground
#e8eee9linen
#e8eee9linen
Muted
#dde9e0gainsboro
#162219black
Muted foreground
#415346darkslategray
#acbeb1darkgray
Accent
#4c455edarkslategray
#4c455edarkslategray
Accent foreground
#e9e8eelavender
#e9e8eelavender
Destructive
#841f01maroon
#fe5b2atomato
Destructive foreground
#ffc8b8peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5e4c45darkolivegreen
#5e4c45darkolivegreen

Contrast

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

Light mode
Text on background19.17:1AAA
Text on card19.01:1AAA
Primary button6.70:1AA
Secondary button6.03:1AA
Muted text6.59:1AA
Accent7.39:1AAA
Destructive6.51:1AA
Dark mode
Text on background18.90:1AAA
Text on card19.07:1AAA
Primary button6.70:1AA
Secondary button6.03:1AA
Muted text8.40:1AAA
Accent7.39:1AAA
Destructive6.75:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 43.092);
  --foreground: oklch(0.129 0.018 51.824);
  --muted: oklch(0.923 0.018 154.836);
  --muted-foreground: oklch(0.422 0.03 153.786);
  --popover: oklch(0.976 0.006 43.072);
  --popover-foreground: oklch(0.113 0.015 52.38);
  --card: oklch(0.976 0.006 43.072);
  --card-foreground: oklch(0.113 0.015 52.38);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.433 0.026 42.702);
  --primary-foreground: oklch(0.938 0.005 43.078);
  --secondary: oklch(0.456 0.041 153.407);
  --secondary-foreground: oklch(0.942 0.009 155.02);
  --accent: oklch(0.409 0.041 297.535);
  --accent-foreground: oklch(0.933 0.008 299.15);
  --destructive: oklch(0.405 0.14 35.339);
  --destructive-foreground: oklch(0.878 0.066 37.594);
  --ring: oklch(0.433 0.026 42.702);
  --chart-1: oklch(0.433 0.026 42.702);
  --chart-2: oklch(0.456 0.041 153.407);
  --chart-3: oklch(0.409 0.041 297.535);
  --chart-4: oklch(0.485 0.044 153.384);
  --chart-5: oklch(0.433 0.032 42.639);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.01 45.85);
  --foreground: oklch(0.984 0.002 43.115);
  --muted: oklch(0.238 0.024 153.146);
  --muted-foreground: oklch(0.784 0.026 154.559);
  --popover: oklch(0.156 0.012 43.294);
  --popover-foreground: oklch(0.992 0.001 43.123);
  --card: oklch(0.156 0.012 43.294);
  --card-foreground: oklch(0.992 0.001 43.123);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.433 0.026 42.702);
  --primary-foreground: oklch(0.938 0.005 43.078);
  --secondary: oklch(0.456 0.041 153.407);
  --secondary-foreground: oklch(0.942 0.009 155.02);
  --accent: oklch(0.409 0.041 297.535);
  --accent-foreground: oklch(0.933 0.008 299.15);
  --destructive: oklch(0.683 0.207 36.57);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.433 0.026 42.702);
  --chart-1: oklch(0.433 0.026 42.702);
  --chart-2: oklch(0.456 0.041 153.407);
  --chart-3: oklch(0.409 0.041 297.535);
  --chart-4: oklch(0.485 0.044 153.384);
  --chart-5: oklch(0.433 0.032 42.639);
}