Enraged is a shadcn/ui theme built around a deep green primary color (#324517) with deep green accents (#1b4517). The light mode uses a neutral background (#fafcf8). Dark mode keeps the deep green primary (#324517) on a green-tinted background (#0b1004).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #0b1004black |
| Foreground | #0b1104black | #ffffffwhite |
| Card | #fafcf8snow | #0b1004black |
| Card foreground | #0b1104black | #ffffffwhite |
| Popover | #fafcf8snow | #0b1004black |
| Popover foreground | #0b1104black | #ffffffwhite |
| Primary | #324517darkslategray | #324517darkslategray |
| Primary foreground | #cce3abpalegoldenrod | #cce3abpalegoldenrod |
| Secondary | #454117darkolivegreen | #454117darkolivegreen |
| Secondary foreground | #e3deabpalegoldenrod | #e3deabpalegoldenrod |
| Muted | #f0f0ealinen | #15150fblack |
| Muted foreground | #5f5e59dimgray | #a6a5a0darkgray |
| Accent | #1b4517darkgreen | #1b4517darkgreen |
| Accent foreground | #b0e3abpalegreen | #b0e3abpalegreen |
| Destructive | #5d0909maroon | #e92020crimson |
| Destructive foreground | #f6a2a2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #324517darkslategray | #324517darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.55:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 5.67:1 | AA |
| Accent | 7.56:1 | AAA |
| Destructive | 7.03:1 | AAA |
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 7.44:1 | AAA |
| Accent | 7.56:1 | AAA |
| Destructive | 4.47:1 | AA Large |
Paste this into your globals.css to use Enraged in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 125.124);
--foreground: oklch(0.166 0.029 126.014);
--muted: oklch(0.953 0.008 102.346);
--muted-foreground: oklch(0.481 0.008 102.479);
--popover: oklch(0.988 0.006 125.124);
--popover-foreground: oklch(0.166 0.029 126.014);
--card: oklch(0.988 0.006 125.124);
--card-foreground: oklch(0.166 0.029 126.014);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.362 0.074 128.609);
--primary-foreground: oklch(0.884 0.078 126.329);
--secondary: oklch(0.369 0.061 104.117);
--secondary-foreground: oklch(0.893 0.067 103.327);
--accent: oklch(0.348 0.088 141.998);
--accent-foreground: oklch(0.865 0.093 142.622);
--destructive: oklch(0.308 0.115 27.418);
--destructive-foreground: oklch(0.795 0.1 19.514);
--ring: oklch(0.362 0.074 128.609);
--chart-1: oklch(0.362 0.074 128.609);
--chart-2: oklch(0.369 0.061 104.117);
--chart-3: oklch(0.348 0.088 141.998);
--chart-4: oklch(0.409 0.069 104.121);
--chart-5: oklch(0.366 0.077 128.817);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.164 0.027 125.959);
--foreground: oklch(1 0 180);
--muted: oklch(0.192 0.011 103.116);
--muted-foreground: oklch(0.722 0.007 102.374);
--popover: oklch(0.164 0.027 125.959);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.164 0.027 125.959);
--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.362 0.074 128.609);
--primary-foreground: oklch(0.884 0.078 126.329);
--secondary: oklch(0.369 0.061 104.117);
--secondary-foreground: oklch(0.893 0.067 103.327);
--accent: oklch(0.348 0.088 141.998);
--accent-foreground: oklch(0.865 0.093 142.622);
--destructive: oklch(0.597 0.23 27.904);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.362 0.074 128.609);
--chart-1: oklch(0.362 0.074 128.609);
--chart-2: oklch(0.369 0.061 104.117);
--chart-3: oklch(0.348 0.088 141.998);
--chart-4: oklch(0.409 0.069 104.121);
--chart-5: oklch(0.366 0.077 128.817);
}