Buzzing is a shadcn/ui theme built around a vivid deep yellow primary color (#3c3d01) with vivid deep indigo accents (#02013d). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid deep yellow primary (#3c3d01) on a yellow-tinted background (#0a0a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #0a0a05black |
| Foreground | #040501black | #fcfcf8snow |
| Card | #fefefbwhite | #0a0a05black |
| Card foreground | #040501black | #fcfcf8snow |
| Popover | #fefefbwhite | #0a0a05black |
| Popover foreground | #040501black | #fcfcf8snow |
| Primary | #3c3d01darkolivegreen | #3c3d01darkolivegreen |
| Primary foreground | #f9fd0dyellow | #f9fd0dyellow |
| Secondary | #02013dmidnightblue | #02013dmidnightblue |
| Secondary foreground | #d7d7fflavender | #d7d7fflavender |
| Muted | #e3e3edlavender | #12121cblack |
| Muted foreground | #4a495fdarkslategray | #a0a0b6darkgray |
| Accent | #02013dmidnightblue | #02013dmidnightblue |
| Accent foreground | #d7d7fflavender | #d7d7fflavender |
| Destructive | #852f0asaddlebrown | #ed5412orangered |
| Destructive foreground | #fbd6c6peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c3d01darkolivegreen | #3c3d01darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 10.32:1 | AAA |
| Secondary button | 14.05:1 | AAA |
| Muted text | 6.82:1 | AA |
| Accent | 14.05:1 | AAA |
| Destructive | 6.46:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 10.32:1 | AAA |
| Secondary button | 14.05:1 | AAA |
| Muted text | 7.27:1 | AAA |
| Accent | 14.05:1 | AAA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Buzzing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 107.249);
--foreground: oklch(0.108 0.02 109.845);
--muted: oklch(0.918 0.014 286.883);
--muted-foreground: oklch(0.415 0.036 285.47);
--popover: oklch(0.996 0.004 107.249);
--popover-foreground: oklch(0.108 0.02 109.845);
--card: oklch(0.996 0.004 107.249);
--card-foreground: oklch(0.108 0.02 109.845);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.346 0.075 110.806);
--primary-foreground: oklch(0.958 0.209 110.931);
--secondary: oklch(0.165 0.11 266.316);
--secondary-foreground: oklch(0.891 0.055 285.999);
--accent: oklch(0.165 0.11 266.316);
--accent-foreground: oklch(0.891 0.055 285.999);
--destructive: oklch(0.426 0.126 39.918);
--destructive-foreground: oklch(0.903 0.047 44.534);
--ring: oklch(0.346 0.075 110.806);
--chart-1: oklch(0.346 0.075 110.806);
--chart-2: oklch(0.165 0.11 266.316);
--chart-3: oklch(0.165 0.11 266.316);
--chart-4: oklch(0.191 0.128 265.887);
--chart-5: oklch(0.349 0.077 110.842);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.013 108.643);
--foreground: oklch(0.989 0.005 107.256);
--muted: oklch(0.186 0.021 284.889);
--muted-foreground: oklch(0.713 0.032 286.335);
--popover: oklch(0.144 0.013 108.643);
--popover-foreground: oklch(0.989 0.005 107.256);
--card: oklch(0.144 0.013 108.643);
--card-foreground: oklch(0.989 0.005 107.256);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.346 0.075 110.806);
--primary-foreground: oklch(0.958 0.209 110.931);
--secondary: oklch(0.165 0.11 266.316);
--secondary-foreground: oklch(0.891 0.055 285.999);
--accent: oklch(0.165 0.11 266.316);
--accent-foreground: oklch(0.891 0.055 285.999);
--destructive: oklch(0.646 0.2 38.989);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.346 0.075 110.806);
--chart-1: oklch(0.346 0.075 110.806);
--chart-2: oklch(0.165 0.11 266.316);
--chart-3: oklch(0.165 0.11 266.316);
--chart-4: oklch(0.191 0.128 265.887);
--chart-5: oklch(0.349 0.077 110.842);
}