Burning is a shadcn/ui theme built around a deep purple primary color (#220623) with muted light purple accents (#ddd4de). The light mode uses a neutral background (#fefbfe). Dark mode keeps the deep purple primary (#220623) on a purple-tinted background (#0f0510).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #0f0510black |
| Foreground | #000000black | #fdfcfdwhite |
| Card | #fefbfewhite | #0f0510black |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fefbfewhite | #0f0510black |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #220623black | #220623black |
| Primary foreground | #e373e7orchid | #e373e7orchid |
| Secondary | #e9e7e9lavender | #271b27black |
| Secondary foreground | #534b53darkslategray | #c6adc7silver |
| Muted | #e6d5e7gainsboro | #2a182ablack |
| Muted foreground | #483c49darkslategray | #c3b6c3silver |
| Accent | #ddd4degainsboro | #3c243ddarkslategray |
| Accent foreground | #473748darkslategray | #d6bcd7thistle |
| Destructive | #bd2f0ffirebrick | #d43511firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #220623black | #220623black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.43:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 7.04:1 | AAA |
| Secondary button | 6.82:1 | AA |
| Muted text | 7.44:1 | AAA |
| Accent | 7.61:1 | AAA |
| Destructive | 5.88:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.04:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 8.55:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.85:1 | AA |
Paste this into your globals.css to use Burning in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 324.649);
--foreground: oklch(0 0 0);
--muted: oklch(0.892 0.031 324.834);
--muted-foreground: oklch(0.373 0.028 325.082);
--popover: oklch(0.991 0.005 324.649);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.005 324.649);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.189 0.067 326.473);
--primary-foreground: oklch(0.726 0.197 326.11);
--secondary: oklch(0.93 0.004 324.645);
--secondary-foreground: oklch(0.423 0.016 324.859);
--accent: oklch(0.88 0.017 324.741);
--accent-foreground: oklch(0.362 0.035 325.211);
--destructive: oklch(0.526 0.183 33.348);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.189 0.067 326.473);
--chart-1: oklch(0.189 0.067 326.473);
--chart-2: oklch(0.93 0.004 324.645);
--chart-3: oklch(0.88 0.017 324.741);
--chart-4: oklch(0.954 0.003 324.636);
--chart-5: oklch(0.189 0.069 326.526);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.031 325.99);
--foreground: oklch(0.992 0.003 324.635);
--muted: oklch(0.241 0.042 325.628);
--muted-foreground: oklch(0.791 0.023 324.804);
--popover: oklch(0.139 0.031 325.99);
--popover-foreground: oklch(0.992 0.003 324.635);
--card: oklch(0.139 0.031 325.99);
--card-foreground: oklch(0.992 0.003 324.635);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.189 0.067 326.473);
--primary-foreground: oklch(0.726 0.197 326.11);
--secondary: oklch(0.242 0.03 325.352);
--secondary-foreground: oklch(0.778 0.046 324.987);
--accent: oklch(0.301 0.055 325.683);
--accent-foreground: oklch(0.825 0.048 324.983);
--destructive: oklch(0.573 0.201 33.271);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.189 0.067 326.473);
--chart-1: oklch(0.189 0.067 326.473);
--chart-2: oklch(0.242 0.03 325.352);
--chart-3: oklch(0.301 0.055 325.683);
--chart-4: oklch(0.273 0.035 325.392);
--chart-5: oklch(0.189 0.069 326.526);
}