Unwitting is a shadcn/ui theme built around a muted red primary color (#80524d) with muted cyan accents (#4d7a80). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the muted red primary (#80524d) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #030202black |
| Foreground | #120402black | #ffffffwhite |
| Card | #fcf3f2lavenderblush | #070403black |
| Card foreground | #0e0302black | #ffffffwhite |
| Popover | #fdf7f7snow | #030202black |
| Popover foreground | #120402black | #ffffffwhite |
| Primary | #80524ddimgray | #80524ddimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #4d7a80slategray | #4d7a80slategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5eaeblavender | #14191ablack |
| Muted foreground | #4c5657darkslategray | #a8b2b3darkgray |
| Accent | #4d7a80slategray | #4d7a80slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #722c03saddlebrown | #e55806orangered |
| Destructive foreground | #fdc9aanavajowhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #80524ddimgray | #80524ddimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 6.54:1 | AA |
| Secondary button | 4.74:1 | AA |
| Muted text | 6.25:1 | AA |
| Accent | 4.74:1 | AA |
| Destructive | 6.78:1 | AA |
| Text on background | 20.72:1 | AAA |
| Text on card | 20.45:1 | AAA |
| Primary button | 6.54:1 | AA |
| Secondary button | 4.74:1 | AA |
| Muted text | 8.16:1 | AAA |
| Accent | 4.74:1 | AA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Unwitting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 25.044);
--foreground: oklch(0.133 0.031 33.079);
--muted: oklch(0.934 0.006 204.942);
--muted-foreground: oklch(0.445 0.013 204.795);
--popover: oklch(0.981 0.006 25.044);
--popover-foreground: oklch(0.133 0.031 33.079);
--card: oklch(0.972 0.01 25.073);
--card-foreground: oklch(0.119 0.027 33.669);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.487 0.063 26.54);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.55 0.051 204.74);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.55 0.051 204.74);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.389 0.11 44.253);
--destructive-foreground: oklch(0.873 0.072 51.528);
--ring: oklch(0.487 0.063 26.54);
--chart-1: oklch(0.487 0.063 26.54);
--chart-2: oklch(0.55 0.051 204.74);
--chart-3: oklch(0.55 0.051 204.74);
--chart-4: oklch(0.579 0.054 204.743);
--chart-5: oklch(0.486 0.071 26.801);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.007 27.406);
--foreground: oklch(1 0 180);
--muted: oklch(0.21 0.008 204.75);
--muted-foreground: oklch(0.756 0.012 204.878);
--popover: oklch(0.088 0.007 27.406);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.111 0.008 27.406);
--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.487 0.063 26.54);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.55 0.051 204.74);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.55 0.051 204.74);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.637 0.19 42.061);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.487 0.063 26.54);
--chart-1: oklch(0.487 0.063 26.54);
--chart-2: oklch(0.55 0.051 204.74);
--chart-3: oklch(0.55 0.051 204.74);
--chart-4: oklch(0.579 0.054 204.743);
--chart-5: oklch(0.486 0.071 26.801);
}