Fire is a shadcn/ui theme built around a vivid deep green primary color (#145502) with vivid deep purple accents (#430255). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#145502) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #061202black | #f7f9f6whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040e02black | #f9fbf9mintcream |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #040e02black | #f9fbf9mintcream |
| Primary | #145502darkgreen | #145502darkgreen |
| Primary foreground | #56fb28lawngreen | #56fb28lawngreen |
| Secondary | #430255indigo | #430255indigo |
| Secondary foreground | #e48cfdviolet | #e48cfdviolet |
| Muted | #efe9f1lavender | #140e16black |
| Muted foreground | #48394cdarkslategray | #c2b3c6silver |
| Accent | #430255indigo | #430255indigo |
| Accent foreground | #e48cfdviolet | #e48cfdviolet |
| Destructive | #a5240dfirebrick | #ee4c2ftomato |
| Destructive foreground | #fdebe7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #145502darkgreen | #145502darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.17:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 6.53:1 | AA |
| Secondary button | 6.87:1 | AA |
| Muted text | 8.96:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 6.36:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 6.53:1 | AA |
| Secondary button | 6.87:1 | AA |
| Muted text | 9.57:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Fire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.166 0.042 137.203);
--muted: oklch(0.942 0.013 318.886);
--muted-foreground: oklch(0.368 0.037 318.849);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.147 0.036 136.676);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.147 0.036 136.676);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.393 0.126 140.433);
--primary-foreground: oklch(0.867 0.269 140.382);
--secondary: oklch(0.285 0.136 316.747);
--secondary-foreground: oklch(0.772 0.179 318.688);
--accent: oklch(0.285 0.136 316.747);
--accent-foreground: oklch(0.772 0.179 318.688);
--destructive: oklch(0.473 0.168 32.134);
--destructive-foreground: oklch(0.953 0.021 29.555);
--ring: oklch(0.393 0.126 140.433);
--chart-1: oklch(0.393 0.126 140.433);
--chart-2: oklch(0.285 0.136 316.747);
--chart-3: oklch(0.285 0.136 316.747);
--chart-4: oklch(0.318 0.153 316.496);
--chart-5: oklch(0.397 0.129 140.466);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.979 0.004 138.892);
--muted: oklch(0.175 0.019 318.841);
--muted-foreground: oklch(0.786 0.03 318.877);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.986 0.003 138.892);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.003 138.892);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.393 0.126 140.433);
--primary-foreground: oklch(0.867 0.269 140.382);
--secondary: oklch(0.285 0.136 316.747);
--secondary-foreground: oklch(0.772 0.179 318.688);
--accent: oklch(0.285 0.136 316.747);
--accent-foreground: oklch(0.772 0.179 318.688);
--destructive: oklch(0.641 0.203 32.38);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.393 0.126 140.433);
--chart-1: oklch(0.393 0.126 140.433);
--chart-2: oklch(0.285 0.136 316.747);
--chart-3: oklch(0.285 0.136 316.747);
--chart-4: oklch(0.318 0.153 316.496);
--chart-5: oklch(0.397 0.129 140.466);
}