Buzzing for shadcn/ui

Buzzing is a shadcn/ui theme built around a cyan primary color (#417b90) with green accents (#7b9041). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the cyan primary (#417b90) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#020608black
Foreground
#000000black
#ffffffwhite
Card
#f7fbfdghostwhite
#020608black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fbfdghostwhite
#020608black
Popover foreground
#000000black
#ffffffwhite
Primary
#417b90steelblue
#417b90steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#90417brebeccapurple
#90417brebeccapurple
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f2e3eelinen
#1c0d18black
Muted foreground
#5c4d58dimgray
#b2a3aedarkgray
Accent
#7b9041olivedrab
#7b9041olivedrab
Accent foreground
#000000black
#000000black
Destructive
#c72c05firebrick
#f93706orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#417b90steelblue
#417b90steelblue

Contrast

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

Light mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button4.70:1AA
Secondary button6.50:1AA
Muted text6.41:1AA
Accent5.92:1AA
Destructive5.54:1AA
Dark mode
Text on background20.30:1AAA
Text on card20.30:1AAA
Primary button4.70:1AA
Secondary button6.50:1AA
Muted text7.80:1AAA
Accent5.92:1AA
Destructive3.77:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.005 221.345);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.932 0.021 334.913);
  --muted-foreground: oklch(0.438 0.027 335.555);
  --popover: oklch(0.986 0.005 221.345);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.005 221.345);
  --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.552 0.069 223.994);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.498 0.13 338.757);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.62 0.109 122.036);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.541 0.195 33.258);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.069 223.994);
  --chart-1: oklch(0.552 0.069 223.994);
  --chart-2: oklch(0.498 0.13 338.757);
  --chart-3: oklch(0.62 0.109 122.036);
  --chart-4: oklch(0.524 0.137 338.789);
  --chart-5: oklch(0.556 0.074 224.333);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.012 216.314);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.186 0.031 337.222);
  --muted-foreground: oklch(0.733 0.023 335.076);
  --popover: oklch(0.119 0.012 216.314);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.119 0.012 216.314);
  --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.552 0.069 223.994);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.498 0.13 338.757);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.62 0.109 122.036);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.638 0.233 32.99);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.552 0.069 223.994);
  --chart-1: oklch(0.552 0.069 223.994);
  --chart-2: oklch(0.498 0.13 338.757);
  --chart-3: oklch(0.62 0.109 122.036);
  --chart-4: oklch(0.524 0.137 338.789);
  --chart-5: oklch(0.556 0.074 224.333);
}