Toothbrush is a shadcn/ui theme built around a pink primary color (#bb6398) with red accents (#bb636c). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the pink primary (#bb6398) on a pink-tinted background (#0f050b).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #0f050bblack |
| Foreground | #0e0209black | #fdfcfdwhite |
| Card | #fcf8fasnow | #0f050bblack |
| Card foreground | #0e0209black | #fdfcfdwhite |
| Popover | #fcf8fasnow | #0f050bblack |
| Popover foreground | #0e0209black | #fdfcfdwhite |
| Primary | #bb6398palevioletred | #bb6398palevioletred |
| Primary foreground | #000000black | #000000black |
| Secondary | #b263bbmediumorchid | #b263bbmediumorchid |
| Secondary foreground | #000000black | #000000black |
| Muted | #f4eaf6whitesmoke | #140915black |
| Muted foreground | #474248darkslategray | #bcb7bdsilver |
| Accent | #bb636cindianred | #bb636cindianred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d14600orangered | #ff7029tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bb6398palevioletred | #bb6398palevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 5.33:1 | AA |
| Secondary button | 5.38:1 | AA |
| Muted text | 8.38:1 | AAA |
| Accent | 4.11:1 | AA Large |
| Destructive | 4.58:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 5.33:1 | AA |
| Secondary button | 5.38:1 | AA |
| Muted text | 9.84:1 | AAA |
| Accent | 4.11:1 | AA Large |
| Destructive | 7.61:1 | AAA |
Paste this into your globals.css to use Toothbrush in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 340.38);
--foreground: oklch(0.118 0.037 341.239);
--muted: oklch(0.948 0.019 322.707);
--muted-foreground: oklch(0.386 0.011 322.743);
--popover: oklch(0.982 0.006 340.38);
--popover-foreground: oklch(0.118 0.037 341.239);
--card: oklch(0.982 0.006 340.38);
--card-foreground: oklch(0.118 0.037 341.239);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.618 0.129 344.63);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.622 0.152 323.442);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.604 0.112 14.694);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.584 0.186 39.275);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.618 0.129 344.63);
--chart-1: oklch(0.618 0.129 344.63);
--chart-2: oklch(0.622 0.152 323.442);
--chart-3: oklch(0.604 0.112 14.694);
--chart-4: oklch(0.647 0.142 323.381);
--chart-5: oklch(0.617 0.138 344.963);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.024 342.17);
--foreground: oklch(0.992 0.002 340.272);
--muted: oklch(0.163 0.029 323.265);
--muted-foreground: oklch(0.786 0.009 322.675);
--popover: oklch(0.137 0.024 342.17);
--popover-foreground: oklch(0.992 0.002 340.272);
--card: oklch(0.137 0.024 342.17);
--card-foreground: oklch(0.992 0.002 340.272);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.618 0.129 344.63);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.622 0.152 323.442);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.604 0.112 14.694);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.711 0.191 43.269);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.618 0.129 344.63);
--chart-1: oklch(0.618 0.129 344.63);
--chart-2: oklch(0.622 0.152 323.442);
--chart-3: oklch(0.604 0.112 14.694);
--chart-4: oklch(0.647 0.142 323.381);
--chart-5: oklch(0.617 0.138 344.963);
}