Insidious is a shadcn/ui theme built around a green primary color (#64ce36) with pink accents (#ce3664). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#64ce36) on a neutral background (#040704).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040704black |
| Foreground | #060c04black | #f6faf4whitesmoke |
| Card | #ffffffwhite | #040704black |
| Card foreground | #060c04black | #f6faf4whitesmoke |
| Popover | #ffffffwhite | #040704black |
| Popover foreground | #060c04black | #f6faf4whitesmoke |
| Primary | #64ce36limegreen | #64ce36limegreen |
| Primary foreground | #152d0bblack | #152d0bblack |
| Secondary | #3664ceroyalblue | #3664ceroyalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6e9eflavender | #101319black |
| Muted foreground | #5b5b5ddimgray | #a2a3a4darkgray |
| Accent | #ce3664indianred | #ce3664indianred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #681a08maroon | #ed3a12orangered |
| Destructive foreground | #f9b8aalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #64ce36limegreen | #64ce36limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 7.39:1 | AAA |
| Secondary button | 5.44:1 | AA |
| Muted text | 5.56:1 | AA |
| Accent | 4.83:1 | AA |
| Destructive | 7.16:1 | AAA |
| Text on background | 19.20:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 7.39:1 | AAA |
| Secondary button | 5.44:1 | AA |
| Muted text | 7.37:1 | AAA |
| Accent | 4.83:1 | AA |
| Destructive | 4.02: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.143 0.023 134.543);
--muted: oklch(0.933 0.009 267.363);
--muted-foreground: oklch(0.473 0.002 267.393);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.143 0.023 134.543);
--card: oklch(1 0 180);
--card-foreground: oklch(0.143 0.023 134.543);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.76 0.21 138.192);
--primary-foreground: oklch(0.269 0.065 137.542);
--secondary: oklch(0.53 0.173 263.959);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.575 0.19 7.859);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.346 0.115 33.781);
--destructive-foreground: oklch(0.839 0.078 32.987);
--ring: oklch(0.76 0.21 138.192);
--chart-1: oklch(0.76 0.21 138.192);
--chart-2: oklch(0.53 0.173 263.959);
--chart-3: oklch(0.575 0.19 7.859);
--chart-4: oklch(0.557 0.162 264.338);
--chart-5: oklch(0.769 0.217 138.338);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.012 135.092);
--foreground: oklch(0.981 0.009 136.054);
--muted: oklch(0.185 0.014 266.84);
--muted-foreground: oklch(0.715 0.002 267.404);
--popover: oklch(0.121 0.012 135.092);
--popover-foreground: oklch(0.981 0.009 136.054);
--card: oklch(0.121 0.012 135.092);
--card-foreground: oklch(0.981 0.009 136.054);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.76 0.21 138.192);
--primary-foreground: oklch(0.269 0.065 137.542);
--secondary: oklch(0.53 0.173 263.959);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.575 0.19 7.859);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.621 0.22 33.133);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.76 0.21 138.192);
--chart-1: oklch(0.76 0.21 138.192);
--chart-2: oklch(0.53 0.173 263.959);
--chart-3: oklch(0.575 0.19 7.859);
--chart-4: oklch(0.557 0.162 264.338);
--chart-5: oklch(0.769 0.217 138.338);
}