Soggy for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button13.17:1AAA
Secondary button7.44:1AAA
Muted text5.40:1AA
Accent8.94:1AAA
Destructive7.01:1AAA
Dark mode
Text on background18.55:1AAA
Text on card18.40:1AAA
Primary button13.17:1AAA
Secondary button8.06:1AAA
Muted text8.70:1AAA
Accent6.73:1AA
Destructive3.73:1AA Large

CSS variables

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);
}