Backburn is a shadcn/ui theme built around a purple primary color (#d35fcb) with green accents (#5fd367). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#d35fcb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #150514black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #150514black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #150514black | #ffffffwhite |
| Primary | #d35fcborchid | #d35fcborchid |
| Primary foreground | #000000black | #000000black |
| Secondary | #5fd367mediumseagreen | #5fd367mediumseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #eceeecwhitesmoke | #111311black |
| Muted foreground | #424342darkslategray | #bcbdbcsilver |
| Accent | #5fd367mediumseagreen | #5fd367mediumseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #9e1200darkred | #ff3d24orangered |
| Destructive foreground | #ffd6d1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d35fcborchid | #d35fcborchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 11.01:1 | AAA |
| Muted text | 8.53:1 | AAA |
| Accent | 11.01:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.27:1 | AA |
| Secondary button | 11.01:1 | AAA |
| Muted text | 9.91:1 | AAA |
| Accent | 11.01:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Backburn in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.151 0.042 329.829);
--muted: oklch(0.948 0.003 147.509);
--muted-foreground: oklch(0.381 0.003 147.475);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.151 0.042 329.829);
--card: oklch(1 0 180);
--card-foreground: oklch(0.151 0.042 329.829);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.666 0.195 330.118);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.775 0.182 144.778);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.775 0.182 144.778);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.446 0.174 31.083);
--destructive-foreground: oklch(0.91 0.046 26.861);
--ring: oklch(0.666 0.195 330.118);
--chart-1: oklch(0.666 0.195 330.118);
--chart-2: oklch(0.775 0.182 144.778);
--chart-3: oklch(0.775 0.182 144.778);
--chart-4: oklch(0.79 0.17 145.051);
--chart-5: oklch(0.668 0.203 330.221);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.183 0.005 147.258);
--muted-foreground: oklch(0.798 0.002 147.518);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.666 0.195 330.118);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.775 0.182 144.778);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.775 0.182 144.778);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.655 0.232 31.04);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.666 0.195 330.118);
--chart-1: oklch(0.666 0.195 330.118);
--chart-2: oklch(0.775 0.182 144.778);
--chart-3: oklch(0.775 0.182 144.778);
--chart-4: oklch(0.79 0.17 145.051);
--chart-5: oklch(0.668 0.203 330.221);
}