Slow is a shadcn/ui theme built around a muted green primary color (#507752) with muted purple accents (#775075). The light mode uses a neutral background (#f7fcf8). Dark mode keeps the muted green primary (#507752) on a green-tinted background (#050b05).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcf8mintcream | #050b05black |
| Foreground | #030d03black | #ffffffwhite |
| Card | #f4fbf4whitesmoke | #060e07black |
| Card foreground | #020802black | #ffffffwhite |
| Popover | #f7fcf8mintcream | #050b05black |
| Popover foreground | #030d03black | #ffffffwhite |
| Primary | #507752dimgray | #507752dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #775075dimgray | #775075dimgray |
| Secondary foreground | #fdfcfdwhite | #fdfcfdwhite |
| Muted | #ecdfeblavender | #20131fblack |
| Muted foreground | #4c3d4bdarkslategray | #c2b3c1silver |
| Accent | #775075dimgray | #775075dimgray |
| Accent foreground | #fdfcfdwhite | #fdfcfdwhite |
| Destructive | #651f01maroon | #fe6d2ftomato |
| Destructive foreground | #feb89aburlywood | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #507752dimgray | #507752dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 5.10:1 | AA |
| Secondary button | 6.45:1 | AA |
| Muted text | 7.87:1 | AAA |
| Accent | 6.45:1 | AA |
| Destructive | 7.15:1 | AAA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 5.10:1 | AA |
| Secondary button | 6.45:1 | AA |
| Muted text | 8.94:1 | AAA |
| Accent | 6.45:1 | AA |
| Destructive | 7.44:1 | AAA |
Paste this into your globals.css to use Slow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.008 147.465);
--foreground: oklch(0.141 0.03 145.894);
--muted: oklch(0.918 0.02 327.76);
--muted-foreground: oklch(0.382 0.031 328.312);
--popover: oklch(0.987 0.008 147.465);
--popover-foreground: oklch(0.141 0.03 145.894);
--card: oklch(0.981 0.012 147.423);
--card-foreground: oklch(0.123 0.026 145.949);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.53 0.073 146.061);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.487 0.076 328.971);
--secondary-foreground: oklch(0.992 0.002 327.562);
--accent: oklch(0.487 0.076 328.971);
--accent-foreground: oklch(0.992 0.002 327.562);
--destructive: oklch(0.347 0.108 39.954);
--destructive-foreground: oklch(0.841 0.092 44.146);
--ring: oklch(0.53 0.073 146.061);
--chart-1: oklch(0.53 0.073 146.061);
--chart-2: oklch(0.487 0.076 328.971);
--chart-3: oklch(0.487 0.076 328.971);
--chart-4: oklch(0.513 0.081 328.982);
--chart-5: oklch(0.536 0.083 145.849);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.018 146.579);
--foreground: oklch(1 0 180);
--muted: oklch(0.21 0.029 328.815);
--muted-foreground: oklch(0.782 0.026 327.867);
--popover: oklch(0.138 0.018 146.579);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.153 0.021 146.411);
--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.53 0.073 146.061);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.487 0.076 328.971);
--secondary-foreground: oklch(0.992 0.002 327.562);
--accent: oklch(0.487 0.076 328.971);
--accent-foreground: oklch(0.992 0.002 327.562);
--destructive: oklch(0.705 0.191 41.234);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.53 0.073 146.061);
--chart-1: oklch(0.53 0.073 146.061);
--chart-2: oklch(0.487 0.076 328.971);
--chart-3: oklch(0.487 0.076 328.971);
--chart-4: oklch(0.513 0.081 328.982);
--chart-5: oklch(0.536 0.083 145.849);
}