Menacing is a shadcn/ui theme built around a vivid deep orange primary color (#3b1802) with vivid deep yellow accents (#3b3502). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid deep orange primary (#3b1802) on a neutral background (#080402).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #080402black |
| Foreground | #000000black | #fdfcfbsnow |
| Card | #fdf9f7snow | #0c0703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefcfbsnow | #080402black |
| Popover foreground | #000000black | #fdfcfbsnow |
| Primary | #3b1802black | #3b1802black |
| Primary foreground | #fba874lightsalmon | #fba874lightsalmon |
| Secondary | #3b0209black | #3b0209black |
| Secondary foreground | #fb7484lightcoral | #fb7484lightcoral |
| Muted | #f5ebeclinen | #140a0cblack |
| Muted foreground | #483d3edarkslategray | #c2b7b9silver |
| Accent | #3b3502darkolivegreen | #3b3502darkolivegreen |
| Accent foreground | #f8dd12gold | #f8dd12gold |
| Destructive | #c10b0bfirebrick | #f21c1ccrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3b1802black | #3b1802black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.54:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 8.30:1 | AAA |
| Secondary button | 6.61:1 | AA |
| Muted text | 8.91:1 | AAA |
| Accent | 9.06:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 19.88:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 8.30:1 | AAA |
| Secondary button | 6.61:1 | AA |
| Muted text | 9.96:1 | AAA |
| Accent | 9.06:1 | AAA |
| Destructive | 4.23: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.003 54.468);
--foreground: oklch(0 0 0);
--muted: oklch(0.947 0.011 9.177);
--muted-foreground: oklch(0.371 0.015 9.855);
--popover: oklch(0.992 0.003 54.468);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0.005 54.429);
--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.258 0.065 49.75);
--primary-foreground: oklch(0.802 0.119 52.174);
--secondary: oklch(0.226 0.087 21.008);
--secondary-foreground: oklch(0.723 0.164 14.93);
--accent: oklch(0.325 0.066 101.296);
--accent-foreground: oklch(0.892 0.183 100.266);
--destructive: oklch(0.512 0.205 28.725);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.258 0.065 49.75);
--chart-1: oklch(0.258 0.065 49.75);
--chart-2: oklch(0.226 0.087 21.008);
--chart-3: oklch(0.325 0.066 101.296);
--chart-4: oklch(0.261 0.102 22.455);
--chart-5: oklch(0.259 0.067 49.754);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.013 62.902);
--foreground: oklch(0.992 0.002 54.484);
--muted: oklch(0.161 0.017 11.495);
--muted-foreground: oklch(0.79 0.012 9.274);
--popover: oklch(0.116 0.013 62.902);
--popover-foreground: oklch(0.992 0.002 54.484);
--card: oklch(0.133 0.015 62.409);
--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.258 0.065 49.75);
--primary-foreground: oklch(0.802 0.119 52.174);
--secondary: oklch(0.226 0.087 21.008);
--secondary-foreground: oklch(0.723 0.164 14.93);
--accent: oklch(0.325 0.066 101.296);
--accent-foreground: oklch(0.892 0.183 100.266);
--destructive: oklch(0.612 0.239 28.21);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.258 0.065 49.75);
--chart-1: oklch(0.258 0.065 49.75);
--chart-2: oklch(0.226 0.087 21.008);
--chart-3: oklch(0.325 0.066 101.296);
--chart-4: oklch(0.261 0.102 22.455);
--chart-5: oklch(0.259 0.067 49.754);
}