Menacing is a shadcn/ui theme built around a yellow primary color (#a9934c) with green accents (#90a94c). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the yellow primary (#a9934c) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf7snow | #040301black |
| Foreground | #040301black | #fdfdfcwhite |
| Card | #fcfaf3floralwhite | #070603black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfaf3floralwhite | #070603black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #a9934cperu | #a9934cperu |
| Primary foreground | #000000black | #000000black |
| Secondary | #a9654csienna | #a9654csienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e4dbd7gainsboro | #281e1bblack |
| Muted foreground | #48403ddarkslategray | #c2bab7silver |
| Accent | #90a94cyellowgreen | #90a94cyellowgreen |
| Accent foreground | #181c0dblack | #181c0dblack |
| Destructive | #7f1a0amaroon | #e72f13orangered |
| Destructive foreground | #fac9c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a9934cperu | #a9934cperu |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.99:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 4.52:1 | AA |
| Muted text | 7.41:1 | AAA |
| Accent | 6.57:1 | AA |
| Destructive | 6.89:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 4.52:1 | AA |
| Muted text | 8.52:1 | AAA |
| Accent | 6.57:1 | AA |
| Destructive | 4.35:1 | AA Large |
Paste this into your globals.css to use Menacing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 92.716);
--foreground: oklch(0.099 0.011 96.913);
--muted: oklch(0.897 0.012 41.206);
--muted-foreground: oklch(0.378 0.012 41.095);
--popover: oklch(0.984 0.009 92.745);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.009 92.745);
--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.668 0.095 92.764);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.576 0.096 40.633);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.695 0.123 122.089);
--accent-foreground: oklch(0.218 0.029 121.016);
--destructive: oklch(0.392 0.139 31.617);
--destructive-foreground: oklch(0.877 0.057 28.404);
--ring: oklch(0.668 0.095 92.764);
--chart-1: oklch(0.668 0.095 92.764);
--chart-2: oklch(0.576 0.096 40.633);
--chart-3: oklch(0.695 0.123 122.089);
--chart-4: oklch(0.601 0.097 40.657);
--chart-5: oklch(0.675 0.101 92.619);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.01 96.692);
--foreground: oklch(0.993 0.001 92.671);
--muted: oklch(0.246 0.017 40.941);
--muted-foreground: oklch(0.795 0.01 41.212);
--popover: oklch(0.124 0.013 96.692);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.013 96.692);
--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.668 0.095 92.764);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.576 0.096 40.633);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.695 0.123 122.089);
--accent-foreground: oklch(0.218 0.029 121.016);
--destructive: oklch(0.602 0.221 31.453);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.668 0.095 92.764);
--chart-1: oklch(0.668 0.095 92.764);
--chart-2: oklch(0.576 0.096 40.633);
--chart-3: oklch(0.695 0.123 122.089);
--chart-4: oklch(0.601 0.097 40.657);
--chart-5: oklch(0.675 0.101 92.619);
}