Insecure is a shadcn/ui theme built around a deep orange primary color (#2e150a) with deep cyan accents (#0a232e). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the deep orange primary (#2e150a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #000000black |
| Foreground | #0d0603black | #f9f7f5whitesmoke |
| Card | #fcf9f8snow | #030303black |
| Card foreground | #080402black | #fbf9f9snow |
| Popover | #fcf9f8snow | #030303black |
| Popover foreground | #080402black | #fbf9f9snow |
| Primary | #2e150ablack | #2e150ablack |
| Primary foreground | #e4a286darksalmon | #e4a286darksalmon |
| Secondary | #0a232eblack | #0a232eblack |
| Secondary foreground | #86c8e4skyblue | #86c8e4skyblue |
| Muted | #e2e7e9lavender | #161b1dblack |
| Muted foreground | #575a5bdimgray | #a4a6a8darkgray |
| Accent | #0a232eblack | #0a232eblack |
| Accent foreground | #86c8e4skyblue | #86c8e4skyblue |
| Destructive | #cd1913firebrick | #d71a14firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2e150ablack | #2e150ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.99:1 | AAA |
| Secondary button | 8.79:1 | AAA |
| Muted text | 5.57:1 | AA |
| Accent | 8.79:1 | AAA |
| Destructive | 5.59:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 7.99:1 | AAA |
| Secondary button | 8.79:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 8.79:1 | AAA |
| Destructive | 5.19:1 | AA |
Paste this into your globals.css to use Insecure in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 44.966);
--foreground: oklch(0.13 0.017 53.801);
--muted: oklch(0.925 0.006 225.057);
--muted-foreground: oklch(0.466 0.004 225.07);
--popover: oklch(0.984 0.003 44.949);
--popover-foreground: oklch(0.113 0.015 54.393);
--card: oklch(0.984 0.003 44.949);
--card-foreground: oklch(0.113 0.015 54.393);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.229 0.045 43.244);
--primary-foreground: oklch(0.769 0.089 44.11);
--secondary: oklch(0.243 0.037 229.229);
--secondary-foreground: oklch(0.798 0.078 226.826);
--accent: oklch(0.243 0.037 229.229);
--accent-foreground: oklch(0.798 0.078 226.826);
--destructive: oklch(0.542 0.21 28.965);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.229 0.045 43.244);
--chart-1: oklch(0.229 0.045 43.244);
--chart-2: oklch(0.243 0.037 229.229);
--chart-3: oklch(0.243 0.037 229.229);
--chart-4: oklch(0.28 0.045 229.742);
--chart-5: oklch(0.23 0.047 43.131);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.977 0.003 44.948);
--muted: oklch(0.218 0.009 225.506);
--muted-foreground: oklch(0.725 0.003 225.032);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.984 0.002 44.959);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.002 44.959);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.229 0.045 43.244);
--primary-foreground: oklch(0.769 0.089 44.11);
--secondary: oklch(0.243 0.037 229.229);
--secondary-foreground: oklch(0.798 0.078 226.826);
--accent: oklch(0.243 0.037 229.229);
--accent-foreground: oklch(0.798 0.078 226.826);
--destructive: oklch(0.56 0.218 28.984);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.229 0.045 43.244);
--chart-1: oklch(0.229 0.045 43.244);
--chart-2: oklch(0.243 0.037 229.229);
--chart-3: oklch(0.243 0.037 229.229);
--chart-4: oklch(0.28 0.045 229.742);
--chart-5: oklch(0.23 0.047 43.131);
}