Insidious is a shadcn/ui theme built around a near-white primary color (#fefdfa) with muted yellow accents (#c9c3b5). The light mode uses a neutral background (#fefdfb). Dark mode keeps the near-white primary (#fefdfa) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #000000black |
| Foreground | #000000black | #fbfaf9snow |
| Card | #fefdfbsnow | #000000black |
| Card foreground | #000000black | #fbfaf9snow |
| Popover | #fefdfbsnow | #000000black |
| Popover foreground | #000000black | #fbfaf9snow |
| Primary | #fefdfasnow | #fefdfasnow |
| Primary foreground | #563d0bsaddlebrown | #563d0bsaddlebrown |
| Secondary | #d2d0cblightgrey | #1d1b16black |
| Secondary foreground | #3a3731darkslategray | #beb6a7darkgray |
| Muted | #f1ede4linen | #1b160eblack |
| Muted foreground | #595246darkolivegreen | #b9b3a6darkgray |
| Accent | #c9c3b5silver | #312c21darkslategray |
| Accent foreground | #2c2820darkslategray | #cec6b6silver |
| Destructive | #792b06saddlebrown | #da4d0bchocolate |
| Destructive foreground | #fbccb6peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fefdfasnow | #fefdfasnow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.61:1 | AAA |
| Text on card | 20.61:1 | AAA |
| Primary button | 9.99:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 9.99:1 | AAA |
| Secondary button | 8.56:1 | AAA |
| Muted text | 8.59:1 | AAA |
| Accent | 8.22:1 | AAA |
| Destructive | 4.16:1 | AA Large |
Paste this into your globals.css to use Insidious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 84.557);
--foreground: oklch(0 0 0);
--muted: oklch(0.946 0.012 84.579);
--muted-foreground: oklch(0.442 0.022 84.565);
--popover: oklch(0.994 0.002 84.557);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.002 84.557);
--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.995 0.004 84.561);
--primary-foreground: oklch(0.378 0.072 79.756);
--secondary: oklch(0.858 0.008 84.573);
--secondary-foreground: oklch(0.338 0.011 84.593);
--accent: oklch(0.818 0.02 84.593);
--accent-foreground: oklch(0.28 0.016 84.542);
--destructive: oklch(0.399 0.118 40.829);
--destructive-foreground: oklch(0.881 0.061 46.195);
--ring: oklch(0.995 0.004 84.561);
--chart-1: oklch(0.995 0.004 84.561);
--chart-2: oklch(0.858 0.008 84.573);
--chart-3: oklch(0.818 0.02 84.593);
--chart-4: oklch(0.881 0.006 84.569);
--chart-5: oklch(0.995 0.004 84.561);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 84.557);
--muted: oklch(0.204 0.017 84.379);
--muted-foreground: oklch(0.769 0.019 84.593);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 84.557);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 84.557);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.995 0.004 84.561);
--primary-foreground: oklch(0.378 0.072 79.756);
--secondary: oklch(0.222 0.01 84.571);
--secondary-foreground: oklch(0.779 0.023 84.593);
--accent: oklch(0.294 0.02 84.471);
--accent-foreground: oklch(0.828 0.024 84.593);
--destructive: oklch(0.607 0.188 39.555);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.995 0.004 84.561);
--chart-1: oklch(0.995 0.004 84.561);
--chart-2: oklch(0.222 0.01 84.571);
--chart-3: oklch(0.294 0.02 84.471);
--chart-4: oklch(0.257 0.013 84.56);
--chart-5: oklch(0.995 0.004 84.561);
}