Soggy is a shadcn/ui theme built around a muted cyan primary color (#728688) with muted blue accents (#727b88). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted cyan primary (#728688) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030707black |
| Foreground | #010404black | #ffffffwhite |
| Card | #fcfcfcsnow | #040a0bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #040a0bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #728688slategray | #728688slategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #72887fgray | #72887fgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e4ece9lavender | #131b18black |
| Muted foreground | #49504ddarkslategray | #afb6b3darkgray |
| Accent | #727b88slategray | #727b88slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a1400csaddlebrown | #e85d11chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #728688slategray | #728688slategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 5.47:1 | AA |
| Secondary button | 5.55:1 | AA |
| Muted text | 6.89:1 | AA |
| Accent | 4.29:1 | AA Large |
| Destructive | 6.42:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 5.47:1 | AA |
| Secondary button | 5.55:1 | AA |
| Muted text | 8.48:1 | AAA |
| Accent | 4.29:1 | AA Large |
| Destructive | 3.49: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.099 0.013 201.731);
--muted: oklch(0.936 0.01 170.321);
--muted-foreground: oklch(0.425 0.011 169.863);
--popover: oklch(0.992 0 161.565);
--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.605 0.024 204.75);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.607 0.029 169.169);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.579 0.023 258.371);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.498 0.141 43.095);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.605 0.024 204.75);
--chart-1: oklch(0.605 0.024 204.75);
--chart-2: oklch(0.607 0.029 169.169);
--chart-3: oklch(0.579 0.023 258.371);
--chart-4: oklch(0.632 0.028 169.273);
--chart-5: oklch(0.61 0.031 204.71);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.01 202.823);
--foreground: oklch(1 0 180);
--muted: oklch(0.213 0.014 168.617);
--muted-foreground: oklch(0.77 0.01 170.265);
--popover: oklch(0.139 0.012 203.049);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.012 203.049);
--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.605 0.024 204.75);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.607 0.029 169.169);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.579 0.023 258.371);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.65 0.188 42.426);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.605 0.024 204.75);
--chart-1: oklch(0.605 0.024 204.75);
--chart-2: oklch(0.607 0.029 169.169);
--chart-3: oklch(0.579 0.023 258.371);
--chart-4: oklch(0.632 0.028 169.273);
--chart-5: oklch(0.61 0.031 204.71);
}