Slow is a shadcn/ui theme built around a muted deep green primary color (#172216) with muted deep purple accents (#221622). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the muted deep green primary (#172216) on a green-tinted background (#050a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #050a05black |
| Foreground | #031202black | #fcfdfcwhite |
| Card | #fcfdfcwhite | #050a05black |
| Card foreground | #031202black | #fcfdfcwhite |
| Popover | #fcfdfcwhite | #050a05black |
| Popover foreground | #031202black | #fcfdfcwhite |
| Primary | #172216black | #172216black |
| Primary foreground | #a7c5a6darkgray | #a7c5a6darkgray |
| Secondary | #221622black | #221622black |
| Secondary foreground | #c4a6c5silver | #c4a6c5silver |
| Muted | #ede9edlavender | #161216black |
| Muted foreground | #4d474ddarkslategray | #b8b2b8silver |
| Accent | #221622black | #221622black |
| Accent foreground | #c4a6c5silver | #c4a6c5silver |
| Destructive | #d6250afirebrick | #f43b1forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #172216black | #172216black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.88:1 | AAA |
| Text on card | 18.88:1 | AAA |
| Primary button | 8.76:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 7.49:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 8.76:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 8.89:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Slow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 144.601);
--foreground: oklch(0.162 0.043 142.349);
--muted: oklch(0.937 0.007 324.665);
--muted-foreground: oklch(0.406 0.012 324.809);
--popover: oklch(0.993 0.003 144.601);
--popover-foreground: oklch(0.162 0.043 142.349);
--card: oklch(0.993 0.003 144.601);
--card-foreground: oklch(0.162 0.043 142.349);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.237 0.027 143.838);
--primary-foreground: oklch(0.791 0.054 144.167);
--secondary: oklch(0.221 0.028 325.385);
--secondary-foreground: oklch(0.76 0.055 325.066);
--accent: oklch(0.221 0.028 325.385);
--accent-foreground: oklch(0.76 0.055 325.066);
--destructive: oklch(0.565 0.213 31.253);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.237 0.027 143.838);
--chart-1: oklch(0.237 0.027 143.838);
--chart-2: oklch(0.221 0.028 325.385);
--chart-3: oklch(0.221 0.028 325.385);
--chart-4: oklch(0.252 0.035 325.44);
--chart-5: oklch(0.238 0.031 143.733);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.017 143.581);
--foreground: oklch(0.993 0.003 144.6);
--muted: oklch(0.19 0.01 324.953);
--muted-foreground: oklch(0.77 0.01 324.705);
--popover: oklch(0.137 0.017 143.581);
--popover-foreground: oklch(0.993 0.003 144.6);
--card: oklch(0.137 0.017 143.581);
--card-foreground: oklch(0.993 0.003 144.6);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.237 0.027 143.838);
--primary-foreground: oklch(0.791 0.054 144.167);
--secondary: oklch(0.221 0.028 325.385);
--secondary-foreground: oklch(0.76 0.055 325.066);
--accent: oklch(0.221 0.028 325.385);
--accent-foreground: oklch(0.76 0.055 325.066);
--destructive: oklch(0.635 0.224 31.622);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.237 0.027 143.838);
--chart-1: oklch(0.237 0.027 143.838);
--chart-2: oklch(0.221 0.028 325.385);
--chart-3: oklch(0.221 0.028 325.385);
--chart-4: oklch(0.252 0.035 325.44);
--chart-5: oklch(0.238 0.031 143.733);
}