Mound is a shadcn/ui theme built around a green primary color (#59a136) with pink accents (#a13659). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#59a136) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0a1603black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0a1603black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0a1603black | #ffffffwhite |
| Primary | #59a136olivedrab | #59a136olivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3659a1darkslateblue | #3659a1darkslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0e2e6gainsboro | #191b1fblack |
| Muted foreground | #393f4cdarkslategray | #b3bac6silver |
| Accent | #a13659brown | #a13659brown |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #920e0cdarkred | #ef3c39crimson |
| Destructive foreground | #fcd5d5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #59a136olivedrab | #59a136olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.60:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 3.20:1 | AA Large |
| Secondary button | 6.76:1 | AA |
| Muted text | 8.14:1 | AAA |
| Accent | 6.61:1 | AA |
| Destructive | 6.80:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 3.20:1 | AA Large |
| Secondary button | 6.76:1 | AA |
| Muted text | 8.82:1 | AAA |
| Accent | 6.61:1 | AA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Mound in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.183 0.042 134.85);
--muted: oklch(0.912 0.005 264.532);
--muted-foreground: oklch(0.368 0.023 264.24);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.183 0.042 134.85);
--card: oklch(1 0 180);
--card-foreground: oklch(0.183 0.042 134.85);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.638 0.159 136.906);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.476 0.123 262.651);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.496 0.144 3.52);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.421 0.164 28.556);
--destructive-foreground: oklch(0.906 0.043 19.127);
--ring: oklch(0.638 0.159 136.906);
--chart-1: oklch(0.638 0.159 136.906);
--chart-2: oklch(0.476 0.123 262.651);
--chart-3: oklch(0.496 0.144 3.52);
--chart-4: oklch(0.499 0.13 262.636);
--chart-5: oklch(0.646 0.166 137.064);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.222 0.008 264.404);
--muted-foreground: oklch(0.787 0.019 264.46);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.638 0.159 136.906);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.476 0.123 262.651);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.496 0.144 3.52);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.628 0.216 26.751);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.638 0.159 136.906);
--chart-1: oklch(0.638 0.159 136.906);
--chart-2: oklch(0.476 0.123 262.651);
--chart-3: oklch(0.496 0.144 3.52);
--chart-4: oklch(0.499 0.13 262.636);
--chart-5: oklch(0.646 0.166 137.064);
}