Buzz is a shadcn/ui theme built around a purple primary color (#dba3cd) with red accents (#dba3b1). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the purple primary (#dba3cd) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #030203black |
| Foreground | #000000black | #f9f6f8whitesmoke |
| Card | #fcf8fbsnow | #070306black |
| Card foreground | #000000black | #fbf9fasnow |
| Popover | #fcf8fbsnow | #070306black |
| Popover foreground | #000000black | #fbf9fasnow |
| Primary | #dba3cdplum | #dba3cdplum |
| Primary foreground | #37152fdarkslategray | #37152fdarkslategray |
| Secondary | #cda3dbplum | #cda3dbplum |
| Secondary foreground | #2f1537midnightblue | #2f1537midnightblue |
| Muted | #f0eff0whitesmoke | #100f10black |
| Muted foreground | #58535adimgray | #aaa5acdarkgray |
| Accent | #dba3b1tan | #dba3b1tan |
| Accent foreground | #37151eblack | #37151eblack |
| Destructive | #ca2002firebrick | #fd4a2btomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dba3cdplum | #dba3cdplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.48:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 6.53:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 5.64:1 | AA |
| Text on background | 19.31:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 7.70:1 | AAA |
| Muted text | 7.93:1 | AAA |
| Accent | 7.69:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Buzz in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 333.917);
--foreground: oklch(0 0 0);
--muted: oklch(0.953 0.002 317.759);
--muted-foreground: oklch(0.45 0.013 317.716);
--popover: oklch(0.983 0.005 333.958);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.005 333.958);
--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.781 0.086 335.626);
--primary-foreground: oklch(0.259 0.066 337.821);
--secondary: oklch(0.773 0.091 317.562);
--secondary-foreground: oklch(0.251 0.069 317.096);
--accent: oklch(0.773 0.069 2.283);
--accent-foreground: oklch(0.251 0.055 6.058);
--destructive: oklch(0.538 0.205 31.534);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.781 0.086 335.626);
--chart-1: oklch(0.781 0.086 335.626);
--chart-2: oklch(0.773 0.091 317.562);
--chart-3: oklch(0.773 0.069 2.283);
--chart-4: oklch(0.8 0.079 317.597);
--chart-5: oklch(0.78 0.092 335.742);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.01 334.295);
--foreground: oklch(0.976 0.004 333.946);
--muted: oklch(0.168 0.004 317.728);
--muted-foreground: oklch(0.728 0.011 317.737);
--popover: oklch(0.111 0.013 334.295);
--popover-foreground: oklch(0.984 0.003 333.923);
--card: oklch(0.111 0.013 334.295);
--card-foreground: oklch(0.984 0.003 333.923);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.781 0.086 335.626);
--primary-foreground: oklch(0.259 0.066 337.821);
--secondary: oklch(0.773 0.091 317.562);
--secondary-foreground: oklch(0.251 0.069 317.096);
--accent: oklch(0.773 0.069 2.283);
--accent-foreground: oklch(0.251 0.055 6.058);
--destructive: oklch(0.663 0.219 32.367);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.781 0.086 335.626);
--chart-1: oklch(0.781 0.086 335.626);
--chart-2: oklch(0.773 0.091 317.562);
--chart-3: oklch(0.773 0.069 2.283);
--chart-4: oklch(0.8 0.079 317.597);
--chart-5: oklch(0.78 0.092 335.742);
}