Pulley is a shadcn/ui theme built around a muted deep pink primary color (#4e2c3b) with muted deep teal accents (#2c4e3f). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep pink primary (#4e2c3b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #050102black | #faf5f7whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #050102black | #faf5f7whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #050102black | #faf5f7whitesmoke |
| Primary | #4e2c3bdarkslategray | #4e2c3bdarkslategray |
| Primary foreground | #e2cbd5thistle | #e2cbd5thistle |
| Secondary | #2c4e3fdarkslategray | #2c4e3fdarkslategray |
| Secondary foreground | #cbe2d7lightgrey | #cbe2d7lightgrey |
| Muted | #e7f3eehoneydew | #0c1812black |
| Muted foreground | #515854darkslategray | #a7aeabdarkgray |
| Accent | #2c4e3fdarkslategray | #2c4e3fdarkslategray |
| Accent foreground | #cbe2d7lightgrey | #cbe2d7lightgrey |
| Destructive | #bd400ffirebrick | #de4c12chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4e2c3bdarkslategray | #4e2c3bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 6.75:1 | AA |
| Muted text | 6.43:1 | AA |
| Accent | 6.75:1 | AA |
| Destructive | 5.37:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 6.75:1 | AA |
| Muted text | 8.03:1 | AAA |
| Accent | 6.75:1 | AA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Pulley in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.08 0.024 347.343);
--muted: oklch(0.954 0.015 167.368);
--muted-foreground: oklch(0.452 0.01 167.2);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.08 0.024 347.343);
--card: oklch(1 0 180);
--card-foreground: oklch(0.08 0.024 347.343);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.342 0.055 351.933);
--primary-foreground: oklch(0.863 0.029 348.708);
--secondary: oklch(0.394 0.048 163.75);
--secondary-foreground: oklch(0.892 0.028 166.918);
--accent: oklch(0.394 0.048 163.75);
--accent-foreground: oklch(0.892 0.028 166.918);
--destructive: oklch(0.544 0.169 38.411);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.342 0.055 351.933);
--chart-1: oklch(0.342 0.055 351.933);
--chart-2: oklch(0.394 0.048 163.75);
--chart-3: oklch(0.394 0.048 163.75);
--chart-4: oklch(0.426 0.053 163.665);
--chart-5: oklch(0.341 0.061 352.388);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.006 347.98);
--muted: oklch(0.196 0.021 164.315);
--muted-foreground: oklch(0.745 0.009 167.487);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.974 0.006 347.98);
--card: oklch(0 0 0);
--card-foreground: oklch(0.974 0.006 347.98);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.342 0.055 351.933);
--primary-foreground: oklch(0.863 0.029 348.708);
--secondary: oklch(0.394 0.048 163.75);
--secondary-foreground: oklch(0.892 0.028 166.918);
--accent: oklch(0.394 0.048 163.75);
--accent-foreground: oklch(0.892 0.028 166.918);
--destructive: oklch(0.612 0.192 38.199);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.342 0.055 351.933);
--chart-1: oklch(0.342 0.055 351.933);
--chart-2: oklch(0.394 0.048 163.75);
--chart-3: oklch(0.394 0.048 163.75);
--chart-4: oklch(0.426 0.053 163.665);
--chart-5: oklch(0.341 0.061 352.388);
}