Insecure is a shadcn/ui theme built around a pink primary color (#c185a3) with teal accents (#85c1a3). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#c185a3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #c185a3rosybrown | #c185a3rosybrown |
| Primary foreground | #0e070ablack | #0e070ablack |
| Secondary | #85c1a3darkseagreen | #85c1a3darkseagreen |
| Secondary foreground | #070e0ablack | #070e0ablack |
| Muted | #d1e6dbgainsboro | #192e24darkslategray |
| Muted foreground | #4e5f57dimgray | #a0b1a8darkgray |
| Accent | #85c1a3darkseagreen | #85c1a3darkseagreen |
| Accent foreground | #070e0ablack | #070e0ablack |
| Destructive | #cd2313firebrick | #d72414firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c185a3rosybrown | #c185a3rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 9.47:1 | AAA |
| Muted text | 5.17:1 | AA |
| Accent | 9.47:1 | AAA |
| Destructive | 5.45:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 9.47:1 | AAA |
| Muted text | 6.38:1 | AA |
| Accent | 9.47:1 | AAA |
| Destructive | 5.06:1 | AA |
Paste this into your globals.css to use Insecure in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.906 0.027 164.341);
--muted-foreground: oklch(0.469 0.025 163.637);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.686 0.084 348.127);
--primary-foreground: oklch(0.14 0.015 346.37);
--secondary: oklch(0.762 0.076 162.149);
--secondary-foreground: oklch(0.153 0.013 163.865);
--accent: oklch(0.762 0.076 162.149);
--accent-foreground: oklch(0.153 0.013 163.865);
--destructive: oklch(0.547 0.206 30.072);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.084 348.127);
--chart-1: oklch(0.686 0.084 348.127);
--chart-2: oklch(0.762 0.076 162.149);
--chart-3: oklch(0.762 0.076 162.149);
--chart-4: oklch(0.782 0.07 162.512);
--chart-5: oklch(0.684 0.092 348.4);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.281 0.034 161.371);
--muted-foreground: oklch(0.744 0.023 164.312);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.686 0.084 348.127);
--primary-foreground: oklch(0.14 0.015 346.37);
--secondary: oklch(0.762 0.076 162.149);
--secondary-foreground: oklch(0.153 0.013 163.865);
--accent: oklch(0.762 0.076 162.149);
--accent-foreground: oklch(0.153 0.013 163.865);
--destructive: oklch(0.565 0.213 30.076);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.084 348.127);
--chart-1: oklch(0.686 0.084 348.127);
--chart-2: oklch(0.762 0.076 162.149);
--chart-3: oklch(0.762 0.076 162.149);
--chart-4: oklch(0.782 0.07 162.512);
--chart-5: oklch(0.684 0.092 348.4);
}