Path is a shadcn/ui theme built around a muted deep green primary color (#40472e) with neutral gray accents (#cccccc). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted deep green primary (#40472e) on a green-tinted background (#0a0c04).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #0a0c04black |
| Foreground | #030401black | #ffffffwhite |
| Card | #fdfefbwhite | #0a0c04black |
| Card foreground | #030401black | #ffffffwhite |
| Popover | #fdfefbwhite | #0a0c04black |
| Popover foreground | #030401black | #ffffffwhite |
| Primary | #40472edarkslategray | #40472edarkslategray |
| Primary foreground | #d8ddcblightgrey | #d8ddcblightgrey |
| Secondary | #cccccclightgrey | #2d2e28darkslategray |
| Secondary foreground | #333333darkslategray | #c6c8c0silver |
| Muted | #e9d8d8gainsboro | #232716black |
| Muted foreground | #675656dimgray | #a5a998darkgray |
| Accent | #cccccclightgrey | #2d2e28darkslategray |
| Accent foreground | #333333darkslategray | #c6c8c0silver |
| Destructive | #6a0906maroon | #f2241ccrimson |
| Destructive foreground | #faaba8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #40472edarkslategray | #40472edarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 6.99:1 | AA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 5.00:1 | AA |
| Accent | 7.86:1 | AAA |
| Destructive | 6.91:1 | AA |
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 6.99:1 | AA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.33:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Path in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 118.638);
--foreground: oklch(0.105 0.018 118.666);
--muted: oklch(0.895 0.02 17.526);
--muted-foreground: oklch(0.47 0.022 17.98);
--popover: oklch(0.996 0.004 118.638);
--popover-foreground: oklch(0.105 0.018 118.666);
--card: oklch(0.996 0.004 118.638);
--card-foreground: oklch(0.105 0.018 118.666);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.385 0.04 120.467);
--primary-foreground: oklch(0.888 0.025 119.059);
--secondary: oklch(0.845 0 164.055);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(0.845 0 164.055);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.336 0.129 28.961);
--destructive-foreground: oklch(0.816 0.094 21.499);
--ring: oklch(0.385 0.04 120.467);
--chart-1: oklch(0.385 0.04 120.467);
--chart-2: oklch(0.845 0 164.055);
--chart-3: oklch(0.845 0 164.055);
--chart-4: oklch(0.869 0 165.964);
--chart-5: oklch(0.389 0.046 120.709);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.02 118.921);
--foreground: oklch(1 0 180);
--muted: oklch(0.264 0.032 120.76);
--muted-foreground: oklch(0.727 0.024 119.156);
--popover: oklch(0.147 0.02 118.921);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.147 0.02 118.921);
--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.385 0.04 120.467);
--primary-foreground: oklch(0.888 0.025 119.059);
--secondary: oklch(0.299 0.011 119.206);
--secondary-foreground: oklch(0.83 0.012 118.808);
--accent: oklch(0.299 0.011 119.206);
--accent-foreground: oklch(0.83 0.012 118.808);
--destructive: oklch(0.615 0.236 28.83);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.385 0.04 120.467);
--chart-1: oklch(0.385 0.04 120.467);
--chart-2: oklch(0.299 0.011 119.206);
--chart-3: oklch(0.299 0.011 119.206);
--chart-4: oklch(0.331 0.013 119.23);
--chart-5: oklch(0.389 0.046 120.709);
}