Buzzing for shadcn/ui

Buzzing is a shadcn/ui theme built around a muted light red primary color (#eddedf) with muted light teal accents (#deedec). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the muted light red primary (#eddedf) on a neutral background (#080203).

Color palette

TokenLightDark
Background
#fdf7f7snow
#080203black
Foreground
#000000black
#ffffffwhite
Card
#fdf7f7snow
#080203black
Card foreground
#000000black
#ffffffwhite
Popover
#fdf7f7snow
#080203black
Popover foreground
#000000black
#ffffffwhite
Primary
#eddedfgainsboro
#eddedfgainsboro
Primary foreground
#623738darkolivegreen
#623738darkolivegreen
Secondary
#deedeclavender
#deedeclavender
Secondary foreground
#122120black
#122120black
Muted
#e4ececlavender
#131b1bblack
Muted foreground
#3c4443darkslategray
#bbc3c3silver
Accent
#deedeclavender
#deedeclavender
Accent foreground
#122120black
#122120black
Destructive
#c54a11chocolate
#ec6627chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eddedfgainsboro
#eddedfgainsboro

Contrast

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

Light mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button7.60:1AAA
Secondary button13.76:1AAA
Muted text8.33:1AAA
Accent13.76:1AAA
Destructive4.80:1AA
Dark mode
Text on background20.54:1AAA
Text on card20.54:1AAA
Primary button7.60:1AAA
Secondary button13.76:1AAA
Muted text9.76:1AAA
Accent13.76:1AAA
Destructive6.48:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 16.084);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.937 0.008 195.819);
  --muted-foreground: oklch(0.378 0.01 195.514);
  --popover: oklch(0.981 0.006 16.084);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.006 16.084);
  --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.913 0.016 16.279);
  --primary-foreground: oklch(0.39 0.061 19.18);
  --secondary: oklch(0.934 0.015 195.692);
  --secondary-foreground: oklch(0.233 0.02 194.559);
  --accent: oklch(0.934 0.015 195.692);
  --accent-foreground: oklch(0.233 0.02 194.559);
  --destructive: oklch(0.57 0.169 40.639);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.913 0.016 16.279);
  --chart-1: oklch(0.913 0.016 16.279);
  --chart-2: oklch(0.934 0.015 195.692);
  --chart-3: oklch(0.934 0.015 195.692);
  --chart-4: oklch(0.954 0.011 195.78);
  --chart-5: oklch(0.912 0.017 16.313);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.016 18.611);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.214 0.012 195.06);
  --muted-foreground: oklch(0.811 0.008 195.792);
  --popover: oklch(0.105 0.016 18.611);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.105 0.016 18.611);
  --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.913 0.016 16.279);
  --primary-foreground: oklch(0.39 0.061 19.18);
  --secondary: oklch(0.934 0.015 195.692);
  --secondary-foreground: oklch(0.233 0.02 194.559);
  --accent: oklch(0.934 0.015 195.692);
  --accent-foreground: oklch(0.233 0.02 194.559);
  --destructive: oklch(0.668 0.181 42.186);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.913 0.016 16.279);
  --chart-1: oklch(0.913 0.016 16.279);
  --chart-2: oklch(0.934 0.015 195.692);
  --chart-3: oklch(0.934 0.015 195.692);
  --chart-4: oklch(0.954 0.011 195.78);
  --chart-5: oklch(0.912 0.017 16.313);
}