Soggy for shadcn/ui

Soggy is a shadcn/ui theme built around a vivid pink primary color (#eb2886) with muted light pink accents (#eee7ea). The light mode uses a neutral background (#fdfbfc). Dark mode keeps the vivid pink primary (#eb2886) on a pink-tinted background (#0e060a).

Color palette

TokenLightDark
Background
#fdfbfcsnow
#0e060ablack
Foreground
#000000black
#ffffffwhite
Card
#fcf8fasnow
#12080dblack
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8fasnow
#12080dblack
Popover foreground
#000000black
#ffffffwhite
Primary
#eb2886deeppink
#eb2886deeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#eee7ealinen
#392d33darkslategray
Secondary foreground
#5f4551dimgray
#d2c6cclightgrey
Muted
#f0ebedlinen
#140f12black
Muted foreground
#4a3b42darkslategray
#c4b5bcsilver
Accent
#eee7ealinen
#392d33darkslategray
Accent foreground
#5f4551dimgray
#d2c6cclightgrey
Destructive
#971102darkred
#fb260eorangered
Destructive foreground
#fed2cdpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eb2886deeppink
#eb2886deeppink

Contrast

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

Light mode
Text on background20.45:1AAA
Text on card19.92:1AAA
Primary button4.04:1AA Large
Secondary button7.03:1AAA
Muted text8.90:1AAA
Accent7.03:1AAA
Destructive6.40:1AA
Dark mode
Text on background20.00:1AAA
Text on card19.73:1AAA
Primary button4.04:1AA Large
Secondary button7.95:1AAA
Muted text9.62:1AAA
Accent7.95:1AAA
Destructive3.89:1AA Large

CSS variables

Paste this into your globals.css to use Soggy in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 346.087);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.944 0.006 346.193);
  --muted-foreground: oklch(0.37 0.023 347.618);
  --popover: oklch(0.982 0.005 346.157);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.005 346.157);
  --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.625 0.234 358.189);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.935 0.008 346.249);
  --secondary-foreground: oklch(0.421 0.041 348.426);
  --accent: oklch(0.935 0.008 346.249);
  --accent-foreground: oklch(0.421 0.041 348.426);
  --destructive: oklch(0.431 0.167 30.686);
  --destructive-foreground: oklch(0.9 0.051 25.551);
  --ring: oklch(0.625 0.234 358.189);
  --chart-1: oklch(0.625 0.234 358.189);
  --chart-2: oklch(0.935 0.008 346.249);
  --chart-3: oklch(0.935 0.008 346.249);
  --chart-4: oklch(0.959 0.005 346.158);
  --chart-5: oklch(0.629 0.238 358.696);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.019 347.439);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.177 0.01 347.399);
  --muted-foreground: oklch(0.789 0.019 346.652);
  --popover: oklch(0.15 0.022 348.997);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.15 0.022 348.997);
  --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.625 0.234 358.189);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.313 0.02 347.676);
  --secondary-foreground: oklch(0.838 0.016 346.512);
  --accent: oklch(0.313 0.02 347.676);
  --accent-foreground: oklch(0.838 0.016 346.512);
  --destructive: oklch(0.632 0.244 30.42);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.625 0.234 358.189);
  --chart-1: oklch(0.625 0.234 358.189);
  --chart-2: oklch(0.313 0.02 347.676);
  --chart-3: oklch(0.313 0.02 347.676);
  --chart-4: oklch(0.341 0.023 347.725);
  --chart-5: oklch(0.629 0.238 358.696);
}