Insectarium is a shadcn/ui theme built around a vivid light orange primary color (#feddcd) with neutral gray accents (#dbd8d7). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid light orange primary (#feddcd) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0a0705black |
| Foreground | #130b06black | #fcf9f8snow |
| Card | #fefcfbsnow | #0a0705black |
| Card foreground | #130b06black | #fcf9f8snow |
| Popover | #fefcfbsnow | #0a0705black |
| Popover foreground | #130b06black | #fcf9f8snow |
| Primary | #feddcdbisque | #feddcdbisque |
| Primary foreground | #321101black | #321101black |
| Secondary | #dbd8d7gainsboro | #201e1dblack |
| Secondary foreground | #433f3ddarkslategray | #bcb6b3silver |
| Muted | #e9e8e7linen | #181716black |
| Muted foreground | #4e4846darkslategray | #b9b4b1silver |
| Accent | #dbd8d7gainsboro | #201e1dblack |
| Accent foreground | #433f3ddarkslategray | #bcb6b3silver |
| Destructive | #b82605firebrick | #f93b10orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #feddcdbisque | #feddcdbisque |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 13.54:1 | AAA |
| Secondary button | 7.34:1 | AAA |
| Muted text | 7.32:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 6.34:1 | AA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 13.54:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 8.74:1 | AAA |
| Accent | 8.27:1 | AAA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Insectarium in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 48.725);
--foreground: oklch(0.158 0.019 50.359);
--muted: oklch(0.931 0.002 48.725);
--muted-foreground: oklch(0.408 0.009 48.481);
--popover: oklch(0.992 0.002 48.725);
--popover-foreground: oklch(0.158 0.019 50.359);
--card: oklch(0.992 0.002 48.725);
--card-foreground: oklch(0.158 0.019 50.359);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.921 0.042 48.237);
--primary-foreground: oklch(0.228 0.06 47.352);
--secondary: oklch(0.884 0.003 48.705);
--secondary-foreground: oklch(0.37 0.007 48.529);
--accent: oklch(0.884 0.003 48.705);
--accent-foreground: oklch(0.37 0.007 48.529);
--destructive: oklch(0.509 0.186 32.764);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.921 0.042 48.237);
--chart-1: oklch(0.921 0.042 48.237);
--chart-2: oklch(0.884 0.003 48.705);
--chart-3: oklch(0.884 0.003 48.705);
--chart-4: oklch(0.908 0.003 48.715);
--chart-5: oklch(0.921 0.044 48.223);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.009 53.399);
--foreground: oklch(0.985 0.003 48.714);
--muted: oklch(0.204 0.003 48.581);
--muted-foreground: oklch(0.773 0.008 48.626);
--popover: oklch(0.132 0.009 53.399);
--popover-foreground: oklch(0.985 0.003 48.714);
--card: oklch(0.132 0.009 53.399);
--card-foreground: oklch(0.985 0.003 48.714);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.921 0.042 48.237);
--primary-foreground: oklch(0.228 0.06 47.352);
--secondary: oklch(0.237 0.004 48.528);
--secondary-foreground: oklch(0.781 0.008 48.631);
--accent: oklch(0.237 0.004 48.528);
--accent-foreground: oklch(0.781 0.008 48.631);
--destructive: oklch(0.642 0.23 32.98);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.921 0.042 48.237);
--chart-1: oklch(0.921 0.042 48.237);
--chart-2: oklch(0.237 0.004 48.528);
--chart-3: oklch(0.237 0.004 48.528);
--chart-4: oklch(0.269 0.005 48.514);
--chart-5: oklch(0.921 0.044 48.223);
}