Irritating is a shadcn/ui theme built around a vivid deep violet primary color (#0b0024) with vivid deep purple accents (#1c0024). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep violet primary (#0b0024) on a neutral background (#040307).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040307black |
| Foreground | #000000black | #f9f8fbghostwhite |
| Card | #fcfcfcsnow | #06040bblack |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #06040bblack |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #0b0024black | #0b0024black |
| Primary foreground | #d1bdffthistle | #d1bdffthistle |
| Secondary | #000724black | #000724black |
| Secondary foreground | #bdcafflightblue | #bdcafflightblue |
| Muted | #d6d7dcgainsboro | #232429darkslategray |
| Muted foreground | #414244darkslategray | #bbbcbesilver |
| Accent | #1c0024black | #1c0024black |
| Accent foreground | #dd58feorchid | #dd58feorchid |
| Destructive | #7d0b03maroon | #e61405red |
| Destructive foreground | #fdb9b4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0b0024black | #0b0024black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 11.96:1 | AAA |
| Secondary button | 12.35:1 | AAA |
| Muted text | 6.99:1 | AA |
| Accent | 6.41:1 | AA |
| Destructive | 6.65:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 11.96:1 | AAA |
| Secondary button | 12.35:1 | AAA |
| Muted text | 8.11:1 | AAA |
| Accent | 6.41:1 | AA |
| Destructive | 4.70:1 | AA |
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 0 0);
--muted: oklch(0.879 0.007 274.939);
--muted-foreground: oklch(0.377 0.004 274.915);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.136 0.075 291.347);
--primary-foreground: oklch(0.837 0.093 298.135);
--secondary: oklch(0.145 0.063 261.509);
--secondary-foreground: oklch(0.847 0.075 273.77);
--accent: oklch(0.167 0.08 319.5);
--accent-foreground: oklch(0.697 0.253 318.963);
--destructive: oklch(0.376 0.147 30.158);
--destructive-foreground: oklch(0.848 0.08 23.513);
--ring: oklch(0.136 0.075 291.347);
--chart-1: oklch(0.136 0.075 291.347);
--chart-2: oklch(0.145 0.063 261.509);
--chart-3: oklch(0.167 0.08 319.5);
--chart-4: oklch(0.172 0.082 262.8);
--chart-5: oklch(0.134 0.077 291.029);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.016 300.198);
--foreground: oklch(0.982 0.004 299.965);
--muted: oklch(0.263 0.009 274.575);
--muted-foreground: oklch(0.795 0.003 274.988);
--popover: oklch(0.118 0.019 300.138);
--popover-foreground: oklch(0.991 0.002 300.002);
--card: oklch(0.118 0.019 300.138);
--card-foreground: oklch(0.991 0.002 300.002);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.136 0.075 291.347);
--primary-foreground: oklch(0.837 0.093 298.135);
--secondary: oklch(0.145 0.063 261.509);
--secondary-foreground: oklch(0.847 0.075 273.77);
--accent: oklch(0.167 0.08 319.5);
--accent-foreground: oklch(0.697 0.253 318.963);
--destructive: oklch(0.585 0.234 29.779);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.136 0.075 291.347);
--chart-1: oklch(0.136 0.075 291.347);
--chart-2: oklch(0.145 0.063 261.509);
--chart-3: oklch(0.167 0.08 319.5);
--chart-4: oklch(0.172 0.082 262.8);
--chart-5: oklch(0.134 0.077 291.029);
}