Soggy for shadcn/ui

Soggy is a shadcn/ui theme built around a light orange primary color (#f5dfd1) with light blue accents (#d1e7f5). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the light orange primary (#f5dfd1) on an orange-tinted background (#0b0704).

Color palette

TokenLightDark
Background
#fcfaf8snow
#0b0704black
Foreground
#0d0703black
#fdfcfcsnow
Card
#fcfaf8snow
#0b0704black
Card foreground
#0d0703black
#fdfcfcsnow
Popover
#fcfaf8snow
#0b0704black
Popover foreground
#0d0703black
#fdfcfcsnow
Primary
#f5dfd1antiquewhite
#f5dfd1antiquewhite
Primary foreground
#7a401asaddlebrown
#7a401asaddlebrown
Secondary
#d1e7f5lavender
#d1e7f5lavender
Secondary foreground
#1a547adarkslategray
#1a547adarkslategray
Muted
#e4ecf1lavender
#0e161bblack
Muted foreground
#374148darkslategray
#b7c1c8silver
Accent
#d1e7f5lavender
#d1e7f5lavender
Accent foreground
#1a547adarkslategray
#1a547adarkslategray
Destructive
#712505maroon
#f5510aorangered
Destructive foreground
#fcc4aclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f5dfd1antiquewhite
#f5dfd1antiquewhite

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button6.36:1AA
Secondary button6.32:1AA
Muted text8.72:1AAA
Accent6.32:1AA
Destructive6.93:1AA
Dark mode
Text on background19.59:1AAA
Text on card19.59:1AAA
Primary button6.36:1AA
Secondary button6.32:1AA
Muted text10.00:1AAA
Accent6.32:1AA
Destructive3.47: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.985 0.003 56.397);
  --foreground: oklch(0.134 0.017 65.566);
  --muted: oklch(0.938 0.011 236.604);
  --muted-foreground: oklch(0.37 0.017 237.161);
  --popover: oklch(0.985 0.003 56.397);
  --popover-foreground: oklch(0.134 0.017 65.566);
  --card: oklch(0.985 0.003 56.397);
  --card-foreground: oklch(0.134 0.017 65.566);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.918 0.031 55.967);
  --primary-foreground: oklch(0.438 0.095 51.143);
  --secondary: oklch(0.915 0.031 236.938);
  --secondary-foreground: oklch(0.427 0.087 242.365);
  --accent: oklch(0.915 0.031 236.938);
  --accent-foreground: oklch(0.427 0.087 242.365);
  --destructive: oklch(0.376 0.114 39.786);
  --destructive-foreground: oklch(0.863 0.072 44.32);
  --ring: oklch(0.918 0.031 55.967);
  --chart-1: oklch(0.918 0.031 55.967);
  --chart-2: oklch(0.915 0.031 236.938);
  --chart-3: oklch(0.915 0.031 236.938);
  --chart-4: oklch(0.938 0.022 236.784);
  --chart-5: oklch(0.919 0.033 55.946);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.011 62.715);
  --foreground: oklch(0.992 0.001 56.423);
  --muted: oklch(0.194 0.016 237.835);
  --muted-foreground: oklch(0.805 0.014 236.697);
  --popover: oklch(0.133 0.011 62.715);
  --popover-foreground: oklch(0.992 0.001 56.423);
  --card: oklch(0.133 0.011 62.715);
  --card-foreground: oklch(0.992 0.001 56.423);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.918 0.031 55.967);
  --primary-foreground: oklch(0.438 0.095 51.143);
  --secondary: oklch(0.915 0.031 236.938);
  --secondary-foreground: oklch(0.427 0.087 242.365);
  --accent: oklch(0.915 0.031 236.938);
  --accent-foreground: oklch(0.427 0.087 242.365);
  --destructive: oklch(0.655 0.211 38.038);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.918 0.031 55.967);
  --chart-1: oklch(0.918 0.031 55.967);
  --chart-2: oklch(0.915 0.031 236.938);
  --chart-3: oklch(0.915 0.031 236.938);
  --chart-4: oklch(0.938 0.022 236.784);
  --chart-5: oklch(0.919 0.033 55.946);
}