Insidious is a shadcn/ui theme built around a vivid deep violet primary color (#4c1084) with vivid deep purple accents (#841082). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep violet primary (#4c1084) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #030104black | #faf8fcghostwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #030104black | #faf8fcghostwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #030104black | #faf8fcghostwhite |
| Primary | #4c1084indigo | #4c1084indigo |
| Primary foreground | #e4cdf9lavender | #e4cdf9lavender |
| Secondary | #111084midnightblue | #111084midnightblue |
| Secondary foreground | #cecdf9lavender | #cecdf9lavender |
| Muted | #eeeef7whitesmoke | #080811black |
| Muted foreground | #45454adarkslategray | #b5b5basilver |
| Accent | #841082purple | #841082purple |
| Accent foreground | #f9cdf8lavender | #f9cdf8lavender |
| Destructive | #d50501red | #fe1e1bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4c1084indigo | #4c1084indigo |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.79:1 | AAA |
| Primary button | 8.40:1 | AAA |
| Secondary button | 9.58:1 | AAA |
| Muted text | 8.25:1 | AAA |
| Accent | 6.34:1 | AA |
| Destructive | 5.44:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 8.40:1 | AAA |
| Secondary button | 9.58:1 | AAA |
| Muted text | 9.74:1 | AAA |
| Accent | 6.34:1 | AA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Insidious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.077 0.024 311.467);
--muted: oklch(0.951 0.012 286.939);
--muted-foreground: oklch(0.391 0.01 286.715);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.077 0.024 311.467);
--card: oklch(1 0 180);
--card-foreground: oklch(0.077 0.024 311.467);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.352 0.172 300.255);
--primary-foreground: oklch(0.881 0.065 308.354);
--secondary: oklch(0.297 0.179 268.81);
--secondary-foreground: oklch(0.863 0.061 285.807);
--accent: oklch(0.436 0.189 329.036);
--accent-foreground: oklch(0.899 0.075 326.706);
--destructive: oklch(0.55 0.224 29.355);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.352 0.172 300.255);
--chart-1: oklch(0.352 0.172 300.255);
--chart-2: oklch(0.297 0.179 268.81);
--chart-3: oklch(0.436 0.189 329.036);
--chart-4: oklch(0.318 0.194 268.507);
--chart-5: oklch(0.352 0.176 299.735);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.005 309.071);
--muted: oklch(0.141 0.02 284.446);
--muted-foreground: oklch(0.774 0.008 286.979);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.982 0.005 309.071);
--card: oklch(0 0 0);
--card-foreground: oklch(0.982 0.005 309.071);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.352 0.172 300.255);
--primary-foreground: oklch(0.881 0.065 308.354);
--secondary: oklch(0.297 0.179 268.81);
--secondary-foreground: oklch(0.863 0.061 285.807);
--accent: oklch(0.436 0.189 329.036);
--accent-foreground: oklch(0.899 0.075 326.706);
--destructive: oklch(0.634 0.248 28.66);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.352 0.172 300.255);
--chart-1: oklch(0.352 0.172 300.255);
--chart-2: oklch(0.297 0.179 268.81);
--chart-3: oklch(0.436 0.189 329.036);
--chart-4: oklch(0.318 0.194 268.507);
--chart-5: oklch(0.352 0.176 299.735);
}