Irritating is a shadcn/ui theme built around a neutral gray primary color (#414149) with neutral gray accents (#444149). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the neutral gray primary (#414149) on a neutral background (#030307).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8fcghostwhite | #030307black |
| Foreground | #000000black | #f9f9fbghostwhite |
| Card | #f8f8fcghostwhite | #030307black |
| Card foreground | #000000black | #f9f9fbghostwhite |
| Popover | #f8f8fcghostwhite | #030307black |
| Popover foreground | #000000black | #f9f9fbghostwhite |
| Primary | #414149darkslategray | #414149darkslategray |
| Primary foreground | #dcdce0gainsboro | #dcdce0gainsboro |
| Secondary | #414649darkslategray | #414649darkslategray |
| Secondary foreground | #dcdee0gainsboro | #dcdee0gainsboro |
| Muted | #cedbe3gainsboro | #1c2831darkslategray |
| Muted foreground | #595f64dimgray | #9ba2a6darkgray |
| Accent | #444149darkslategray | #444149darkslategray |
| Accent foreground | #dedce0gainsboro | #dedce0gainsboro |
| Destructive | #95370esaddlebrown | #ec6d36tomato |
| Destructive foreground | #fce4damistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #414149darkslategray | #414149darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 4.56:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 6.81:1 | AA |
Paste this into your globals.css to use Irritating in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 282.134);
--foreground: oklch(0 0 0);
--muted: oklch(0.883 0.018 238.66);
--muted-foreground: oklch(0.482 0.011 238.698);
--popover: oklch(0.981 0.005 282.134);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.005 282.134);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.379 0.013 281.631);
--primary-foreground: oklch(0.896 0.005 282.12);
--secondary: oklch(0.389 0.009 238.682);
--secondary-foreground: oklch(0.9 0.003 238.416);
--accent: oklch(0.381 0.015 304.517);
--accent-foreground: oklch(0.897 0.006 304.958);
--destructive: oklch(0.465 0.137 40.085);
--destructive-foreground: oklch(0.935 0.03 44.687);
--ring: oklch(0.379 0.013 281.631);
--chart-1: oklch(0.379 0.013 281.631);
--chart-2: oklch(0.389 0.009 238.682);
--chart-3: oklch(0.381 0.015 304.517);
--chart-4: oklch(0.418 0.009 238.688);
--chart-5: oklch(0.374 0.019 281.305);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.104 0.013 278.732);
--foreground: oklch(0.983 0.002 282.174);
--muted: oklch(0.27 0.024 239.847);
--muted-foreground: oklch(0.707 0.01 238.569);
--popover: oklch(0.104 0.013 278.732);
--popover-foreground: oklch(0.983 0.002 282.174);
--card: oklch(0.104 0.013 278.732);
--card-foreground: oklch(0.983 0.002 282.174);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.379 0.013 281.631);
--primary-foreground: oklch(0.896 0.005 282.12);
--secondary: oklch(0.389 0.009 238.682);
--secondary-foreground: oklch(0.9 0.003 238.416);
--accent: oklch(0.381 0.015 304.517);
--accent-foreground: oklch(0.897 0.006 304.958);
--destructive: oklch(0.68 0.172 41.954);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.379 0.013 281.631);
--chart-1: oklch(0.379 0.013 281.631);
--chart-2: oklch(0.389 0.009 238.682);
--chart-3: oklch(0.381 0.015 304.517);
--chart-4: oklch(0.418 0.009 238.688);
--chart-5: oklch(0.374 0.019 281.305);
}