Menu is a shadcn/ui theme built around an indigo primary color (#8b85d1) with green accents (#cad185). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the indigo primary (#8b85d1) on an indigo-tinted background (#06060f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #06060fblack |
| Foreground | #050416black | #ffffffwhite |
| Card | #fbfbfeghostwhite | #06060fblack |
| Card foreground | #050416black | #ffffffwhite |
| Popover | #fbfbfeghostwhite | #06060fblack |
| Popover foreground | #050416black | #ffffffwhite |
| Primary | #8b85d1mediumpurple | #8b85d1mediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #cad185tan | #cad185tan |
| Secondary foreground | #191a0ablack | #191a0ablack |
| Muted | #e6e8cegainsboro | #2e3117darkslategray |
| Muted foreground | #676765dimgray | #9a9a98darkgray |
| Accent | #cad185tan | #cad185tan |
| Accent foreground | #191a0ablack | #191a0ablack |
| Destructive | #7a1106maroon | #f64a37tomato |
| Destructive foreground | #fcbdb6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8b85d1mediumpurple | #8b85d1mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 10.85:1 | AAA |
| Muted text | 4.54:1 | AA |
| Accent | 10.85:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 10.85:1 | AAA |
| Muted text | 4.76:1 | AA |
| Accent | 10.85:1 | AAA |
| Destructive | 3.53:1 | AA Large |
Paste this into your globals.css to use Menu in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 290.179);
--foreground: oklch(0.125 0.041 284.069);
--muted: oklch(0.923 0.034 110.93);
--muted-foreground: oklch(0.513 0.003 110.362);
--popover: oklch(0.989 0.004 290.179);
--popover-foreground: oklch(0.125 0.041 284.069);
--card: oklch(0.989 0.004 290.179);
--card-foreground: oklch(0.125 0.041 284.069);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.653 0.112 286.692);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.838 0.098 112.387);
--secondary-foreground: oklch(0.211 0.029 112.751);
--accent: oklch(0.838 0.098 112.387);
--accent-foreground: oklch(0.211 0.029 112.751);
--destructive: oklch(0.373 0.14 30.659);
--destructive-foreground: oklch(0.853 0.073 25.923);
--ring: oklch(0.653 0.112 286.692);
--chart-1: oklch(0.653 0.112 286.692);
--chart-2: oklch(0.838 0.098 112.387);
--chart-3: oklch(0.838 0.098 112.387);
--chart-4: oklch(0.852 0.09 112.169);
--chart-5: oklch(0.648 0.119 286.386);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.022 287.596);
--foreground: oklch(1 0 180);
--muted: oklch(0.302 0.042 112.798);
--muted-foreground: oklch(0.686 0.003 110.327);
--popover: oklch(0.127 0.022 287.596);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.127 0.022 287.596);
--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.653 0.112 286.692);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.838 0.098 112.387);
--secondary-foreground: oklch(0.211 0.029 112.751);
--accent: oklch(0.838 0.098 112.387);
--accent-foreground: oklch(0.211 0.029 112.751);
--destructive: oklch(0.652 0.211 30.035);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.653 0.112 286.692);
--chart-1: oklch(0.653 0.112 286.692);
--chart-2: oklch(0.838 0.098 112.387);
--chart-3: oklch(0.838 0.098 112.387);
--chart-4: oklch(0.852 0.09 112.169);
--chart-5: oklch(0.648 0.119 286.386);
}