Burn is a shadcn/ui theme built around a teal primary color (#2a7e83) with neutral gray accents (#dadddd). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the teal primary (#2a7e83) on a teal-tinted background (#050a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #050a0ablack |
| Foreground | #010404black | #fcfdfdwhite |
| Card | #f8fbfcghostwhite | #050a0ablack |
| Card foreground | #010404black | #fcfdfdwhite |
| Popover | #f8fbfcghostwhite | #050a0ablack |
| Popover foreground | #010404black | #fcfdfdwhite |
| Primary | #2a7e83teal | #2a7e83teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #daddddgainsboro | #2a2c2cdarkslategray |
| Secondary foreground | #404545darkslategray | #c3c5c6silver |
| Muted | #d3e3e4gainsboro | #1b2b2cdarkslategray |
| Muted foreground | #4c4d4ddarkslategray | #b2b3b3darkgray |
| Accent | #daddddgainsboro | #2a2c2cdarkslategray |
| Accent foreground | #404545darkslategray | #c3c5c6silver |
| Destructive | #993300saddlebrown | #ff6d24tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2a7e83teal | #2a7e83teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 4.73:1 | AA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 6.40:1 | AA |
| Accent | 7.10:1 | AAA |
| Destructive | 7.42:1 | AAA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 4.73:1 | AA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 8.08:1 | AAA |
| Destructive | 7.45:1 | AAA |
Paste this into your globals.css to use Burn in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.003 200.849);
--foreground: oklch(0.1 0.012 198.544);
--muted: oklch(0.904 0.017 200.661);
--muted-foreground: oklch(0.42 0.002 200.834);
--popover: oklch(0.987 0.003 200.849);
--popover-foreground: oklch(0.1 0.012 198.544);
--card: oklch(0.987 0.003 200.849);
--card-foreground: oklch(0.1 0.012 198.544);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.547 0.079 200.114);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.894 0.003 200.849);
--secondary-foreground: oklch(0.385 0.007 200.682);
--accent: oklch(0.894 0.003 200.849);
--accent-foreground: oklch(0.385 0.007 200.682);
--destructive: oklch(0.466 0.145 40.248);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.547 0.079 200.114);
--chart-1: oklch(0.547 0.079 200.114);
--chart-2: oklch(0.894 0.003 200.849);
--chart-3: oklch(0.894 0.003 200.849);
--chart-4: oklch(0.917 0.002 200.859);
--chart-5: oklch(0.554 0.082 200.165);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.01 199.479);
--foreground: oklch(0.993 0.001 200.881);
--muted: oklch(0.277 0.022 200.121);
--muted-foreground: oklch(0.766 0.002 200.863);
--popover: oklch(0.138 0.01 199.479);
--popover-foreground: oklch(0.993 0.001 200.881);
--card: oklch(0.138 0.01 199.479);
--card-foreground: oklch(0.993 0.001 200.881);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.547 0.079 200.114);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.292 0.002 200.791);
--secondary-foreground: oklch(0.823 0.002 200.853);
--accent: oklch(0.292 0.002 200.791);
--accent-foreground: oklch(0.823 0.002 200.853);
--destructive: oklch(0.706 0.195 42.811);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.547 0.079 200.114);
--chart-1: oklch(0.547 0.079 200.114);
--chart-2: oklch(0.292 0.002 200.791);
--chart-3: oklch(0.292 0.002 200.791);
--chart-4: oklch(0.323 0.003 200.787);
--chart-5: oklch(0.554 0.082 200.165);
}