Wetsuit is a shadcn/ui theme built around a muted green primary color (#74aa76) with muted red accents (#aa7674). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the muted green primary (#74aa76) on a green-tinted background (#050a05).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #050a05black |
| Foreground | #040c04black | #f5faf5whitesmoke |
| Card | #f4faf5whitesmoke | #070e07black |
| Card foreground | #020803black | #f8fbf9mintcream |
| Popover | #f4faf5whitesmoke | #070e07black |
| Popover foreground | #020803black | #f8fbf9mintcream |
| Primary | #74aa76darkseagreen | #74aa76darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #7674aalightslategray | #7674aalightslategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d7d7e5gainsboro | #1b1a28black |
| Muted foreground | #4f4f4fdarkslategray | #b0b0b0darkgray |
| Accent | #aa7674rosybrown | #aa7674rosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #c72a0afirebrick | #e9310corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #74aa76darkseagreen | #74aa76darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.11:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 4.34:1 | AA Large |
| Muted text | 5.74:1 | AA |
| Accent | 5.53:1 | AA |
| Destructive | 5.59:1 | AA |
| Text on background | 18.86:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 4.34:1 | AA Large |
| Muted text | 7.89:1 | AAA |
| Accent | 5.53:1 | AA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Wetsuit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 146.485);
--foreground: oklch(0.139 0.025 145.116);
--muted: oklch(0.883 0.019 287.538);
--muted-foreground: oklch(0.428 0 180);
--popover: oklch(0.98 0.01 146.455);
--popover-foreground: oklch(0.122 0.022 145.132);
--card: oklch(0.98 0.01 146.455);
--card-foreground: oklch(0.122 0.022 145.132);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.686 0.095 145.241);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.582 0.082 285.075);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.617 0.066 21.352);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.539 0.196 32.379);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.095 145.241);
--chart-1: oklch(0.686 0.095 145.241);
--chart-2: oklch(0.582 0.082 285.075);
--chart-3: oklch(0.617 0.066 21.352);
--chart-4: oklch(0.612 0.075 285.463);
--chart-5: oklch(0.691 0.105 145.088);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.017 145.574);
--foreground: oklch(0.979 0.007 146.476);
--muted: oklch(0.226 0.027 285.561);
--muted-foreground: oklch(0.757 0 180);
--popover: oklch(0.152 0.02 145.478);
--popover-foreground: oklch(0.986 0.005 146.498);
--card: oklch(0.152 0.02 145.478);
--card-foreground: oklch(0.986 0.005 146.498);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.686 0.095 145.241);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.582 0.082 285.075);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.617 0.066 21.352);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.605 0.222 32.274);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.686 0.095 145.241);
--chart-1: oklch(0.686 0.095 145.241);
--chart-2: oklch(0.582 0.082 285.075);
--chart-3: oklch(0.617 0.066 21.352);
--chart-4: oklch(0.612 0.075 285.463);
--chart-5: oklch(0.691 0.105 145.088);
}