Spring Savor Jellyfish for shadcn/ui

Spring Savor Jellyfish is a shadcn/ui theme built around a light green primary color (#d2f4d4) with muted light green accents (#dbe1db). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the light green primary (#d2f4d4) on a neutral background (#030803).

Color palette

TokenLightDark
Background
#f8fcf8mintcream
#030803black
Foreground
#030c03black
#ffffffwhite
Card
#f4fbf4whitesmoke
#040b04black
Card foreground
#020802black
#ffffffwhite
Popover
#f4fbf4whitesmoke
#040b04black
Popover foreground
#020802black
#ffffffwhite
Primary
#d2f4d4gainsboro
#d2f4d4gainsboro
Primary foreground
#09250ablack
#09250ablack
Secondary
#dbe1dbgainsboro
#272f28darkslategray
Secondary foreground
#3f4a40darkslategray
#bfcac0silver
Muted
#d8eed9gainsboro
#112712black
Muted foreground
#626a62dimgray
#959d95darkgray
Accent
#dbe1dbgainsboro
#272f28darkslategray
Accent foreground
#3f4a40darkslategray
#bfcac0silver
Destructive
#d92d02orangered
#fd4d21orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e2e4e2gainsboro
#191a19black
Input
#e2e4e2gainsboro
#191a19black
Ring
#d2f4d4gainsboro
#d2f4d4gainsboro

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.18:1AAA
Primary button13.76:1AAA
Secondary button6.95:1AA
Muted text4.55:1AA
Accent6.95:1AA
Destructive4.84:1AA
Dark mode
Text on background20.23:1AAA
Text on card19.87:1AAA
Primary button13.76:1AAA
Secondary button8.12:1AAA
Muted text5.70:1AA
Accent8.12:1AAA
Destructive3.36:1AA Large

CSS variables

Paste this into your globals.css to use Spring Savor Jellyfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.007 146.969);
  --foreground: oklch(0.141 0.03 145.351);
  --muted: oklch(0.927 0.035 146.678);
  --muted-foreground: oklch(0.515 0.016 146.752);
  --popover: oklch(0.98 0.011 146.934);
  --popover-foreground: oklch(0.123 0.026 145.393);
  --card: oklch(0.98 0.011 146.934);
  --card-foreground: oklch(0.123 0.026 145.393);
  --border: oklch(0.916 0.002 147.019);
  --input: oklch(0.916 0.002 147.019);
  --primary: oklch(0.934 0.056 146.46);
  --primary-foreground: oklch(0.235 0.059 144.276);
  --secondary: oklch(0.903 0.009 146.947);
  --secondary-foreground: oklch(0.397 0.022 146.497);
  --accent: oklch(0.903 0.009 146.947);
  --accent-foreground: oklch(0.397 0.022 146.497);
  --destructive: oklch(0.575 0.211 32.958);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.934 0.056 146.46);
  --chart-1: oklch(0.934 0.056 146.46);
  --chart-2: oklch(0.903 0.009 146.947);
  --chart-3: oklch(0.903 0.009 146.947);
  --chart-4: oklch(0.925 0.007 146.97);
  --chart-5: oklch(0.935 0.059 146.432);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.021 145.742);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.247 0.047 145.058);
  --muted-foreground: oklch(0.687 0.015 146.84);
  --popover: oklch(0.139 0.024 145.724);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.139 0.024 145.724);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.216 0.002 146.933);
  --input: oklch(0.216 0.002 146.933);
  --primary: oklch(0.934 0.056 146.46);
  --primary-foreground: oklch(0.235 0.059 144.276);
  --secondary: oklch(0.296 0.017 146.485);
  --secondary-foreground: oklch(0.827 0.018 146.834);
  --accent: oklch(0.296 0.017 146.485);
  --accent-foreground: oklch(0.827 0.018 146.834);
  --destructive: oklch(0.665 0.219 34.431);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.934 0.056 146.46);
  --chart-1: oklch(0.934 0.056 146.46);
  --chart-2: oklch(0.296 0.017 146.485);
  --chart-3: oklch(0.296 0.017 146.485);
  --chart-4: oklch(0.328 0.02 146.464);
  --chart-5: oklch(0.935 0.059 146.432);
}