Aggressive is a shadcn/ui theme built around a muted deep purple primary color (#4c2f43) with muted deep green accents (#2f4c38). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep purple primary (#4c2f43) on a purple-tinted background (#0b0409).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0409black |
| Foreground | #10040cblack | #fbf9fasnow |
| Card | #ffffffwhite | #0b0409black |
| Card foreground | #10040cblack | #fbf9fasnow |
| Popover | #ffffffwhite | #0b0409black |
| Popover foreground | #10040cblack | #fbf9fasnow |
| Primary | #4c2f43darkslategray | #4c2f43darkslategray |
| Primary foreground | #e0ccdathistle | #e0ccdathistle |
| Secondary | #2f4c38darkslategray | #2f4c38darkslategray |
| Secondary foreground | #cce0d3lightgrey | #cce0d3lightgrey |
| Muted | #d6e6dbgainsboro | #19291eblack |
| Muted foreground | #505351darkslategray | #acafaddarkgray |
| Accent | #2f4c38darkslategray | #2f4c38darkslategray |
| Accent foreground | #cce0d3lightgrey | #cce0d3lightgrey |
| Destructive | #702000maroon | #ff5714orangered |
| Destructive foreground | #ffbda3lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4c2f43darkslategray | #4c2f43darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 20.10:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 6.00:1 | AA |
| Accent | 6.87:1 | AA |
| Destructive | 6.88:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 6.86:1 | AA |
| Accent | 6.87:1 | AA |
| Destructive | 6.62:1 | AA |
Paste this into your globals.css to use Aggressive in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.136 0.03 338.833);
--muted: oklch(0.91 0.023 156.047);
--muted-foreground: oklch(0.439 0.006 156.311);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.136 0.03 338.833);
--card: oklch(1 0 180);
--card-foreground: oklch(0.136 0.03 338.833);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.347 0.053 339.323);
--primary-foreground: oklch(0.866 0.028 337.181);
--secondary: oklch(0.386 0.049 153.7);
--secondary-foreground: oklch(0.888 0.028 155.933);
--accent: oklch(0.386 0.049 153.7);
--accent-foreground: oklch(0.888 0.028 155.933);
--destructive: oklch(0.368 0.119 38.472);
--destructive-foreground: oklch(0.853 0.084 42.52);
--ring: oklch(0.347 0.053 339.323);
--chart-1: oklch(0.347 0.053 339.323);
--chart-2: oklch(0.386 0.049 153.7);
--chart-3: oklch(0.386 0.049 153.7);
--chart-4: oklch(0.418 0.054 153.64);
--chart-5: oklch(0.346 0.059 339.656);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.022 337.149);
--foreground: oklch(0.983 0.003 336.627);
--muted: oklch(0.264 0.031 153.985);
--muted-foreground: oklch(0.751 0.005 156.433);
--popover: oklch(0.124 0.022 337.149);
--popover-foreground: oklch(0.983 0.003 336.627);
--card: oklch(0.124 0.022 337.149);
--card-foreground: oklch(0.983 0.003 336.627);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.347 0.053 339.323);
--primary-foreground: oklch(0.866 0.028 337.181);
--secondary: oklch(0.386 0.049 153.7);
--secondary-foreground: oklch(0.888 0.028 155.933);
--accent: oklch(0.386 0.049 153.7);
--accent-foreground: oklch(0.888 0.028 155.933);
--destructive: oklch(0.678 0.215 38.006);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.347 0.053 339.323);
--chart-1: oklch(0.347 0.053 339.323);
--chart-2: oklch(0.386 0.049 153.7);
--chart-3: oklch(0.386 0.049 153.7);
--chart-4: oklch(0.418 0.054 153.64);
--chart-5: oklch(0.346 0.059 339.656);
}