Bonfire is a shadcn/ui theme built around a muted deep teal primary color (#1e332e) with muted deep cyan accents (#1e2e33). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep teal primary (#1e332e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #03110eblack | #f9fbfamintcream |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #030d0ablack | #fcfdfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #03110eblack | #f9fbfamintcream |
| Primary | #1e332edarkslategray | #1e332edarkslategray |
| Primary foreground | #b2d2calightsteelblue | #b2d2calightsteelblue |
| Secondary | #1e3324darkslategray | #1e3324darkslategray |
| Secondary foreground | #b2d2basilver | #b2d2basilver |
| Muted | #d9e7ddgainsboro | #18261bblack |
| Muted foreground | #435648darkslategray | #a9bcaedarkgray |
| Accent | #1e2e33darkslategray | #1e2e33darkslategray |
| Accent foreground | #b2c9d2lightsteelblue | #b2c9d2lightsteelblue |
| Destructive | #712e09saddlebrown | #ed6c26chocolate |
| Destructive foreground | #f9ccb4peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1e332edarkslategray | #1e332edarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.25:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 8.22:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 6.19:1 | AA |
| Accent | 8.16:1 | AAA |
| Destructive | 6.84:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 8.22:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 7.90:1 | AAA |
| Accent | 8.16:1 | AAA |
| Destructive | 6.77:1 | AA |
Paste this into your globals.css to use Bonfire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.163 0.022 178.134);
--muted: oklch(0.916 0.02 154.129);
--muted-foreground: oklch(0.432 0.032 153.152);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.163 0.022 178.134);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.145 0.019 179.991);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.303 0.029 177.899);
--primary-foreground: oklch(0.837 0.035 179.717);
--secondary: oklch(0.3 0.039 151.907);
--secondary-foreground: oklch(0.833 0.047 153.49);
--accent: oklch(0.289 0.023 222.494);
--accent-foreground: oklch(0.822 0.028 221.663);
--destructive: oklch(0.39 0.106 44.047);
--destructive-foreground: oklch(0.877 0.061 49.841);
--ring: oklch(0.303 0.029 177.899);
--chart-1: oklch(0.303 0.029 177.899);
--chart-2: oklch(0.3 0.039 151.907);
--chart-3: oklch(0.289 0.023 222.494);
--chart-4: oklch(0.334 0.045 151.798);
--chart-5: oklch(0.306 0.032 177.559);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 180.909);
--muted: oklch(0.251 0.027 152.388);
--muted-foreground: oklch(0.776 0.028 153.883);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 180.909);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 180.935);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.303 0.029 177.899);
--primary-foreground: oklch(0.837 0.035 179.717);
--secondary: oklch(0.3 0.039 151.907);
--secondary-foreground: oklch(0.833 0.047 153.49);
--accent: oklch(0.289 0.023 222.494);
--accent-foreground: oklch(0.822 0.028 221.663);
--destructive: oklch(0.679 0.178 44.673);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.303 0.029 177.899);
--chart-1: oklch(0.303 0.029 177.899);
--chart-2: oklch(0.3 0.039 151.907);
--chart-3: oklch(0.289 0.023 222.494);
--chart-4: oklch(0.334 0.045 151.798);
--chart-5: oklch(0.306 0.032 177.559);
}