Aggressive is a shadcn/ui theme built around a green primary color (#5bc13e) with muted light green accents (#cad6c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#5bc13e) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040703black |
| Foreground | #040803black | #f6faf5whitesmoke |
| Card | #ffffffwhite | #040703black |
| Card foreground | #040803black | #f6faf5whitesmoke |
| Popover | #ffffffwhite | #040703black |
| Popover foreground | #040803black | #f6faf5whitesmoke |
| Primary | #5bc13elimegreen | #5bc13elimegreen |
| Primary foreground | #12270cblack | #12270cblack |
| Secondary | #cad6c7lightgrey | #20231fblack |
| Secondary foreground | #313e2edarkslategray | #b8beb7silver |
| Muted | #eff1eewhitesmoke | #0e110eblack |
| Muted foreground | #515251darkslategray | #adaeaddarkgray |
| Accent | #cad6c7lightgrey | #20231fblack |
| Accent foreground | #313e2edarkslategray | #b8beb7silver |
| Destructive | #9d280bfirebrick | #f0542dtomato |
| Destructive foreground | #fde4demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5bc13elimegreen | #5bc13elimegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 6.91:1 | AA |
| Accent | 7.50:1 | AAA |
| Destructive | 6.29:1 | AA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 8.54:1 | AAA |
| Accent | 8.39:1 | AAA |
| Destructive | 3.48: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.123 0.019 137.355);
--muted: oklch(0.956 0.005 138.892);
--muted-foreground: oklch(0.438 0.003 138.893);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.123 0.019 137.355);
--card: oklch(1 0 180);
--card-foreground: oklch(0.123 0.019 137.355);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.722 0.192 139.615);
--primary-foreground: oklch(0.246 0.053 139.248);
--secondary: oklch(0.863 0.023 138.901);
--secondary-foreground: oklch(0.346 0.032 138.945);
--accent: oklch(0.863 0.023 138.901);
--accent-foreground: oklch(0.346 0.032 138.945);
--destructive: oklch(0.462 0.158 34.071);
--destructive-foreground: oklch(0.937 0.029 34.302);
--ring: oklch(0.722 0.192 139.615);
--chart-1: oklch(0.722 0.192 139.615);
--chart-2: oklch(0.863 0.023 138.901);
--chart-3: oklch(0.863 0.023 138.901);
--chart-4: oklch(0.885 0.019 138.899);
--chart-5: oklch(0.731 0.2 139.706);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.018 137.445);
--foreground: oklch(0.98 0.007 138.893);
--muted: oklch(0.173 0.007 138.909);
--muted-foreground: oklch(0.75 0.003 138.892);
--popover: oklch(0.123 0.018 137.445);
--popover-foreground: oklch(0.98 0.007 138.893);
--card: oklch(0.123 0.018 137.445);
--card-foreground: oklch(0.98 0.007 138.893);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.722 0.192 139.615);
--primary-foreground: oklch(0.246 0.053 139.248);
--secondary: oklch(0.251 0.007 138.902);
--secondary-foreground: oklch(0.794 0.011 138.896);
--accent: oklch(0.251 0.007 138.902);
--accent-foreground: oklch(0.794 0.011 138.896);
--destructive: oklch(0.654 0.199 34.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.722 0.192 139.615);
--chart-1: oklch(0.722 0.192 139.615);
--chart-2: oklch(0.251 0.007 138.902);
--chart-3: oklch(0.251 0.007 138.902);
--chart-4: oklch(0.284 0.009 138.903);
--chart-5: oklch(0.731 0.2 139.706);
}