Pate is a shadcn/ui theme built around a muted deep cyan primary color (#111717) with muted deep green accents (#171711). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep cyan primary (#111717) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #040b0cblack | #f8fbfcghostwhite |
| Card | #fcfcfcsnow | #030607black |
| Card foreground | #020708black | #fcfdfdwhite |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #040b0cblack | #f8fbfcghostwhite |
| Primary | #111717black | #111717black |
| Primary foreground | #a1b7badarkgray | #a1b7badarkgray |
| Secondary | #171117black | #171117black |
| Secondary foreground | #baa1b7darkgray | #baa1b7darkgray |
| Muted | #e8d3e6gainsboro | #2c1729black |
| Muted foreground | #463945darkslategray | #c6b9c4silver |
| Accent | #171711black | #171711black |
| Accent foreground | #b7baa1darkgray | #b7baa1darkgray |
| Destructive | #9d1310darkred | #e71c18crimson |
| Destructive foreground | #fce4e3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #111717black | #111717black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 8.63:1 | AAA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 7.72:1 | AAA |
| Accent | 9.01:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 8.63:1 | AAA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 8.85:1 | AAA |
| Accent | 9.01:1 | AAA |
| Destructive | 4.59:1 | AA |
Paste this into your globals.css to use Pate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.14 0.013 204.241);
--muted: oklch(0.89 0.034 329.572);
--muted-foreground: oklch(0.364 0.026 329.926);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.14 0.013 204.241);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.122 0.012 203.763);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.198 0.008 206.265);
--primary-foreground: oklch(0.763 0.024 206.291);
--secondary: oklch(0.189 0.015 329.992);
--secondary-foreground: oklch(0.738 0.041 329.768);
--accent: oklch(0.204 0.012 112.854);
--accent-foreground: oklch(0.779 0.034 112.589);
--destructive: oklch(0.445 0.171 28.355);
--destructive-foreground: oklch(0.938 0.027 18.811);
--ring: oklch(0.198 0.008 206.265);
--chart-1: oklch(0.198 0.008 206.265);
--chart-2: oklch(0.189 0.015 329.992);
--chart-3: oklch(0.204 0.012 112.854);
--chart-4: oklch(0.222 0.019 330.097);
--chart-5: oklch(0.199 0.01 206.256);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.006 204.571);
--foreground: oklch(0.987 0.003 206.419);
--muted: oklch(0.24 0.046 331.208);
--muted-foreground: oklch(0.799 0.021 329.437);
--popover: oklch(0.095 0.006 204.571);
--popover-foreground: oklch(0.987 0.003 206.419);
--card: oklch(0.12 0.008 204.571);
--card-foreground: oklch(0.993 0.002 206.43);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.198 0.008 206.265);
--primary-foreground: oklch(0.763 0.024 206.291);
--secondary: oklch(0.189 0.015 329.992);
--secondary-foreground: oklch(0.738 0.041 329.768);
--accent: oklch(0.204 0.012 112.854);
--accent-foreground: oklch(0.779 0.034 112.589);
--destructive: oklch(0.591 0.231 28.613);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.198 0.008 206.265);
--chart-1: oklch(0.198 0.008 206.265);
--chart-2: oklch(0.189 0.015 329.992);
--chart-3: oklch(0.204 0.012 112.854);
--chart-4: oklch(0.222 0.019 330.097);
--chart-5: oklch(0.199 0.01 206.256);
}