Bootie is a shadcn/ui theme built around a vivid purple primary color (#fa0fb8) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid purple primary (#fa0fb8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #090107black | #fdfcfdwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040103black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #090107black | #fdfcfdwhite |
| Primary | #fa0fb8deeppink | #fa0fb8deeppink |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d9d9d9gainsboro | #201d1fblack |
| Secondary foreground | #404040darkslategray | #bab5b9silver |
| Muted | #e7e4e4gainsboro | #1b181ablack |
| Muted foreground | #645959dimgray | #a69ba3darkgray |
| Accent | #d9d9d9gainsboro | #201d1fblack |
| Accent foreground | #404040darkslategray | #bab5b9silver |
| Destructive | #6e2d0csaddlebrown | #d85818chocolate |
| Destructive foreground | #f7cbb6peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fa0fb8deeppink | #fa0fb8deeppink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 3.60:1 | AA Large |
| Secondary button | 7.32:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.93:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 3.60:1 | AA Large |
| Secondary button | 8.25:1 | AAA |
| Muted text | 6.58:1 | AA |
| Accent | 8.25:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Bootie in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.104 0.032 336.018);
--muted: oklch(0.921 0.004 17.228);
--muted-foreground: oklch(0.474 0.015 17.686);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.104 0.032 336.018);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.082 0.025 336.018);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.66 0.276 344.974);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.885 0 180);
--secondary-foreground: oklch(0.371 0 168.69);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.384 0.102 43.445);
--destructive-foreground: oklch(0.875 0.058 48.041);
--ring: oklch(0.66 0.276 344.974);
--chart-1: oklch(0.66 0.276 344.974);
--chart-2: oklch(0.885 0 180);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.908 0 180);
--chart-5: oklch(0.666 0.28 345.259);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.002 335.22);
--muted: oklch(0.213 0.007 335.812);
--muted-foreground: oklch(0.702 0.017 335.638);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.002 335.22);
--card: oklch(0.092 0 180);
--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.66 0.276 344.974);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.236 0.005 335.569);
--secondary-foreground: oklch(0.778 0.009 335.391);
--accent: oklch(0.236 0.005 335.569);
--accent-foreground: oklch(0.778 0.009 335.391);
--destructive: oklch(0.618 0.175 42.305);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.66 0.276 344.974);
--chart-1: oklch(0.66 0.276 344.974);
--chart-2: oklch(0.236 0.005 335.569);
--chart-3: oklch(0.236 0.005 335.569);
--chart-4: oklch(0.267 0.006 335.594);
--chart-5: oklch(0.666 0.28 345.259);
}