Birthstone Bedbug is a shadcn/ui theme built around a muted purple primary color (#76527a) with muted pink accents (#7a526a). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the muted purple primary (#76527a) on a neutral background (#070307).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #070307black |
| Foreground | #100311black | #fdfcfdwhite |
| Card | #fcf7fdghostwhite | #070307black |
| Card foreground | #100311black | #fdfcfdwhite |
| Popover | #fcf7fdghostwhite | #070307black |
| Popover foreground | #100311black | #fdfcfdwhite |
| Primary | #76527adimgray | #76527adimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #62527adimgray | #62527adimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9e5f1lavender | #130e1ablack |
| Muted foreground | #635973dimgray | #968ca6lightslategray |
| Accent | #7a526adimgray | #7a526adimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a23511brown | #eb693dtomato |
| Destructive foreground | #fdede8linen | #000000black |
| Border | #eae5eblavender | #221b23black |
| Input | #eae5eblavender | #221b23black |
| Ring | #76527adimgray | #76527adimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 7.00:1 | AAA |
| Muted text | 5.27:1 | AA |
| Accent | 6.48:1 | AA |
| Destructive | 6.05:1 | AA |
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 7.00:1 | AAA |
| Muted text | 5.95:1 | AA |
| Accent | 6.48:1 | AA |
| Destructive | 6.58:1 | AA |
Paste this into your globals.css to use Birthstone Bedbug in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.01 322.669);
--foreground: oklch(0.135 0.041 324.155);
--muted: oklch(0.928 0.017 304.089);
--muted-foreground: oklch(0.483 0.044 303.04);
--popover: oklch(0.982 0.01 322.669);
--popover-foreground: oklch(0.135 0.041 324.155);
--card: oklch(0.982 0.01 322.669);
--card-foreground: oklch(0.135 0.041 324.155);
--border: oklch(0.928 0.01 322.669);
--input: oklch(0.928 0.01 322.669);
--primary: oklch(0.492 0.077 323.202);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.47 0.067 302.243);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.49 0.065 343.025);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.484 0.15 37.077);
--destructive-foreground: oklch(0.957 0.018 39.397);
--ring: oklch(0.492 0.077 323.202);
--chart-1: oklch(0.492 0.077 323.202);
--chart-2: oklch(0.47 0.067 302.243);
--chart-3: oklch(0.49 0.065 343.025);
--chart-4: oklch(0.494 0.071 302.223);
--chart-5: oklch(0.491 0.089 323.273);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.018 323.93);
--foreground: oklch(0.992 0.001 322.632);
--muted: oklch(0.178 0.025 302.297);
--muted-foreground: oklch(0.657 0.041 303.46);
--popover: oklch(0.11 0.018 323.93);
--popover-foreground: oklch(0.992 0.001 322.632);
--card: oklch(0.11 0.018 323.93);
--card-foreground: oklch(0.992 0.001 322.632);
--border: oklch(0.232 0.018 322.934);
--input: oklch(0.232 0.018 322.934);
--primary: oklch(0.492 0.077 323.202);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.47 0.067 302.243);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.49 0.065 343.025);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.672 0.172 38.526);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.492 0.077 323.202);
--chart-1: oklch(0.492 0.077 323.202);
--chart-2: oklch(0.47 0.067 302.243);
--chart-3: oklch(0.49 0.065 343.025);
--chart-4: oklch(0.494 0.071 302.223);
--chart-5: oklch(0.491 0.089 323.273);
}