Gutter is a shadcn/ui theme built around a muted green primary color (#7a9981) with muted purple accents (#997a93). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#7a9981) on a green-tinted background (#070e08).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070e08black |
| Foreground | #031106black | #f6f9f6whitesmoke |
| Card | #fcfcfcsnow | #09110ablack |
| Card foreground | #020d04black | #f9fbf9mintcream |
| Popover | #fcfcfcsnow | #09110ablack |
| Popover foreground | #020d04black | #f9fbf9mintcream |
| Primary | #7a9981gray | #7a9981gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #997a93gray | #997a93gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #eddeealavender | #21121eblack |
| Muted foreground | #5f595ddimgray | #a6a0a5darkgray |
| Accent | #997a93gray | #997a93gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #d6290afirebrick | #f55032tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7a9981gray | #7a9981gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.32:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 5.57:1 | AA |
| Muted text | 5.27:1 | AA |
| Accent | 5.57:1 | AA |
| Destructive | 5.01:1 | AA |
| Text on background | 18.45:1 | AAA |
| Text on card | 18.43:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 5.57:1 | AA |
| Muted text | 7.00:1 | AAA |
| Accent | 5.57:1 | AA |
| Destructive | 3.45:1 | AA Large |
Paste this into your globals.css to use Gutter in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.161 0.034 150.038);
--muted: oklch(0.916 0.024 332.39);
--muted-foreground: oklch(0.471 0.01 332.314);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.143 0.029 150.707);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.143 0.029 150.707);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.652 0.05 150.801);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.618 0.051 333.182);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.618 0.051 333.182);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.567 0.211 31.735);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.652 0.05 150.801);
--chart-1: oklch(0.652 0.05 150.801);
--chart-2: oklch(0.618 0.051 333.182);
--chart-3: oklch(0.618 0.051 333.182);
--chart-4: oklch(0.644 0.047 333.055);
--chart-5: oklch(0.658 0.061 150.523);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.016 151.075);
--foreground: oklch(0.979 0.005 151.936);
--muted: oklch(0.208 0.034 334.288);
--muted-foreground: oklch(0.713 0.009 332.19);
--popover: oklch(0.166 0.019 150.316);
--popover-foreground: oklch(0.986 0.003 151.96);
--card: oklch(0.166 0.019 150.316);
--card-foreground: oklch(0.986 0.003 151.96);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.652 0.05 150.801);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.618 0.051 333.182);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.618 0.051 333.182);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.657 0.207 32.377);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.652 0.05 150.801);
--chart-1: oklch(0.652 0.05 150.801);
--chart-2: oklch(0.618 0.051 333.182);
--chart-3: oklch(0.618 0.051 333.182);
--chart-4: oklch(0.644 0.047 333.055);
--chart-5: oklch(0.658 0.061 150.523);
}