Pilgrimage is a shadcn/ui theme built around an indigo primary color (#5b62ae) with violet accents (#7e5bae). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#5b62ae) on an indigo-tinted background (#04040b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04040bblack |
| Foreground | #03040cblack | #f9f9fbghostwhite |
| Card | #fcfcfcsnow | #05060fblack |
| Card foreground | #020308black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #05060fblack |
| Popover foreground | #020308black | #fcfcfdwhite |
| Primary | #5b62aeslateblue | #5b62aeslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5b8caecadetblue | #5b8caecadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #e2ecf3lavender | #0c161dblack |
| Muted foreground | #3c4044darkslategray | #bbc0c3silver |
| Accent | #7e5baeslateblue | #7e5baeslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #892406saddlebrown | #f76336tomato |
| Destructive foreground | #fdd1c4peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5b62aeslateblue | #5b62aeslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.45:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 5.52:1 | AA |
| Secondary button | 5.78:1 | AA |
| Muted text | 8.72:1 | AAA |
| Accent | 5.26:1 | AA |
| Destructive | 6.49:1 | AA |
| Text on background | 19.40:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 5.52:1 | AA |
| Secondary button | 5.78:1 | AA |
| Muted text | 9.98:1 | AAA |
| Accent | 5.26:1 | AA |
| Destructive | 6.78:1 | AA |
Paste this into your globals.css to use Pilgrimage in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.112 0.022 276.275);
--muted: oklch(0.938 0.014 238.571);
--muted-foreground: oklch(0.37 0.008 238.678);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.097 0.019 276.256);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.097 0.019 276.256);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.526 0.119 277.549);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.618 0.074 240.595);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.544 0.13 301.463);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.42 0.141 35.489);
--destructive-foreground: oklch(0.895 0.052 37.593);
--ring: oklch(0.526 0.119 277.549);
--chart-1: oklch(0.526 0.119 277.549);
--chart-2: oklch(0.618 0.074 240.595);
--chart-3: oklch(0.544 0.13 301.463);
--chart-4: oklch(0.642 0.07 240.287);
--chart-5: oklch(0.52 0.13 276.975);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.019 277.333);
--foreground: oklch(0.983 0.003 282.168);
--muted: oklch(0.193 0.02 240.137);
--muted-foreground: oklch(0.805 0.007 238.48);
--popover: oklch(0.127 0.022 277.442);
--popover-foreground: oklch(0.991 0.001 282.19);
--card: oklch(0.127 0.022 277.442);
--card-foreground: oklch(0.991 0.001 282.19);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.526 0.119 277.549);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.618 0.074 240.595);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.544 0.13 301.463);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.682 0.191 37.094);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.526 0.119 277.549);
--chart-1: oklch(0.526 0.119 277.549);
--chart-2: oklch(0.618 0.074 240.595);
--chart-3: oklch(0.544 0.13 301.463);
--chart-4: oklch(0.642 0.07 240.287);
--chart-5: oklch(0.52 0.13 276.975);
}