Insect is a shadcn/ui theme built around a deep pink primary color (#390e1f) with deep teal accents (#0e3929). The light mode uses a neutral background (#fdfbfc). Dark mode keeps the deep pink primary (#390e1f) on a neutral background (#070405).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfcsnow | #070405black |
| Foreground | #15040bblack | #fdfcfcsnow |
| Card | #fcf8f9snow | #0a0507black |
| Card foreground | #110309black | #ffffffwhite |
| Popover | #fcf8f9snow | #0a0507black |
| Popover foreground | #110309black | #ffffffwhite |
| Primary | #390e1fblack | #390e1fblack |
| Primary foreground | #e495b3plum | #e495b3plum |
| Secondary | #0e3929darkslategray | #0e3929darkslategray |
| Secondary foreground | #43d09amediumaquamarine | #43d09amediumaquamarine |
| Muted | #e7eeeblavender | #111815black |
| Muted foreground | #577066dimgray | #8fa89fdarkseagreen |
| Accent | #0e3929darkslategray | #0e3929darkslategray |
| Accent foreground | #43d09amediumaquamarine | #43d09amediumaquamarine |
| Destructive | #70270asaddlebrown | #e04e15chocolate |
| Destructive foreground | #f8c8b4peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #390e1fblack | #390e1fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.40:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 4.55:1 | AA |
| Accent | 6.54:1 | AA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.98:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 7.11:1 | AAA |
| Accent | 6.54:1 | AA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Insect in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 351.662);
--foreground: oklch(0.145 0.036 355.437);
--muted: oklch(0.943 0.008 171.355);
--muted-foreground: oklch(0.523 0.034 169.55);
--popover: oklch(0.982 0.005 351.734);
--popover-foreground: oklch(0.132 0.032 353.339);
--card: oklch(0.982 0.005 351.734);
--card-foreground: oklch(0.132 0.032 353.339);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.244 0.07 0.058);
--primary-foreground: oklch(0.758 0.102 355.219);
--secondary: oklch(0.31 0.056 163.998);
--secondary-foreground: oklch(0.769 0.144 163.439);
--accent: oklch(0.31 0.056 163.998);
--accent-foreground: oklch(0.769 0.144 163.439);
--destructive: oklch(0.378 0.11 39.453);
--destructive-foreground: oklch(0.869 0.061 42.651);
--ring: oklch(0.244 0.07 0.058);
--chart-1: oklch(0.244 0.07 0.058);
--chart-2: oklch(0.31 0.056 163.998);
--chart-3: oklch(0.31 0.056 163.998);
--chart-4: oklch(0.352 0.065 163.616);
--chart-5: oklch(0.244 0.073 0.544);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.01 351.399);
--foreground: oklch(0.992 0.001 351.616);
--muted: oklch(0.2 0.011 169.891);
--muted-foreground: oklch(0.71 0.032 170.223);
--popover: oklch(0.126 0.012 351.399);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.012 351.399);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.244 0.07 0.058);
--primary-foreground: oklch(0.758 0.102 355.219);
--secondary: oklch(0.31 0.056 163.998);
--secondary-foreground: oklch(0.769 0.144 163.439);
--accent: oklch(0.31 0.056 163.998);
--accent-foreground: oklch(0.769 0.144 163.439);
--destructive: oklch(0.619 0.191 38.451);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.244 0.07 0.058);
--chart-1: oklch(0.244 0.07 0.058);
--chart-2: oklch(0.31 0.056 163.998);
--chart-3: oklch(0.31 0.056 163.998);
--chart-4: oklch(0.352 0.065 163.616);
--chart-5: oklch(0.244 0.073 0.544);
}