Aggravating is a shadcn/ui theme built around a near-black primary color (#010104) with near-black accents (#040401). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the near-black primary (#010104) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #020203black |
| Foreground | #02040dblack | #fcfcfdwhite |
| Card | #fbfcfewhite | #020203black |
| Card foreground | #02040dblack | #fcfcfdwhite |
| Popover | #fbfcfewhite | #020203black |
| Popover foreground | #02040dblack | #fcfcfdwhite |
| Primary | #010104black | #010104black |
| Primary foreground | #afb6eflightsteelblue | #afb6eflightsteelblue |
| Secondary | #040401black | #040401black |
| Secondary foreground | #ae9d24darkgoldenrod | #ae9d24darkgoldenrod |
| Muted | #f5f5efwhitesmoke | #100f0ablack |
| Muted foreground | #565443darkolivegreen | #bcbaa9silver |
| Accent | #040401black | #040401black |
| Accent foreground | #ae9d24darkgoldenrod | #ae9d24darkgoldenrod |
| Destructive | #961408darkred | #f2200dred |
| Destructive foreground | #fdd7d3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #010104black | #010104black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.90:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 10.67:1 | AAA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 6.97:1 | AA |
| Accent | 7.47:1 | AAA |
| Destructive | 6.59:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 10.67:1 | AAA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 9.80:1 | AAA |
| Accent | 7.47:1 | AAA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Aggravating in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 280.291);
--foreground: oklch(0.108 0.027 271.627);
--muted: oklch(0.968 0.007 100.444);
--muted-foreground: oklch(0.441 0.026 101.144);
--popover: oklch(0.99 0.003 280.291);
--popover-foreground: oklch(0.108 0.027 271.627);
--card: oklch(0.99 0.003 280.291);
--card-foreground: oklch(0.108 0.027 271.627);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.076 0.017 272.375);
--primary-foreground: oklch(0.79 0.081 278.533);
--secondary: oklch(0.104 0.015 104.122);
--secondary-foreground: oklch(0.691 0.134 101.308);
--accent: oklch(0.104 0.015 104.122);
--accent-foreground: oklch(0.691 0.134 101.308);
--destructive: oklch(0.432 0.165 30.114);
--destructive-foreground: oklch(0.91 0.043 24.1);
--ring: oklch(0.076 0.017 272.375);
--chart-1: oklch(0.076 0.017 272.375);
--chart-2: oklch(0.104 0.015 104.122);
--chart-3: oklch(0.104 0.015 104.122);
--chart-4: oklch(0.168 0.025 102.895);
--chart-5: oklch(0.075 0.018 271.759);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.009 277.063);
--foreground: oklch(0.991 0.002 280.296);
--muted: oklch(0.168 0.011 101.224);
--muted-foreground: oklch(0.785 0.023 100.756);
--popover: oklch(0.084 0.009 277.063);
--popover-foreground: oklch(0.991 0.002 280.296);
--card: oklch(0.084 0.009 277.063);
--card-foreground: oklch(0.991 0.002 280.296);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.076 0.017 272.375);
--primary-foreground: oklch(0.79 0.081 278.533);
--secondary: oklch(0.104 0.015 104.122);
--secondary-foreground: oklch(0.691 0.134 101.308);
--accent: oklch(0.104 0.015 104.122);
--accent-foreground: oklch(0.691 0.134 101.308);
--destructive: oklch(0.613 0.239 30.067);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.076 0.017 272.375);
--chart-1: oklch(0.076 0.017 272.375);
--chart-2: oklch(0.104 0.015 104.122);
--chart-3: oklch(0.104 0.015 104.122);
--chart-4: oklch(0.168 0.025 102.895);
--chart-5: oklch(0.075 0.018 271.759);
}