Spatial Lullaby for shadcn/ui

Spatial Lullaby is a shadcn/ui theme built around a muted light teal primary color (#cad3d3) with neutral gray accents (#ced4d4). The light mode uses a neutral background (#fbfefe). Dark mode keeps the muted light teal primary (#cad3d3) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#fbfefewhite
#030707black
Foreground
#020e0eblack
#ffffffwhite
Card
#fbfefewhite
#030707black
Card foreground
#020e0eblack
#ffffffwhite
Popover
#fbfefewhite
#030707black
Popover foreground
#020e0eblack
#ffffffwhite
Primary
#cad3d3lightgrey
#cad3d3lightgrey
Primary foreground
#303b3bdarkslategray
#303b3bdarkslategray
Secondary
#e5e6e6gainsboro
#232a2adarkslategray
Secondary foreground
#4b4e4edarkslategray
#bac5c5silver
Muted
#eff6f6whitesmoke
#091010black
Muted foreground
#4c5d5ddimgray
#a2b3b3darkgray
Accent
#ced4d4lightgrey
#364a4adarkslategray
Accent foreground
#343c3cdarkslategray
#d3dfdfgainsboro
Destructive
#981910darkred
#e22518crimson
Destructive foreground
#fce1dfmistyrose
#ffffffwhite
Border
#dfe7e7gainsboro
#182020black
Input
#dfe7e7gainsboro
#182020black
Ring
#cad3d3lightgrey
#cad3d3lightgrey

Contrast

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

Light mode
Text on background19.29:1AAA
Text on card19.29:1AAA
Primary button7.60:1AAA
Secondary button6.72:1AA
Muted text6.31:1AA
Accent7.54:1AAA
Destructive6.82:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button7.60:1AAA
Secondary button8.30:1AAA
Muted text8.79:1AAA
Accent6.89:1AA
Destructive4.64:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 197.114);
  --foreground: oklch(0.149 0.021 195.115);
  --muted: oklch(0.967 0.008 197.031);
  --muted-foreground: oklch(0.463 0.021 196.459);
  --popover: oklch(0.994 0.003 197.114);
  --popover-foreground: oklch(0.149 0.021 195.115);
  --card: oklch(0.994 0.003 197.114);
  --card-foreground: oklch(0.149 0.021 195.115);
  --border: oklch(0.922 0.008 197.01);
  --input: oklch(0.922 0.008 197.01);
  --primary: oklch(0.861 0.011 196.96);
  --primary-foreground: oklch(0.342 0.014 196.505);
  --secondary: oklch(0.924 0.001 197.139);
  --secondary-foreground: oklch(0.421 0.004 197.005);
  --accent: oklch(0.866 0.007 197.027);
  --accent-foreground: oklch(0.349 0.011 196.679);
  --destructive: oklch(0.44 0.163 29.51);
  --destructive-foreground: oklch(0.93 0.03 22.6);
  --ring: oklch(0.861 0.011 196.96);
  --chart-1: oklch(0.861 0.011 196.96);
  --chart-2: oklch(0.924 0.001 197.139);
  --chart-3: oklch(0.866 0.007 197.027);
  --chart-4: oklch(0.947 0.001 197.145);
  --chart-5: oklch(0.863 0.014 196.904);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.011 195.797);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.167 0.011 196.146);
  --muted-foreground: oklch(0.755 0.019 196.763);
  --popover: oklch(0.124 0.011 195.797);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.011 195.797);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.236 0.011 196.405);
  --input: oklch(0.236 0.011 196.405);
  --primary: oklch(0.861 0.011 196.96);
  --primary-foreground: oklch(0.342 0.014 196.505);
  --secondary: oklch(0.277 0.01 196.604);
  --secondary-foreground: oklch(0.815 0.013 196.909);
  --accent: oklch(0.392 0.025 196.161);
  --accent-foreground: oklch(0.894 0.013 196.921);
  --destructive: oklch(0.587 0.222 29.638);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.011 196.96);
  --chart-1: oklch(0.861 0.011 196.96);
  --chart-2: oklch(0.277 0.01 196.604);
  --chart-3: oklch(0.392 0.025 196.161);
  --chart-4: oklch(0.309 0.011 196.581);
  --chart-5: oklch(0.863 0.014 196.904);
}