Delighted Moonlit Pool for shadcn/ui

Delighted Moonlit Pool is a shadcn/ui theme built around a deep cyan primary color (#22585e) with deep green accents (#585e22). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep cyan primary (#22585e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#020c0dblack
#f6f8f9whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#020c0dblack
#f6f8f9whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#020c0dblack
#f6f8f9whitesmoke
Primary
#22585edarkslategray
#22585edarkslategray
Primary foreground
#c7e7ebpowderblue
#c7e7ebpowderblue
Secondary
#5e2258indigo
#5e2258indigo
Secondary foreground
#ebc7e7thistle
#ebc7e7thistle
Muted
#e6dbe5gainsboro
#241923black
Muted foreground
#5f495ddimgray
#b6a0b4darkgray
Accent
#585e22darkolivegreen
#585e22darkolivegreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ae1004firebrick
#f41606red
Destructive foreground
#fee8e6mistyrose
#ffffffwhite
Border
#e7e9e9lavender
#222525darkslategray
Input
#e7e9e9lavender
#222525darkslategray
Ring
#22585edarkslategray
#22585edarkslategray

Contrast

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

Light mode
Text on background19.79:1AAA
Text on card19.79:1AAA
Primary button6.14:1AA
Secondary button7.53:1AAA
Muted text6.00:1AA
Accent6.93:1AA
Destructive6.22:1AA
Dark mode
Text on background19.71:1AAA
Text on card19.71:1AAA
Primary button6.14:1AA
Secondary button7.53:1AAA
Muted text7.00:1AAA
Accent6.93:1AA
Destructive4.24:1AA Large

CSS variables

Paste this into your globals.css to use Delighted Moonlit Pool in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.143 0.019 202.633);
  --muted: oklch(0.902 0.019 328.821);
  --muted-foreground: oklch(0.436 0.042 329.616);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.143 0.019 202.633);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.143 0.019 202.633);
  --border: oklch(0.932 0.002 204.975);
  --input: oklch(0.932 0.002 204.975);
  --primary: oklch(0.426 0.057 205.281);
  --primary-foreground: oklch(0.906 0.034 204.756);
  --secondary: oklch(0.362 0.113 331.715);
  --secondary-foreground: oklch(0.869 0.059 329.315);
  --accent: oklch(0.462 0.083 114.47);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.477 0.188 29.867);
  --destructive-foreground: oklch(0.948 0.025 22.524);
  --ring: oklch(0.426 0.057 205.281);
  --chart-1: oklch(0.426 0.057 205.281);
  --chart-2: oklch(0.362 0.113 331.715);
  --chart-3: oklch(0.462 0.083 114.47);
  --chart-4: oklch(0.391 0.124 331.763);
  --chart-5: oklch(0.43 0.059 205.403);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.002 204.971);
  --muted: oklch(0.232 0.026 329.782);
  --muted-foreground: oklch(0.731 0.037 329.144);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.979 0.002 204.971);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.979 0.002 204.971);
  --border: oklch(0.261 0.004 204.884);
  --input: oklch(0.261 0.004 204.884);
  --primary: oklch(0.426 0.057 205.281);
  --primary-foreground: oklch(0.906 0.034 204.756);
  --secondary: oklch(0.362 0.113 331.715);
  --secondary-foreground: oklch(0.869 0.059 329.315);
  --accent: oklch(0.462 0.083 114.47);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.612 0.244 29.753);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.426 0.057 205.281);
  --chart-1: oklch(0.426 0.057 205.281);
  --chart-2: oklch(0.362 0.113 331.715);
  --chart-3: oklch(0.462 0.083 114.47);
  --chart-4: oklch(0.391 0.124 331.763);
  --chart-5: oklch(0.43 0.059 205.403);
}