Merchandise is a shadcn/ui theme built around a muted green primary color (#3e6f50) with neutral gray accents (#cfd3d1). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the muted green primary (#3e6f50) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #000000black |
| Foreground | #000000black | #f8fcf9mintcream |
| Card | #f4fbf6mintcream | #030303black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #f8fcf9mintcream | #000000black |
| Popover foreground | #000000black | #f8fcf9mintcream |
| Primary | #3e6f50seagreen | #3e6f50seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cfd3d1lightgrey | #242d28darkslategray |
| Secondary foreground | #363a38darkslategray | #bbc9c0silver |
| Muted | #d1eadagainsboro | #152e1eblack |
| Muted foreground | #54645adimgray | #9baba1darkgray |
| Accent | #cfd3d1lightgrey | #242d28darkslategray |
| Accent foreground | #363a38darkslategray | #bbc9c0silver |
| Destructive | #6b1806maroon | #f34720orangered |
| Destructive foreground | #fab7a8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3e6f50seagreen | #3e6f50seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 5.83:1 | AA |
| Secondary button | 7.63:1 | AAA |
| Muted text | 4.94:1 | AA |
| Accent | 7.63:1 | AAA |
| Destructive | 7.07:1 | AAA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 5.83:1 | AA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 6.08:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 3.65:1 | AA Large |
Paste this into your globals.css to use Merchandise in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 158.59);
--foreground: oklch(0 0 0);
--muted: oklch(0.915 0.034 157.887);
--muted-foreground: oklch(0.486 0.026 157.501);
--popover: oklch(0.987 0.006 158.59);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.009 158.524);
--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.498 0.073 154.957);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.863 0.005 158.592);
--secondary-foreground: oklch(0.344 0.008 158.221);
--accent: oklch(0.863 0.005 158.592);
--accent-foreground: oklch(0.344 0.008 158.221);
--destructive: oklch(0.349 0.119 33.736);
--destructive-foreground: oklch(0.838 0.082 33.017);
--ring: oklch(0.498 0.073 154.957);
--chart-1: oklch(0.498 0.073 154.957);
--chart-2: oklch(0.863 0.005 158.592);
--chart-3: oklch(0.863 0.005 158.592);
--chart-4: oklch(0.886 0.004 158.616);
--chart-5: oklch(0.503 0.08 154.56);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.005 158.617);
--muted: oklch(0.274 0.043 154.557);
--muted-foreground: oklch(0.727 0.024 157.993);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.005 158.617);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.002 158.669);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.498 0.073 154.957);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.288 0.016 157.441);
--secondary-foreground: oklch(0.822 0.019 158.215);
--accent: oklch(0.288 0.016 157.441);
--accent-foreground: oklch(0.822 0.019 158.215);
--destructive: oklch(0.643 0.215 33.688);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.498 0.073 154.957);
--chart-1: oklch(0.498 0.073 154.957);
--chart-2: oklch(0.288 0.016 157.441);
--chart-3: oklch(0.288 0.016 157.441);
--chart-4: oklch(0.32 0.019 157.387);
--chart-5: oklch(0.503 0.08 154.56);
}