Walker is a shadcn/ui theme built around a muted pink primary color (#775562) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted pink primary (#775562) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #000000black |
| Foreground | #090104black | #fdfcfcsnow |
| Card | #fefbfcsnow | #000000black |
| Card foreground | #090104black | #fdfcfcsnow |
| Popover | #fefbfcsnow | #000000black |
| Popover foreground | #090104black | #fdfcfcsnow |
| Primary | #775562dimgray | #775562dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d9d9d9gainsboro | #2f2d2edarkslategray |
| Secondary foreground | #404040darkslategray | #c9c5c7silver |
| Muted | #f0e0e0mistyrose | #1f0f15black |
| Muted foreground | #574c4cdarkslategray | #b3a8acdarkgray |
| Accent | #d9d9d9gainsboro | #2f2d2edarkslategray |
| Accent foreground | #404040darkslategray | #c9c5c7silver |
| Destructive | #770808maroon | #f02d2dcrimson |
| Destructive foreground | #fab7b7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #775562dimgray | #775562dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 7.32:1 | AAA |
| Muted text | 6.48:1 | AA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 8.00:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Walker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 351.707);
--foreground: oklch(0.102 0.027 351.045);
--muted: oklch(0.92 0.017 17.459);
--muted-foreground: oklch(0.428 0.015 17.768);
--popover: oklch(0.99 0.004 351.707);
--popover-foreground: oklch(0.102 0.027 351.045);
--card: oklch(0.99 0.004 351.707);
--card-foreground: oklch(0.102 0.027 351.045);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.489 0.05 354.332);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.885 0 180);
--secondary-foreground: oklch(0.371 0 168.69);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.363 0.142 28.202);
--destructive-foreground: oklch(0.842 0.078 18.82);
--ring: oklch(0.489 0.05 354.332);
--chart-1: oklch(0.489 0.05 354.332);
--chart-2: oklch(0.885 0 180);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.908 0 180);
--chart-5: oklch(0.487 0.059 354.83);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 351.655);
--muted: oklch(0.194 0.027 355.384);
--muted-foreground: oklch(0.742 0.014 352.142);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 351.655);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 351.655);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.489 0.05 354.332);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.299 0.004 352.007);
--secondary-foreground: oklch(0.827 0.004 351.734);
--accent: oklch(0.299 0.004 352.007);
--accent-foreground: oklch(0.827 0.004 351.734);
--destructive: oklch(0.619 0.228 27.138);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.489 0.05 354.332);
--chart-1: oklch(0.489 0.05 354.332);
--chart-2: oklch(0.299 0.004 352.007);
--chart-3: oklch(0.299 0.004 352.007);
--chart-4: oklch(0.329 0.005 352.021);
--chart-5: oklch(0.487 0.059 354.83);
}