Enraged is a shadcn/ui theme built around a muted deep blue primary color (#2d3343) with muted deep yellow accents (#433d2d). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the muted deep blue primary (#2d3343) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fdghostwhite | #000000black |
| Foreground | #060a14black | #f8f9fcghostwhite |
| Card | #f3f5fcaliceblue | #030303black |
| Card foreground | #050810black | #fbfcfdwhite |
| Popover | #f7f9fdghostwhite | #000000black |
| Popover foreground | #060a14black | #f8f9fcghostwhite |
| Primary | #2d3343darkslategray | #2d3343darkslategray |
| Primary foreground | #c8cddalightgrey | #c8cddalightgrey |
| Secondary | #433d2ddarkslategray | #433d2ddarkslategray |
| Secondary foreground | #dad5c8lightgrey | #dad5c8lightgrey |
| Muted | #eee9ddantiquewhite | #221d11black |
| Muted foreground | #5f5d59dimgray | #a6a4a0darkgray |
| Accent | #433d2ddarkslategray | #433d2ddarkslategray |
| Accent foreground | #dad5c8lightgrey | #dad5c8lightgrey |
| Destructive | #a13d12saddlebrown | #e15519chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2d3343darkslategray | #2d3343darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.39:1 | AAA |
| Primary button | 7.87:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 5.42:1 | AA |
| Accent | 7.39:1 | AAA |
| Destructive | 6.60:1 | AA |
| Text on background | 19.94:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 7.87:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 7.39:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Enraged in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 268.745);
--foreground: oklch(0.145 0.023 264.765);
--muted: oklch(0.935 0.017 88.899);
--muted-foreground: oklch(0.478 0.007 88.875);
--popover: oklch(0.981 0.006 268.745);
--popover-foreground: oklch(0.145 0.023 264.765);
--card: oklch(0.971 0.01 268.72);
--card-foreground: oklch(0.134 0.019 263.076);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.324 0.029 267.958);
--primary-foreground: oklch(0.849 0.018 268.63);
--secondary: oklch(0.36 0.026 89.001);
--secondary-foreground: oklch(0.873 0.018 88.91);
--accent: oklch(0.36 0.026 89.001);
--accent-foreground: oklch(0.873 0.018 88.91);
--destructive: oklch(0.492 0.142 40.347);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.324 0.029 267.958);
--chart-1: oklch(0.324 0.029 267.958);
--chart-2: oklch(0.36 0.026 89.001);
--chart-3: oklch(0.36 0.026 89.001);
--chart-4: oklch(0.392 0.029 88.997);
--chart-5: oklch(0.321 0.033 267.781);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.004 268.763);
--muted: oklch(0.233 0.023 88.882);
--muted-foreground: oklch(0.72 0.006 88.843);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.982 0.004 268.763);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 268.777);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.324 0.029 267.958);
--primary-foreground: oklch(0.849 0.018 268.63);
--secondary: oklch(0.36 0.026 89.001);
--secondary-foreground: oklch(0.873 0.018 88.91);
--accent: oklch(0.36 0.026 89.001);
--accent-foreground: oklch(0.873 0.018 88.91);
--destructive: oklch(0.628 0.186 39.911);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.324 0.029 267.958);
--chart-1: oklch(0.324 0.029 267.958);
--chart-2: oklch(0.36 0.026 89.001);
--chart-3: oklch(0.36 0.026 89.001);
--chart-4: oklch(0.392 0.029 88.997);
--chart-5: oklch(0.321 0.033 267.781);
}