Aggressive is a shadcn/ui theme built around a muted deep yellow primary color (#333224) with muted deep green accents (#2c3324). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep yellow primary (#333224) on a yellow-tinted background (#100f04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #100f04black |
| Foreground | #111004black | #fdfdfcwhite |
| Card | #fcfcfcsnow | #141305black |
| Card foreground | #0d0c03black | #ffffffwhite |
| Popover | #fcfcfcsnow | #141305black |
| Popover foreground | #0d0c03black | #ffffffwhite |
| Primary | #333224darkslategray | #333224darkslategray |
| Primary foreground | #cfcdbasilver | #cfcdbasilver |
| Secondary | #332a24darkslategray | #332a24darkslategray |
| Secondary foreground | #cfc3basilver | #cfc3basilver |
| Muted | #dbd8d6gainsboro | #292624darkslategray |
| Muted foreground | #685d55dimgray | #aa9f97darkgray |
| Accent | #2c3324darkslategray | #2c3324darkslategray |
| Accent foreground | #c6cfbasilver | #c6cfbasilver |
| Destructive | #750d0bmaroon | #ea221fcrimson |
| Destructive foreground | #f8bab9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #333224darkslategray | #333224darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 4.52:1 | AA |
| Accent | 8.09:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 18.85:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 8.05:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 5.82:1 | AA |
| Accent | 8.09:1 | AAA |
| Destructive | 4.41:1 | AA Large |
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.169 0.026 105.608);
--muted: oklch(0.885 0.004 60.222);
--muted-foreground: oklch(0.486 0.019 59.743);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.151 0.022 105.95);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.151 0.022 105.95);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.314 0.025 104.308);
--primary-foreground: oklch(0.846 0.027 103.622);
--secondary: oklch(0.294 0.018 59.419);
--secondary-foreground: oklch(0.824 0.019 59.975);
--accent: oklch(0.31 0.028 127.025);
--accent-foreground: oklch(0.841 0.03 126.228);
--destructive: oklch(0.36 0.137 28.201);
--destructive-foreground: oklch(0.846 0.073 19.813);
--ring: oklch(0.314 0.025 104.308);
--chart-1: oklch(0.314 0.025 104.308);
--chart-2: oklch(0.294 0.018 59.419);
--chart-3: oklch(0.31 0.028 127.025);
--chart-4: oklch(0.325 0.02 59.383);
--chart-5: oklch(0.318 0.028 104.452);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.167 0.023 105.431);
--foreground: oklch(0.994 0.001 103.128);
--muted: oklch(0.27 0.005 60.013);
--muted-foreground: oklch(0.711 0.017 59.951);
--popover: oklch(0.184 0.026 105.263);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.184 0.026 105.263);
--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.314 0.025 104.308);
--primary-foreground: oklch(0.846 0.027 103.622);
--secondary: oklch(0.294 0.018 59.419);
--secondary-foreground: oklch(0.824 0.019 59.975);
--accent: oklch(0.31 0.028 127.025);
--accent-foreground: oklch(0.841 0.03 126.228);
--destructive: oklch(0.6 0.23 28.317);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.314 0.025 104.308);
--chart-1: oklch(0.314 0.025 104.308);
--chart-2: oklch(0.294 0.018 59.419);
--chart-3: oklch(0.31 0.028 127.025);
--chart-4: oklch(0.325 0.02 59.383);
--chart-5: oklch(0.318 0.028 104.452);
}