Insidious is a shadcn/ui theme built around a vivid deep pink primary color (#2b031a) with vivid deep blue accents (#031a2b). The light mode uses a neutral background (#fbf8fa). Dark mode keeps the vivid deep pink primary (#2b031a) on a neutral background (#080205).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fasnow | #080205black |
| Foreground | #050103black | #fbf8fasnow |
| Card | #fbf8fasnow | #080205black |
| Card foreground | #050103black | #fbf8fasnow |
| Popover | #fbf8fasnow | #080205black |
| Popover foreground | #050103black | #fbf8fasnow |
| Primary | #2b031ablack | #2b031ablack |
| Primary foreground | #f66ab9hotpink | #f66ab9hotpink |
| Secondary | #1a2b03black | #1a2b03black |
| Secondary foreground | #8ceb0flawngreen | #8ceb0flawngreen |
| Muted | #dfe6d6gainsboro | #222919black |
| Muted foreground | #606c51dimgray | #a2ae93darkgray |
| Accent | #031a2bblack | #031a2bblack |
| Accent foreground | #6ab9f6lightskyblue | #6ab9f6lightskyblue |
| Destructive | #801305maroon | #f7361dorangered |
| Destructive foreground | #fdc2balightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2b031ablack | #2b031ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 10.06:1 | AAA |
| Muted text | 4.37:1 | AA Large |
| Accent | 8.35:1 | AAA |
| Destructive | 6.75:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 10.06:1 | AAA |
| Muted text | 6.40:1 | AA |
| Accent | 8.35:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Insidious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 341.904);
--foreground: oklch(0.081 0.025 341.843);
--muted: oklch(0.915 0.023 126.084);
--muted-foreground: oklch(0.512 0.043 126.897);
--popover: oklch(0.983 0.004 341.904);
--popover-foreground: oklch(0.081 0.025 341.843);
--card: oklch(0.983 0.004 341.904);
--card-foreground: oklch(0.081 0.025 341.843);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.196 0.073 350.164);
--primary-foreground: oklch(0.719 0.19 347.816);
--secondary: oklch(0.264 0.067 130.233);
--secondary-foreground: oklch(0.847 0.236 132.902);
--accent: oklch(0.208 0.046 243.948);
--accent-foreground: oklch(0.76 0.117 243.263);
--destructive: oklch(0.387 0.145 31.15);
--destructive-foreground: oklch(0.864 0.069 27.173);
--ring: oklch(0.196 0.073 350.164);
--chart-1: oklch(0.196 0.073 350.164);
--chart-2: oklch(0.264 0.067 130.233);
--chart-3: oklch(0.208 0.046 243.948);
--chart-4: oklch(0.315 0.082 131.006);
--chart-5: oklch(0.197 0.076 350.369);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.021 341.831);
--foreground: oklch(0.983 0.004 341.898);
--muted: oklch(0.27 0.031 127.383);
--muted-foreground: oklch(0.734 0.039 126.469);
--popover: oklch(0.107 0.021 341.831);
--popover-foreground: oklch(0.983 0.004 341.898);
--card: oklch(0.107 0.021 341.831);
--card-foreground: oklch(0.983 0.004 341.898);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.196 0.073 350.164);
--primary-foreground: oklch(0.719 0.19 347.816);
--secondary: oklch(0.264 0.067 130.233);
--secondary-foreground: oklch(0.847 0.236 132.902);
--accent: oklch(0.208 0.046 243.948);
--accent-foreground: oklch(0.76 0.117 243.263);
--destructive: oklch(0.635 0.23 31.032);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.196 0.073 350.164);
--chart-1: oklch(0.196 0.073 350.164);
--chart-2: oklch(0.264 0.067 130.233);
--chart-3: oklch(0.208 0.046 243.948);
--chart-4: oklch(0.315 0.082 131.006);
--chart-5: oklch(0.197 0.076 350.369);
}