Progress is a shadcn/ui theme built around a light purple primary color (#f1b6eb) with light pink accents (#f1b6ce). The light mode uses a neutral background (#fefbfe). Dark mode keeps the light purple primary (#f1b6eb) on a purple-tinted background (#0c030b).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #0c030bblack |
| Foreground | #150414black | #fdfcfdwhite |
| Card | #fefbfewhite | #0c030bblack |
| Card foreground | #150414black | #fdfcfdwhite |
| Popover | #fefbfewhite | #0c030bblack |
| Popover foreground | #150414black | #fdfcfdwhite |
| Primary | #f1b6ebthistle | #f1b6ebthistle |
| Primary foreground | #63135bindigo | #63135bindigo |
| Secondary | #dab6f1thistle | #dab6f1thistle |
| Secondary foreground | #431363indigo | #431363indigo |
| Muted | #e7dceflavender | #1b1023black |
| Muted foreground | #49424ddarkslategray | #b9b2bdsilver |
| Accent | #f1b6cepink | #f1b6cepink |
| Accent foreground | #631333maroon | #631333maroon |
| Destructive | #9d2c06saddlebrown | #e23f08orangered |
| Destructive foreground | #fee1d8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1b6ebthistle | #f1b6ebthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 7.30:1 | AAA |
| Accent | 7.38:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 7.12:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 8.88:1 | AAA |
| Accent | 7.38:1 | AAA |
| Destructive | 4.23:1 | AA Large |
Paste this into your globals.css to use Progress in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 328.642);
--foreground: oklch(0.15 0.044 331.199);
--muted: oklch(0.909 0.03 312.116);
--muted-foreground: oklch(0.389 0.021 311.958);
--popover: oklch(0.991 0.004 328.642);
--popover-foreground: oklch(0.15 0.044 331.199);
--card: oklch(0.991 0.004 328.642);
--card-foreground: oklch(0.15 0.044 331.199);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.847 0.097 329.785);
--primary-foreground: oklch(0.356 0.139 332.636);
--secondary: oklch(0.827 0.089 311.554);
--secondary-foreground: oklch(0.31 0.132 307.506);
--accent: oklch(0.837 0.074 353.006);
--accent-foreground: oklch(0.336 0.115 1.7);
--destructive: oklch(0.466 0.156 35.967);
--destructive-foreground: oklch(0.931 0.034 39.325);
--ring: oklch(0.847 0.097 329.785);
--chart-1: oklch(0.847 0.097 329.785);
--chart-2: oklch(0.827 0.089 311.554);
--chart-3: oklch(0.837 0.074 353.006);
--chart-4: oklch(0.857 0.073 311.726);
--chart-5: oklch(0.846 0.101 329.836);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.03 330.204);
--foreground: oklch(0.992 0.001 328.604);
--muted: oklch(0.198 0.042 310.676);
--muted-foreground: oklch(0.772 0.018 312.188);
--popover: oklch(0.123 0.03 330.204);
--popover-foreground: oklch(0.992 0.001 328.604);
--card: oklch(0.123 0.03 330.204);
--card-foreground: oklch(0.992 0.001 328.604);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.847 0.097 329.785);
--primary-foreground: oklch(0.356 0.139 332.636);
--secondary: oklch(0.827 0.089 311.554);
--secondary-foreground: oklch(0.31 0.132 307.506);
--accent: oklch(0.837 0.074 353.006);
--accent-foreground: oklch(0.336 0.115 1.7);
--destructive: oklch(0.606 0.207 35.368);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.847 0.097 329.785);
--chart-1: oklch(0.847 0.097 329.785);
--chart-2: oklch(0.827 0.089 311.554);
--chart-3: oklch(0.837 0.074 353.006);
--chart-4: oklch(0.857 0.073 311.726);
--chart-5: oklch(0.846 0.101 329.836);
}