Soggy is a shadcn/ui theme built around a vivid green primary color (#d5f264) with muted green accents (#c2c9a6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#d5f264) on a green-tinted background (#0d0f05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d0f05black |
| Foreground | #000000black | #fafbf9snow |
| Card | #fcfcfcsnow | #111306black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0d0f05black |
| Popover foreground | #000000black | #fafbf9snow |
| Primary | #d5f264khaki | #d5f264khaki |
| Primary foreground | #1b2103black | #1b2103black |
| Secondary | #d3d6c7lightgrey | #303324darkslategray |
| Secondary foreground | #3b3e2ddarkslategray | #cacebasilver |
| Muted | #eeefeblinen | #131410black |
| Muted foreground | #5e634bdarkolivegreen | #b0b49cdarkgray |
| Accent | #c2c9a6silver | #464b2fdarkolivegreen |
| Accent foreground | #232617black | #dce0cdgainsboro |
| Destructive | #6c1504maroon | #f73d18orangered |
| Destructive foreground | #fcb5a6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5f264khaki | #d5f264khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 13.17:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 5.40:1 | AA |
| Accent | 8.94:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 18.55:1 | AAA |
| Text on card | 18.40:1 | AAA |
| Primary button | 13.17:1 | AAA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 8.70:1 | AAA |
| Accent | 6.73:1 | AA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Soggy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.95 0.005 115.671);
--muted-foreground: oklch(0.488 0.038 117.003);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.912 0.169 119.394);
--primary-foreground: oklch(0.233 0.05 119.747);
--secondary: oklch(0.87 0.021 116.025);
--secondary-foreground: oklch(0.356 0.029 117.07);
--accent: oklch(0.821 0.047 116.633);
--accent-foreground: oklch(0.261 0.026 117.459);
--destructive: oklch(0.349 0.123 33.074);
--destructive-foreground: oklch(0.835 0.086 31.6);
--ring: oklch(0.912 0.169 119.394);
--chart-1: oklch(0.912 0.169 119.394);
--chart-2: oklch(0.87 0.021 116.025);
--chart-3: oklch(0.821 0.047 116.633);
--chart-4: oklch(0.891 0.018 115.944);
--chart-5: oklch(0.918 0.173 119.504);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.164 0.022 117.364);
--foreground: oklch(0.987 0.002 115.624);
--muted: oklch(0.187 0.007 116.277);
--muted-foreground: oklch(0.761 0.034 116.402);
--popover: oklch(0.164 0.022 117.364);
--popover-foreground: oklch(0.987 0.002 115.624);
--card: oklch(0.181 0.026 117.962);
--card-foreground: oklch(0.993 0.001 115.601);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.912 0.169 119.394);
--primary-foreground: oklch(0.233 0.05 119.747);
--secondary: oklch(0.312 0.025 117.088);
--secondary-foreground: oklch(0.844 0.027 116.174);
--accent: oklch(0.401 0.045 117.682);
--accent-foreground: oklch(0.897 0.025 116.098);
--destructive: oklch(0.64 0.226 32.689);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.912 0.169 119.394);
--chart-1: oklch(0.912 0.169 119.394);
--chart-2: oklch(0.312 0.025 117.088);
--chart-3: oklch(0.401 0.045 117.682);
--chart-4: oklch(0.346 0.029 117.139);
--chart-5: oklch(0.918 0.173 119.504);
}