Meander is a shadcn/ui theme built around a muted green primary color (#9ea489) with muted indigo accents (#8f89a4). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted green primary (#9ea489) on a neutral background (#060703).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #060703black |
| Foreground | #0d1004black | #fdfdfcwhite |
| Card | #fdfefbwhite | #060703black |
| Card foreground | #0d1004black | #fdfdfcwhite |
| Popover | #fdfefbwhite | #060703black |
| Popover foreground | #0d1004black | #fdfdfcwhite |
| Primary | #9ea489darkseagreen | #9ea489darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #8f89a4lightslategray | #8f89a4lightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #edeaf5lavender | #0c0a15black |
| Muted foreground | #656567dimgray | #98989adarkgray |
| Accent | #8f89a4lightslategray | #8f89a4lightslategray |
| Accent foreground | #000000black | #000000black |
| Destructive | #5e2208maroon | #ec5818chocolate |
| Destructive foreground | #f7bba1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9ea489darkseagreen | #9ea489darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 8.13:1 | AAA |
| Secondary button | 6.27:1 | AA |
| Muted text | 4.91:1 | AA |
| Accent | 6.27:1 | AA |
| Destructive | 7.36:1 | AAA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 8.13:1 | AAA |
| Secondary button | 6.27:1 | AA |
| Muted text | 6.81:1 | AA |
| Accent | 6.27:1 | AA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Meander in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 116.412);
--foreground: oklch(0.166 0.024 118.194);
--muted: oklch(0.943 0.014 296.058);
--muted-foreground: oklch(0.508 0.003 296.215);
--popover: oklch(0.996 0.004 116.412);
--popover-foreground: oklch(0.166 0.024 118.194);
--card: oklch(0.996 0.004 116.412);
--card-foreground: oklch(0.166 0.024 118.194);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.707 0.039 117.334);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.644 0.041 295.166);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.644 0.041 295.166);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.338 0.096 40.784);
--destructive-foreground: oklch(0.84 0.079 44.251);
--ring: oklch(0.707 0.039 117.334);
--chart-1: oklch(0.707 0.039 117.334);
--chart-2: oklch(0.644 0.041 295.166);
--chart-3: oklch(0.644 0.041 295.166);
--chart-4: oklch(0.671 0.037 295.309);
--chart-5: oklch(0.714 0.048 117.547);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.013 116.65);
--foreground: oklch(0.993 0.001 116.35);
--muted: oklch(0.154 0.022 293.565);
--muted-foreground: oklch(0.681 0.003 296.25);
--popover: oklch(0.125 0.013 116.65);
--popover-foreground: oklch(0.993 0.001 116.35);
--card: oklch(0.125 0.013 116.65);
--card-foreground: oklch(0.993 0.001 116.35);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.707 0.039 117.334);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.644 0.041 295.166);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.644 0.041 295.166);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.65 0.196 39.621);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.707 0.039 117.334);
--chart-1: oklch(0.707 0.039 117.334);
--chart-2: oklch(0.644 0.041 295.166);
--chart-3: oklch(0.644 0.041 295.166);
--chart-4: oklch(0.671 0.037 295.309);
--chart-5: oklch(0.714 0.048 117.547);
}