Menacing is a shadcn/ui theme built around a light purple primary color (#f2bfe4) with light red accents (#f2bfca). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the light purple primary (#f2bfe4) on a purple-tinted background (#0b0409).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0b0409black |
| Foreground | #0e020ablack | #ffffffwhite |
| Card | #fbf8fbsnow | #0f060cblack |
| Card foreground | #090107black | #ffffffwhite |
| Popover | #fbf8fbsnow | #0f060cblack |
| Popover foreground | #090107black | #ffffffwhite |
| Primary | #f2bfe4pink | #f2bfe4pink |
| Primary foreground | #6a1552purple | #6a1552purple |
| Secondary | #e7bff2thistle | #e7bff2thistle |
| Secondary foreground | #58156aindigo | #58156aindigo |
| Muted | #f3eaf5whitesmoke | #120a15black |
| Muted foreground | #5a575bdimgray | #a7a4a8darkgray |
| Accent | #f2bfcapink | #f2bfcapink |
| Accent foreground | #6a1528maroon | #6a1528maroon |
| Destructive | #9c1d0dfirebrick | #ef4e39tomato |
| Destructive foreground | #fce2demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2bfe4pink | #f2bfe4pink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.25:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 7.48:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 7.25:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 7.88:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Menacing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 335.232);
--foreground: oklch(0.119 0.038 336.83);
--muted: oklch(0.948 0.017 318.884);
--muted-foreground: oklch(0.462 0.007 318.885);
--popover: oklch(0.983 0.004 335.274);
--popover-foreground: oklch(0.104 0.033 336.042);
--card: oklch(0.983 0.004 335.274);
--card-foreground: oklch(0.104 0.033 336.042);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.861 0.075 336.703);
--primary-foreground: oklch(0.367 0.135 342.083);
--secondary: oklch(0.856 0.082 318.851);
--secondary-foreground: oklch(0.351 0.145 317.696);
--accent: oklch(0.854 0.06 3.957);
--accent-foreground: oklch(0.351 0.118 13.827);
--destructive: oklch(0.449 0.164 31.022);
--destructive-foreground: oklch(0.932 0.03 26.686);
--ring: oklch(0.861 0.075 336.703);
--chart-1: oklch(0.861 0.075 336.703);
--chart-2: oklch(0.856 0.082 318.851);
--chart-3: oklch(0.854 0.06 3.957);
--chart-4: oklch(0.885 0.065 318.862);
--chart-5: oklch(0.861 0.079 336.77);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.019 335.731);
--foreground: oklch(1 0 180);
--muted: oklch(0.162 0.026 318.799);
--muted-foreground: oklch(0.722 0.006 318.888);
--popover: oklch(0.139 0.022 336.948);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.022 336.948);
--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.861 0.075 336.703);
--primary-foreground: oklch(0.367 0.135 342.083);
--secondary: oklch(0.856 0.082 318.851);
--secondary-foreground: oklch(0.351 0.145 317.696);
--accent: oklch(0.854 0.06 3.957);
--accent-foreground: oklch(0.351 0.118 13.827);
--destructive: oklch(0.645 0.201 30.683);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.861 0.075 336.703);
--chart-1: oklch(0.861 0.075 336.703);
--chart-2: oklch(0.856 0.082 318.851);
--chart-3: oklch(0.854 0.06 3.957);
--chart-4: oklch(0.885 0.065 318.862);
--chart-5: oklch(0.861 0.079 336.77);
}