Merry is a shadcn/ui theme built around a muted light teal primary color (#d6e6e0) with muted light orange accents (#e6e0d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light teal primary (#d6e6e0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #06140eblack | #f6f9f8whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #04100cblack | #f9fbfamintcream |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #06140eblack | #f6f9f8whitesmoke |
| Primary | #d6e6e0gainsboro | #d6e6e0gainsboro |
| Primary foreground | #345549darkslategray | #345549darkslategray |
| Secondary | #e0d6e6gainsboro | #e0d6e6gainsboro |
| Secondary foreground | #493455darkslategray | #493455darkslategray |
| Muted | #e1dee3gainsboro | #1f1c21black |
| Muted foreground | #61536adimgray | #a395acdarkgray |
| Accent | #e6e0d6gainsboro | #e6e0d6gainsboro |
| Accent foreground | #554934darkolivegreen | #554934darkolivegreen |
| Destructive | #6b2505maroon | #ef530borangered |
| Destructive foreground | #fbc2a7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d6e6e0gainsboro | #d6e6e0gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.84:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 5.32:1 | AA |
| Accent | 6.68:1 | AA |
| Destructive | 7.04:1 | AAA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 6.68:1 | AA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Merry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.175 0.024 167.686);
--muted: oklch(0.904 0.008 312.923);
--muted-foreground: oklch(0.465 0.04 312.402);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.175 0.024 167.686);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.159 0.021 169.199);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.911 0.019 170.984);
--primary-foreground: oklch(0.421 0.044 168.031);
--secondary: oklch(0.888 0.024 312.802);
--secondary-foreground: oklch(0.364 0.061 311.808);
--accent: oklch(0.908 0.015 79.898);
--accent-foreground: oklch(0.411 0.036 79.305);
--destructive: oklch(0.367 0.107 41.14);
--destructive-foreground: oklch(0.858 0.075 46.046);
--ring: oklch(0.911 0.019 170.984);
--chart-1: oklch(0.911 0.019 170.984);
--chart-2: oklch(0.888 0.024 312.802);
--chart-3: oklch(0.908 0.015 79.898);
--chart-4: oklch(0.914 0.018 312.849);
--chart-5: oklch(0.912 0.021 170.909);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.979 0.003 171.507);
--muted: oklch(0.232 0.012 312.647);
--muted-foreground: oklch(0.69 0.036 312.63);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.979 0.003 171.507);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.986 0.002 171.536);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.911 0.019 170.984);
--primary-foreground: oklch(0.421 0.044 168.031);
--secondary: oklch(0.888 0.024 312.802);
--secondary-foreground: oklch(0.364 0.061 311.808);
--accent: oklch(0.908 0.015 79.898);
--accent-foreground: oklch(0.411 0.036 79.305);
--destructive: oklch(0.648 0.203 39.249);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.911 0.019 170.984);
--chart-1: oklch(0.911 0.019 170.984);
--chart-2: oklch(0.888 0.024 312.802);
--chart-3: oklch(0.908 0.015 79.898);
--chart-4: oklch(0.914 0.018 312.849);
--chart-5: oklch(0.912 0.021 170.909);
}