Anger is a shadcn/ui theme built around a vivid light blue primary color (#f1f7fe) with vivid light green accents (#f7fef1). The light mode uses a neutral background (#f8fafc). Dark mode keeps the vivid light blue primary (#f1f7fe) on a blue-tinted background (#050a0f).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fafcghostwhite | #050a0fblack |
| Foreground | #040910black | #fcfcfdwhite |
| Card | #f8fafcghostwhite | #050a0fblack |
| Card foreground | #040910black | #fcfcfdwhite |
| Popover | #f8fafcghostwhite | #050a0fblack |
| Popover foreground | #040910black | #fcfcfdwhite |
| Primary | #f1f7fealiceblue | #f1f7fealiceblue |
| Primary foreground | #1154acteal | #1154acteal |
| Secondary | #fef1f7lavenderblush | #fef1f7lavenderblush |
| Secondary foreground | #ac1154brown | #ac1154brown |
| Muted | #eceaealinen | #151314black |
| Muted foreground | #5d4650dimgray | #b9a2acdarkgray |
| Accent | #f7fef1honeydew | #f7fef1honeydew |
| Accent foreground | #274f08darkgreen | #274f08darkgreen |
| Destructive | #a93b04saddlebrown | #ef5406orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1f7fealiceblue | #f1f7fealiceblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 6.45:1 | AA |
| Muted text | 7.10:1 | AAA |
| Accent | 9.20:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 6.45:1 | AA |
| Muted text | 7.75:1 | AAA |
| Accent | 9.20:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Anger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 254.974);
--foreground: oklch(0.139 0.019 249.504);
--muted: oklch(0.938 0.002 348.807);
--muted-foreground: oklch(0.423 0.035 350.89);
--popover: oklch(0.983 0.004 254.974);
--popover-foreground: oklch(0.139 0.019 249.504);
--card: oklch(0.983 0.004 254.974);
--card-foreground: oklch(0.139 0.019 249.504);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.973 0.011 255.014);
--primary-foreground: oklch(0.46 0.154 257.73);
--secondary: oklch(0.97 0.015 349.165);
--secondary-foreground: oklch(0.485 0.187 3.382);
--accent: oklch(0.987 0.018 131.246);
--accent-foreground: oklch(0.383 0.107 135.544);
--destructive: oklch(0.504 0.154 40.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.973 0.011 255.014);
--chart-1: oklch(0.973 0.011 255.014);
--chart-2: oklch(0.97 0.015 349.165);
--chart-3: oklch(0.987 0.018 131.246);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.972 0.012 255.016);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.016 250.724);
--foreground: oklch(0.992 0.001 254.96);
--muted: oklch(0.191 0.004 349.266);
--muted-foreground: oklch(0.735 0.03 349.83);
--popover: oklch(0.14 0.016 250.724);
--popover-foreground: oklch(0.992 0.001 254.96);
--card: oklch(0.14 0.016 250.724);
--card-foreground: oklch(0.992 0.001 254.96);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.973 0.011 255.014);
--primary-foreground: oklch(0.46 0.154 257.73);
--secondary: oklch(0.97 0.015 349.165);
--secondary-foreground: oklch(0.485 0.187 3.382);
--accent: oklch(0.987 0.018 131.246);
--accent-foreground: oklch(0.383 0.107 135.544);
--destructive: oklch(0.648 0.203 39.67);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.973 0.011 255.014);
--chart-1: oklch(0.973 0.011 255.014);
--chart-2: oklch(0.97 0.015 349.165);
--chart-3: oklch(0.987 0.018 131.246);
--chart-4: oklch(1 0 180);
--chart-5: oklch(0.972 0.012 255.016);
}