Pacemaker is a shadcn/ui theme built around a muted green primary color (#79996c) with muted green accents (#6c9975). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the muted green primary (#79996c) on a green-tinted background (#081005).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fdf7mintcream | #081005black |
| Foreground | #020401black | #ffffffwhite |
| Card | #f9fdf7mintcream | #081005black |
| Card foreground | #020401black | #ffffffwhite |
| Popover | #f9fdf7mintcream | #081005black |
| Popover foreground | #020401black | #ffffffwhite |
| Primary | #79996cgray | #79996cgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #90996cgray | #90996cgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #f0f2e8linen | #15170dblack |
| Muted foreground | #66685edimgray | #9fa197darkgray |
| Accent | #6c9975gray | #6c9975gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #e65400orangered | #ff6105orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #79996cgray | #79996cgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 6.91:1 | AA |
| Muted text | 5.02:1 | AA |
| Accent | 6.41:1 | AA |
| Destructive | 3.73:1 | AA Large |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 6.91:1 | AA |
| Muted text | 6.91:1 | AA |
| Accent | 6.41:1 | AA |
| Destructive | 6.95:1 | AA |
Paste this into your globals.css to use Pacemaker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 136.05);
--foreground: oklch(0.1 0.018 134.249);
--muted: oklch(0.958 0.014 115.844);
--muted-foreground: oklch(0.514 0.015 116.131);
--popover: oklch(0.988 0.008 136.05);
--popover-foreground: oklch(0.1 0.018 134.249);
--card: oklch(0.988 0.008 136.05);
--card-foreground: oklch(0.1 0.018 134.249);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.645 0.074 136.501);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.662 0.064 117.374);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.639 0.073 150.137);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.634 0.194 41.259);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.645 0.074 136.501);
--chart-1: oklch(0.645 0.074 136.501);
--chart-2: oklch(0.662 0.064 117.374);
--chart-3: oklch(0.639 0.073 150.137);
--chart-4: oklch(0.684 0.06 117.2);
--chart-5: oklch(0.653 0.086 136.59);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.16 0.028 135.189);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.02 117.437);
--muted-foreground: oklch(0.703 0.014 115.953);
--popover: oklch(0.16 0.028 135.189);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.16 0.028 135.189);
--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.645 0.074 136.501);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.662 0.064 117.374);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.639 0.073 150.137);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.689 0.208 41.645);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.645 0.074 136.501);
--chart-1: oklch(0.645 0.074 136.501);
--chart-2: oklch(0.662 0.064 117.374);
--chart-3: oklch(0.639 0.073 150.137);
--chart-4: oklch(0.684 0.06 117.2);
--chart-5: oklch(0.653 0.086 136.59);
}