Irritating is a shadcn/ui theme built around a green primary color (#49974e) with red accents (#974e49). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#49974e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #041005black | #fcfdfcwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #041005black | #fcfdfcwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #041005black | #fcfdfcwhite |
| Primary | #49974eseagreen | #49974eseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #4e4997darkslateblue | #4e4997darkslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d9d8e4gainsboro | #1c1b27black |
| Muted foreground | #474653darkslategray | #adacb9darkgray |
| Accent | #974e49sienna | #974e49sienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9c0702darkred | #fc2e27orangered |
| Destructive foreground | #fed3d2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #49974eseagreen | #49974eseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 3.58:1 | AA Large |
| Secondary button | 7.70:1 | AAA |
| Muted text | 6.55:1 | AA |
| Accent | 5.97:1 | AA |
| Destructive | 6.33:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 3.58:1 | AA Large |
| Secondary button | 7.70:1 | AAA |
| Muted text | 7.58:1 | AAA |
| Accent | 5.97:1 | AA |
| Destructive | 3.78:1 | AA Large |
Paste this into your globals.css to use Irritating in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.157 0.032 145.818);
--muted: oklch(0.886 0.016 289.132);
--muted-foreground: oklch(0.399 0.023 288.366);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.157 0.032 145.818);
--card: oklch(1 0 180);
--card-foreground: oklch(0.157 0.032 145.818);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.61 0.133 145.028);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.451 0.124 283.228);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.512 0.099 25.351);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.437 0.176 29.529);
--destructive-foreground: oklch(0.904 0.049 20.415);
--ring: oklch(0.61 0.133 145.028);
--chart-1: oklch(0.61 0.133 145.028);
--chart-2: oklch(0.451 0.124 283.228);
--chart-3: oklch(0.512 0.099 25.351);
--chart-4: oklch(0.473 0.131 283.165);
--chart-5: oklch(0.617 0.142 144.846);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 147.53);
--muted: oklch(0.229 0.023 287.497);
--muted-foreground: oklch(0.748 0.02 288.982);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.002 147.53);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.002 147.53);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.61 0.133 145.028);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.451 0.124 283.228);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.512 0.099 25.351);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.639 0.238 28.47);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.61 0.133 145.028);
--chart-1: oklch(0.61 0.133 145.028);
--chart-2: oklch(0.451 0.124 283.228);
--chart-3: oklch(0.512 0.099 25.351);
--chart-4: oklch(0.473 0.131 283.165);
--chart-5: oklch(0.617 0.142 144.846);
}