Path is a shadcn/ui theme built around a light indigo primary color (#e4e4f2) with light violet accents (#ebe4f2). The light mode uses a neutral background (#ffffff). Dark mode keeps the light indigo primary (#e4e4f2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #010104black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #010104black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #010104black | #ffffffwhite |
| Primary | #e4e4f2lavender | #e4e4f2lavender |
| Primary foreground | #38366ddarkslateblue | #38366ddarkslateblue |
| Secondary | #e4eaf2lavender | #e4eaf2lavender |
| Secondary foreground | #36506ddarkslategray | #36506ddarkslategray |
| Muted | #d7dbe0gainsboro | #1f2328darkslategray |
| Muted foreground | #454e59darkslategray | #a6afbadarkgray |
| Accent | #ebe4f2lavender | #ebe4f2lavender |
| Accent foreground | #53366ddarkslateblue | #53366ddarkslateblue |
| Destructive | #a43b0esaddlebrown | #d84e13chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4e4f2lavender | #e4e4f2lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.84:1 | AAA |
| Text on card | 20.84:1 | AAA |
| Primary button | 8.68:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 6.06:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.68:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 7.08:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 4.19:1 | AA Large |
Paste this into your globals.css to use Path in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.077 0.015 284.419);
--muted: oklch(0.89 0.008 251.52);
--muted-foreground: oklch(0.421 0.022 251.831);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.077 0.015 284.419);
--card: oklch(1 0 180);
--card-foreground: oklch(0.077 0.015 284.419);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.922 0.019 287.561);
--primary-foreground: oklch(0.364 0.093 282.222);
--secondary: oklch(0.935 0.012 251.555);
--secondary-foreground: oklch(0.423 0.059 252.465);
--accent: oklch(0.928 0.02 309.57);
--accent-foreground: oklch(0.393 0.096 307.151);
--destructive: oklch(0.496 0.148 39.804);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.922 0.019 287.561);
--chart-1: oklch(0.922 0.019 287.561);
--chart-2: oklch(0.935 0.012 251.555);
--chart-3: oklch(0.928 0.02 309.57);
--chart-4: oklch(0.959 0.008 251.514);
--chart-5: oklch(0.921 0.02 287.526);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.256 0.01 251.753);
--muted-foreground: oklch(0.751 0.019 251.646);
--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.922 0.019 287.561);
--primary-foreground: oklch(0.364 0.093 282.222);
--secondary: oklch(0.935 0.012 251.555);
--secondary-foreground: oklch(0.423 0.059 252.465);
--accent: oklch(0.928 0.02 309.57);
--accent-foreground: oklch(0.393 0.096 307.151);
--destructive: oklch(0.605 0.184 39.404);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.922 0.019 287.561);
--chart-1: oklch(0.922 0.019 287.561);
--chart-2: oklch(0.935 0.012 251.555);
--chart-3: oklch(0.928 0.02 309.57);
--chart-4: oklch(0.959 0.008 251.514);
--chart-5: oklch(0.921 0.02 287.526);
}