Burrow is a shadcn/ui theme built around a muted deep violet primary color (#28202d) with muted deep teal accents (#202d28). The light mode uses a neutral background (#faf8fc). Dark mode keeps the muted deep violet primary (#28202d) on a violet-tinted background (#09030c).
| Token | Light | Dark |
|---|---|---|
| Background | #faf8fcghostwhite | #09030cblack |
| Foreground | #060208black | #ffffffwhite |
| Card | #f8f4fbghostwhite | #0c0410black |
| Card foreground | #030104black | #ffffffwhite |
| Popover | #faf8fcghostwhite | #09030cblack |
| Popover foreground | #060208black | #ffffffwhite |
| Primary | #28202ddarkslategray | #28202ddarkslategray |
| Primary foreground | #c2b4casilver | #c2b4casilver |
| Secondary | #2d2820darkslategray | #2d2820darkslategray |
| Secondary foreground | #cac2b4silver | #cac2b4silver |
| Muted | #e2ddd4gainsboro | #2b251dblack |
| Muted foreground | #61594cdimgray | #b3ab9edarkgray |
| Accent | #202d28darkslategray | #202d28darkslategray |
| Accent foreground | #b4cac2silver | #b4cac2silver |
| Destructive | #c13401firebrick | #fe5f25tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #28202ddarkslategray | #28202ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.47:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 5.10:1 | AA |
| Accent | 8.31:1 | AAA |
| Destructive | 5.58:1 | AA |
| Text on background | 20.38:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 6.65:1 | AA |
| Accent | 8.31:1 | AAA |
| Destructive | 6.86:1 | AA |
Paste this into your globals.css to use Burrow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 312.937);
--foreground: oklch(0.102 0.026 315.137);
--muted: oklch(0.899 0.013 79.903);
--muted-foreground: oklch(0.468 0.023 79.742);
--popover: oklch(0.981 0.007 312.937);
--popover-foreground: oklch(0.102 0.026 315.137);
--card: oklch(0.972 0.01 312.913);
--card-foreground: oklch(0.081 0.021 315.137);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.257 0.027 312.284);
--primary-foreground: oklch(0.789 0.034 312.697);
--secondary: oklch(0.279 0.016 79.67);
--secondary-foreground: oklch(0.816 0.021 79.867);
--accent: oklch(0.282 0.02 169.363);
--accent-foreground: oklch(0.821 0.026 170.642);
--destructive: oklch(0.537 0.184 35.874);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.257 0.027 312.284);
--chart-1: oklch(0.257 0.027 312.284);
--chart-2: oklch(0.279 0.016 79.67);
--chart-3: oklch(0.282 0.02 169.363);
--chart-4: oklch(0.311 0.019 79.648);
--chart-5: oklch(0.256 0.031 312.151);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.028 314.642);
--foreground: oklch(1 0 180);
--muted: oklch(0.269 0.018 79.593);
--muted-foreground: oklch(0.743 0.02 79.859);
--popover: oklch(0.118 0.028 314.642);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.032 313.13);
--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.257 0.027 312.284);
--primary-foreground: oklch(0.789 0.034 312.697);
--secondary: oklch(0.279 0.016 79.67);
--secondary-foreground: oklch(0.816 0.021 79.867);
--accent: oklch(0.282 0.02 169.363);
--accent-foreground: oklch(0.821 0.026 170.642);
--destructive: oklch(0.686 0.205 38.303);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.257 0.027 312.284);
--chart-1: oklch(0.257 0.027 312.284);
--chart-2: oklch(0.279 0.016 79.67);
--chart-3: oklch(0.282 0.02 169.363);
--chart-4: oklch(0.311 0.019 79.648);
--chart-5: oklch(0.256 0.031 312.151);
}