Toothbrush is a shadcn/ui theme built around a near-white primary color (#fefdfb) with near-white accents (#fdfbfe). The light mode uses a neutral background (#fcfaf7). Dark mode keeps the near-white primary (#fefdfb) on an orange-tinted background (#0f0b06).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf7snow | #0f0b06black |
| Foreground | #120b03black | #fdfdfcwhite |
| Card | #fbf8f4floralwhite | #120d07black |
| Card foreground | #0d0802black | #ffffffwhite |
| Popover | #fbf8f4floralwhite | #120d07black |
| Popover foreground | #0d0802black | #ffffffwhite |
| Primary | #fefdfbsnow | #fefdfbsnow |
| Primary foreground | #47331adarkolivegreen | #47331adarkolivegreen |
| Secondary | #fbfefdwhite | #fbfefdwhite |
| Secondary foreground | #1a4733darkslategray | #1a4733darkslategray |
| Muted | #e2eee9lavender | #111d18black |
| Muted foreground | #3d4340darkslategray | #bcc2c0silver |
| Accent | #fdfbfewhite | #fdfbfewhite |
| Accent foreground | #683691rebeccapurple | #683691rebeccapurple |
| Destructive | #6f1201maroon | #e32402orangered |
| Destructive foreground | #feb2a4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fefdfbsnow | #fefdfbsnow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.78:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 10.36:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 10.36:1 | AAA |
| Muted text | 9.55:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Toothbrush in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 73.187);
--foreground: oklch(0.155 0.023 77.99);
--muted: oklch(0.939 0.016 167.346);
--muted-foreground: oklch(0.376 0.01 167.08);
--popover: oklch(0.98 0.006 73.171);
--popover-foreground: oklch(0.14 0.021 81.738);
--card: oklch(0.98 0.006 73.171);
--card-foreground: oklch(0.14 0.021 81.738);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.993 0.002 73.204);
--primary-foreground: oklch(0.337 0.048 70.549);
--secondary: oklch(0.994 0.003 167.734);
--secondary-foreground: oklch(0.359 0.061 161.488);
--accent: oklch(0.991 0.003 310.406);
--accent-foreground: oklch(0.441 0.148 306.635);
--destructive: oklch(0.351 0.129 32.627);
--destructive-foreground: oklch(0.832 0.092 30.266);
--ring: oklch(0.993 0.002 73.204);
--chart-1: oklch(0.993 0.002 73.204);
--chart-2: oklch(0.994 0.003 167.734);
--chart-3: oklch(0.991 0.003 310.406);
--chart-4: oklch(1.012 0.006 347.965);
--chart-5: oklch(0.993 0.002 73.203);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.151 0.014 75.81);
--foreground: oklch(0.993 0.001 73.208);
--muted: oklch(0.218 0.021 164.71);
--muted-foreground: oklch(0.81 0.008 167.535);
--popover: oklch(0.165 0.016 73.314);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.165 0.016 73.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.993 0.002 73.204);
--primary-foreground: oklch(0.337 0.048 70.549);
--secondary: oklch(0.994 0.003 167.734);
--secondary-foreground: oklch(0.359 0.061 161.488);
--accent: oklch(0.991 0.003 310.406);
--accent-foreground: oklch(0.441 0.148 306.635);
--destructive: oklch(0.587 0.225 31.4);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.993 0.002 73.204);
--chart-1: oklch(0.993 0.002 73.204);
--chart-2: oklch(0.994 0.003 167.734);
--chart-3: oklch(0.991 0.003 310.406);
--chart-4: oklch(1.012 0.006 347.965);
--chart-5: oklch(0.993 0.002 73.203);
}