Enraged is a shadcn/ui theme built around a muted purple primary color (#7d687c) with muted light purple accents (#d4c4d4). The light mode uses a neutral background (#fefbfe). Dark mode keeps the muted purple primary (#7d687c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #000000black |
| Foreground | #080208black | #fcf8fcsnow |
| Card | #fefbfewhite | #000000black |
| Card foreground | #080208black | #fcf8fcsnow |
| Popover | #fefbfewhite | #000000black |
| Popover foreground | #080208black | #fcf8fcsnow |
| Primary | #7d687cgray | #7d687cgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e3dde3gainsboro | #332e33darkslategray |
| Secondary foreground | #4f404edarkslategray | #ccc7cclightgrey |
| Muted | #e9d8e8gainsboro | #271627black |
| Muted foreground | #635a63dimgray | #a59ca5darkgray |
| Accent | #d4c4d4thistle | #4c394bdarkslategray |
| Accent foreground | #3b2b3bdarkslategray | #e0d6e0gainsboro |
| Destructive | #c74c05chocolate | #f96610orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7d687cgray | #7d687cgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.00:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 5.04:1 | AA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 4.86:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 4.70:1 | AA |
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 5.04:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 6.41:1 | AA |
| Accent | 7.46:1 | AAA |
| Destructive | 6.91:1 | AA |
Paste this into your globals.css to use Enraged in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 326.575);
--foreground: oklch(0.109 0.024 327.982);
--muted: oklch(0.9 0.029 326.815);
--muted-foreground: oklch(0.478 0.019 326.873);
--popover: oklch(0.991 0.004 326.575);
--popover-foreground: oklch(0.109 0.024 327.982);
--card: oklch(0.991 0.004 326.575);
--card-foreground: oklch(0.109 0.024 327.982);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.545 0.039 327.147);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.905 0.01 326.639);
--secondary-foreground: oklch(0.393 0.03 327.171);
--accent: oklch(0.838 0.028 326.827);
--accent-foreground: oklch(0.314 0.036 327.474);
--destructive: oklch(0.575 0.17 42.389);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.545 0.039 327.147);
--chart-1: oklch(0.545 0.039 327.147);
--chart-2: oklch(0.905 0.01 326.639);
--chart-3: oklch(0.838 0.028 326.827);
--chart-4: oklch(0.929 0.008 326.613);
--chart-5: oklch(0.543 0.053 327.341);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.006 326.593);
--muted: oklch(0.231 0.04 327.924);
--muted-foreground: oklch(0.703 0.017 326.748);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.006 326.593);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.006 326.593);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.545 0.039 327.147);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.308 0.011 326.837);
--secondary-foreground: oklch(0.835 0.009 326.636);
--accent: oklch(0.372 0.039 327.403);
--accent-foreground: oklch(0.888 0.017 326.705);
--destructive: oklch(0.686 0.197 43.26);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.545 0.039 327.147);
--chart-1: oklch(0.545 0.039 327.147);
--chart-2: oklch(0.308 0.011 326.837);
--chart-3: oklch(0.372 0.039 327.403);
--chart-4: oklch(0.338 0.012 326.846);
--chart-5: oklch(0.543 0.053 327.341);
}