Burrow is a shadcn/ui theme built around a neutral gray primary color (#515252) with neutral gray accents (#525151). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the neutral gray primary (#515252) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #010304black |
| Foreground | #030d11black | #f4f8fawhitesmoke |
| Card | #fbfdfewhite | #010304black |
| Card foreground | #030d11black | #f4f8fawhitesmoke |
| Popover | #fbfdfewhite | #010304black |
| Popover foreground | #030d11black | #f4f8fawhitesmoke |
| Primary | #515252darkslategray | #515252darkslategray |
| Primary foreground | #eaebeblavender | #eaebeblavender |
| Secondary | #525151darkslategray | #525151darkslategray |
| Secondary foreground | #ebebealinen | #ebebealinen |
| Muted | #f0ecealinen | #15110fblack |
| Muted foreground | #5e4e45darkolivegreen | #baa9a1darkgray |
| Accent | #525151darkslategray | #525151darkslategray |
| Accent foreground | #ebebealinen | #ebebealinen |
| Destructive | #c33113firebrick | #e33916orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #515252darkslategray | #515252darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 6.57:1 | AA |
| Secondary button | 6.59:1 | AA |
| Muted text | 6.75:1 | AA |
| Accent | 6.59:1 | AA |
| Destructive | 5.58:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 6.57:1 | AA |
| Secondary button | 6.59:1 | AA |
| Muted text | 8.30:1 | AAA |
| Accent | 6.59:1 | AA |
| Destructive | 4.31:1 | AA Large |
Paste this into your globals.css to use Burrow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 228.783);
--foreground: oklch(0.149 0.02 226.501);
--muted: oklch(0.946 0.005 48.684);
--muted-foreground: oklch(0.436 0.026 48.11);
--popover: oklch(0.993 0.002 228.783);
--popover-foreground: oklch(0.149 0.02 226.501);
--card: oklch(0.993 0.002 228.783);
--card-foreground: oklch(0.149 0.02 226.501);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.437 0.002 228.8);
--primary-foreground: oklch(0.939 0 228.756);
--secondary: oklch(0.437 0.002 48.703);
--secondary-foreground: oklch(0.939 0 48.747);
--accent: oklch(0.437 0.002 48.703);
--accent-foreground: oklch(0.939 0 48.747);
--destructive: oklch(0.538 0.187 32.815);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.437 0.002 228.8);
--chart-1: oklch(0.437 0.002 228.8);
--chart-2: oklch(0.437 0.002 48.703);
--chart-3: oklch(0.437 0.002 48.703);
--chart-4: oklch(0.465 0.002 48.703);
--chart-5: oklch(0.438 0.007 228.954);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.007 223.839);
--foreground: oklch(0.978 0.005 228.816);
--muted: oklch(0.181 0.008 48.262);
--muted-foreground: oklch(0.747 0.022 48.407);
--popover: oklch(0.093 0.007 223.839);
--popover-foreground: oklch(0.978 0.005 228.816);
--card: oklch(0.093 0.007 223.839);
--card-foreground: oklch(0.978 0.005 228.816);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.437 0.002 228.8);
--primary-foreground: oklch(0.939 0 228.756);
--secondary: oklch(0.437 0.002 48.703);
--secondary-foreground: oklch(0.939 0 48.747);
--accent: oklch(0.437 0.002 48.703);
--accent-foreground: oklch(0.939 0 48.747);
--destructive: oklch(0.603 0.211 32.747);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.437 0.002 228.8);
--chart-1: oklch(0.437 0.002 228.8);
--chart-2: oklch(0.437 0.002 48.703);
--chart-3: oklch(0.437 0.002 48.703);
--chart-4: oklch(0.465 0.002 48.703);
--chart-5: oklch(0.438 0.007 228.954);
}