Fiery is a shadcn/ui theme built around a deep red primary color (#2b0d0d) with deep indigo accents (#0d0d2b). The light mode uses a neutral background (#fdf6f6). Dark mode keeps the deep red primary (#2b0d0d) on a neutral background (#070303).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6f6snow | #070303black |
| Foreground | #100404black | #ffffffwhite |
| Card | #fdf2f2lavenderblush | #0b0404black |
| Card foreground | #0c0303black | #ffffffwhite |
| Popover | #fdf6f6snow | #070303black |
| Popover foreground | #100404black | #ffffffwhite |
| Primary | #2b0d0dblack | #2b0d0dblack |
| Primary foreground | #dc8e8edarksalmon | #dc8e8edarksalmon |
| Secondary | #0d2b0dblack | #0d2b0dblack |
| Secondary foreground | #40c440limegreen | #40c440limegreen |
| Muted | #e6efe6beige | #101910black |
| Muted foreground | #445044darkslategray | #afbbafdarkgray |
| Accent | #0d0d2bblack | #0d0d2bblack |
| Accent foreground | #8e8edcmediumpurple | #8e8edcmediumpurple |
| Destructive | #df2201red | #fe3816orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2b0d0dblack | #2b0d0dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.97:1 | AAA |
| Text on card | 18.59:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 6.71:1 | AA |
| Muted text | 7.22:1 | AAA |
| Accent | 6.35:1 | AA |
| Destructive | 4.79:1 | AA |
| Text on background | 20.52:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 6.71:1 | AA |
| Muted text | 9.02:1 | AAA |
| Accent | 6.35:1 | AA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Fiery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.008 17.287);
--foreground: oklch(0.132 0.025 21.127);
--muted: oklch(0.943 0.016 145.448);
--muted-foreground: oklch(0.417 0.025 145.118);
--popover: oklch(0.98 0.008 17.287);
--popover-foreground: oklch(0.132 0.025 21.127);
--card: oklch(0.969 0.012 17.356);
--card-foreground: oklch(0.118 0.022 20.929);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.209 0.05 22.337);
--primary-foreground: oklch(0.726 0.096 19.655);
--secondary: oklch(0.258 0.063 143.461);
--secondary-foreground: oklch(0.723 0.207 143.066);
--accent: oklch(0.181 0.059 278.793);
--accent-foreground: oklch(0.678 0.115 282.91);
--destructive: oklch(0.579 0.223 31.393);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.209 0.05 22.337);
--chart-1: oklch(0.209 0.05 22.337);
--chart-2: oklch(0.258 0.063 143.461);
--chart-3: oklch(0.181 0.059 278.793);
--chart-4: oklch(0.298 0.077 143.347);
--chart-5: oklch(0.209 0.052 22.721);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.013 19.476);
--foreground: oklch(1 0 180);
--muted: oklch(0.201 0.023 144.659);
--muted-foreground: oklch(0.779 0.021 145.369);
--popover: oklch(0.107 0.013 19.476);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.015 19.482);
--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.209 0.05 22.337);
--primary-foreground: oklch(0.726 0.096 19.655);
--secondary: oklch(0.258 0.063 143.461);
--secondary-foreground: oklch(0.723 0.207 143.066);
--accent: oklch(0.181 0.059 278.793);
--accent-foreground: oklch(0.678 0.115 282.91);
--destructive: oklch(0.649 0.235 31.988);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.209 0.05 22.337);
--chart-1: oklch(0.209 0.05 22.337);
--chart-2: oklch(0.258 0.063 143.461);
--chart-3: oklch(0.181 0.059 278.793);
--chart-4: oklch(0.298 0.077 143.347);
--chart-5: oklch(0.209 0.052 22.721);
}