Soggy is a shadcn/ui theme built around a green primary color (#b6c365) with green accents (#87c365). The light mode uses a neutral background (#fcfdf7). Dark mode keeps the green primary (#b6c365) on a green-tinted background (#0a0b05).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdf7snow | #0a0b05black |
| Foreground | #030401black | #ffffffwhite |
| Card | #fcfdf7snow | #0a0b05black |
| Card foreground | #030401black | #ffffffwhite |
| Popover | #fcfdf7snow | #0a0b05black |
| Popover foreground | #030401black | #ffffffwhite |
| Primary | #b6c365darkkhaki | #b6c365darkkhaki |
| Primary foreground | #000000black | #000000black |
| Secondary | #c3a065darkkhaki | #c3a065darkkhaki |
| Secondary foreground | #000000black | #000000black |
| Muted | #dfdcd8gainsboro | #272520black |
| Muted foreground | #60594ddimgray | #b2ab9fdarkgray |
| Accent | #87c365darkseagreen | #87c365darkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #aa1109firebrick | #ed180cred |
| Destructive foreground | #fee8e7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b6c365darkkhaki | #b6c365darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 10.99:1 | AAA |
| Secondary button | 8.56:1 | AAA |
| Muted text | 5.06:1 | AA |
| Accent | 10.03:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 10.99:1 | AAA |
| Secondary button | 8.56:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 10.03:1 | AAA |
| Destructive | 4.42:1 | AA Large |
Paste this into your globals.css to use Soggy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.009 112.711);
--foreground: oklch(0.102 0.013 113.524);
--muted: oklch(0.896 0.006 81.512);
--muted-foreground: oklch(0.468 0.021 81.41);
--popover: oklch(0.992 0.009 112.711);
--popover-foreground: oklch(0.102 0.013 113.524);
--card: oklch(0.992 0.009 112.711);
--card-foreground: oklch(0.102 0.013 113.524);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.787 0.12 115.48);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.725 0.088 80.353);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.755 0.14 135.109);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.469 0.184 29.429);
--destructive-foreground: oklch(0.948 0.024 21.221);
--ring: oklch(0.787 0.12 115.48);
--chart-1: oklch(0.787 0.12 115.48);
--chart-2: oklch(0.725 0.088 80.353);
--chart-3: oklch(0.755 0.14 135.109);
--chart-4: oklch(0.745 0.082 80.622);
--chart-5: oklch(0.796 0.127 115.631);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.015 113.392);
--foreground: oklch(1 0 180);
--muted: oklch(0.264 0.008 81.468);
--muted-foreground: oklch(0.743 0.019 81.484);
--popover: oklch(0.144 0.015 113.392);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.144 0.015 113.392);
--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.787 0.12 115.48);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.725 0.088 80.353);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.755 0.14 135.109);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.601 0.238 29.483);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.787 0.12 115.48);
--chart-1: oklch(0.787 0.12 115.48);
--chart-2: oklch(0.725 0.088 80.353);
--chart-3: oklch(0.755 0.14 135.109);
--chart-4: oklch(0.745 0.082 80.622);
--chart-5: oklch(0.796 0.127 115.631);
}