Menacing is a shadcn/ui theme built around a yellow primary color (#c0c468) with purple accents (#c468c0). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#c0c468) on a yellow-tinted background (#0b0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0b04black |
| Foreground | #0f1005black | #fcfcf8snow |
| Card | #fcfcfcsnow | #0f0f05black |
| Card foreground | #0b0c04black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0b0b04black |
| Popover foreground | #0f1005black | #fcfcf8snow |
| Primary | #c0c468darkkhaki | #c0c468darkkhaki |
| Primary foreground | #000000black | #000000black |
| Secondary | #68c0c4mediumaquamarine | #68c0c4mediumaquamarine |
| Secondary foreground | #000000black | #000000black |
| Muted | #dce9e9gainsboro | #162223black |
| Muted foreground | #4b6162dimgray | #9db2b4darkgray |
| Accent | #c468c0mediumorchid | #c468c0mediumorchid |
| Accent foreground | #000000black | #000000black |
| Destructive | #da0101red | #fe1b1bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c0c468darkkhaki | #c0c468darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.14:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 11.37:1 | AAA |
| Secondary button | 9.92:1 | AAA |
| Muted text | 5.29:1 | AA |
| Accent | 6.11:1 | AA |
| Destructive | 5.25:1 | AA |
| Text on background | 19.16:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 11.37:1 | AAA |
| Secondary button | 9.92:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 6.11:1 | AA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Menacing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.166 0.022 110.842);
--muted: oklch(0.924 0.013 200.719);
--muted-foreground: oklch(0.475 0.026 200.306);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.166 0.022 110.842);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.149 0.019 110.533);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.798 0.116 111.284);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.755 0.085 199.981);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.655 0.16 329.071);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.559 0.229 29.195);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.116 111.284);
--chart-1: oklch(0.798 0.116 111.284);
--chart-2: oklch(0.755 0.085 199.981);
--chart-3: oklch(0.655 0.16 329.071);
--chart-4: oklch(0.772 0.08 200);
--chart-5: oklch(0.807 0.122 111.399);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.018 110.436);
--foreground: oklch(0.989 0.005 108.802);
--muted: oklch(0.24 0.017 200.17);
--muted-foreground: oklch(0.749 0.024 200.526);
--popover: oklch(0.148 0.018 110.436);
--popover-foreground: oklch(0.989 0.005 108.802);
--card: oklch(0.165 0.021 110.745);
--card-foreground: oklch(0.995 0.002 108.756);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.798 0.116 111.284);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.755 0.085 199.981);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.655 0.16 329.071);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.633 0.25 28.397);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.116 111.284);
--chart-1: oklch(0.798 0.116 111.284);
--chart-2: oklch(0.755 0.085 199.981);
--chart-3: oklch(0.655 0.16 329.071);
--chart-4: oklch(0.772 0.08 200);
--chart-5: oklch(0.807 0.122 111.399);
}