Pathway is a shadcn/ui theme built around a muted blue primary color (#939abd) with muted violet accents (#a193bd). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the muted blue primary (#939abd) on a neutral background (#030308).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfdwhite | #030308black |
| Foreground | #020308black | #f8f9fcghostwhite |
| Card | #fbfcfdwhite | #030308black |
| Card foreground | #020308black | #f8f9fcghostwhite |
| Popover | #fbfcfdwhite | #030308black |
| Popover foreground | #020308black | #f8f9fcghostwhite |
| Primary | #939abddarkgray | #939abddarkgray |
| Primary foreground | #0c0d13black | #0c0d13black |
| Secondary | #93afbddarkgray | #93afbddarkgray |
| Secondary foreground | #0c1113black | #0c1113black |
| Muted | #e4edf1lavender | #0e171bblack |
| Muted foreground | #414a4edarkslategray | #b1babesilver |
| Accent | #a193bddarkgray | #a193bddarkgray |
| Accent foreground | #0e0c13black | #0e0c13black |
| Destructive | #5e1e08maroon | #d84413chocolate |
| Destructive foreground | #f7b7a1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #939abddarkgray | #939abddarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 8.26:1 | AAA |
| Muted text | 7.63:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 7.37:1 | AAA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 8.26:1 | AAA |
| Muted text | 9.22:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Pathway in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 277.229);
--foreground: oklch(0.099 0.02 269.154);
--muted: oklch(0.94 0.011 228.906);
--muted-foreground: oklch(0.401 0.013 229.225);
--popover: oklch(0.991 0.002 277.229);
--popover-foreground: oklch(0.099 0.02 269.154);
--card: oklch(0.991 0.002 277.229);
--card-foreground: oklch(0.099 0.02 269.154);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.694 0.051 276.116);
--primary-foreground: oklch(0.16 0.013 275.982);
--secondary: oklch(0.738 0.037 229.512);
--secondary-foreground: oklch(0.171 0.009 229.6);
--accent: oklch(0.691 0.062 300.033);
--accent-foreground: oklch(0.159 0.016 299.877);
--destructive: oklch(0.331 0.099 37.57);
--destructive-foreground: oklch(0.832 0.081 39.218);
--ring: oklch(0.694 0.051 276.116);
--chart-1: oklch(0.694 0.051 276.116);
--chart-2: oklch(0.738 0.037 229.512);
--chart-3: oklch(0.691 0.062 300.033);
--chart-4: oklch(0.762 0.033 229.403);
--chart-5: oklch(0.69 0.058 275.943);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.014 271.856);
--foreground: oklch(0.982 0.004 277.204);
--muted: oklch(0.196 0.016 230.164);
--muted-foreground: oklch(0.783 0.011 228.944);
--popover: oklch(0.103 0.014 271.856);
--popover-foreground: oklch(0.982 0.004 277.204);
--card: oklch(0.103 0.014 271.856);
--card-foreground: oklch(0.982 0.004 277.204);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.694 0.051 276.116);
--primary-foreground: oklch(0.16 0.013 275.982);
--secondary: oklch(0.738 0.037 229.512);
--secondary-foreground: oklch(0.171 0.009 229.6);
--accent: oklch(0.691 0.062 300.033);
--accent-foreground: oklch(0.159 0.016 299.877);
--destructive: oklch(0.594 0.192 36.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.694 0.051 276.116);
--chart-1: oklch(0.694 0.051 276.116);
--chart-2: oklch(0.738 0.037 229.512);
--chart-3: oklch(0.691 0.062 300.033);
--chart-4: oklch(0.762 0.033 229.403);
--chart-5: oklch(0.69 0.058 275.943);
}