Wet is a shadcn/ui theme built around a green primary color (#6f9348) with violet accents (#6c4893). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#6f9348) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030302black |
| Foreground | #0d1603black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #050703black |
| Card foreground | #0a1202black | #ffffffwhite |
| Popover | #ffffffwhite | #030302black |
| Popover foreground | #0d1603black | #fcfdfcwhite |
| Primary | #6f9348olivedrab | #6f9348olivedrab |
| Primary foreground | #000000black | #000000black |
| Secondary | #6c4893rebeccapurple | #6c4893rebeccapurple |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f2eff6whitesmoke | #0d0910black |
| Muted foreground | #60526fdimgray | #9e90addarkgray |
| Accent | #6c4893rebeccapurple | #6c4893rebeccapurple |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6c2409maroon | #dd4913chocolate |
| Destructive foreground | #f8c3aflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6f9348olivedrab | #6f9348olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.53:1 | AAA |
| Text on card | 18.67:1 | AAA |
| Primary button | 5.93:1 | AA |
| Secondary button | 6.99:1 | AA |
| Muted text | 6.28:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 7.10:1 | AAA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 5.93:1 | AA |
| Secondary button | 6.99:1 | AA |
| Muted text | 6.61:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Wet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.187 0.041 129.485);
--muted: oklch(0.956 0.01 307.669);
--muted-foreground: oklch(0.465 0.049 306.546);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.187 0.041 129.485);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.169 0.036 128.33);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.618 0.111 130.316);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.477 0.121 304.543);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.477 0.121 304.543);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.366 0.109 38.346);
--destructive-foreground: oklch(0.859 0.067 40.909);
--ring: oklch(0.618 0.111 130.316);
--chart-1: oklch(0.618 0.111 130.316);
--chart-2: oklch(0.477 0.121 304.543);
--chart-3: oklch(0.477 0.121 304.543);
--chart-4: oklch(0.5 0.128 304.512);
--chart-5: oklch(0.626 0.119 130.539);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.009 127.143);
--foreground: oklch(0.993 0.001 127.803);
--muted: oklch(0.149 0.016 306.611);
--muted-foreground: oklch(0.674 0.045 307.01);
--popover: oklch(0.097 0.009 127.143);
--popover-foreground: oklch(0.993 0.001 127.803);
--card: oklch(0.122 0.011 127.143);
--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.618 0.111 130.316);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.477 0.121 304.543);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.477 0.121 304.543);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.607 0.193 37.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.618 0.111 130.316);
--chart-1: oklch(0.618 0.111 130.316);
--chart-2: oklch(0.477 0.121 304.543);
--chart-3: oklch(0.477 0.121 304.543);
--chart-4: oklch(0.5 0.128 304.512);
--chart-5: oklch(0.626 0.119 130.539);
}