Babyish for shadcn/ui

Babyish is a shadcn/ui theme built around a light cyan primary color (#d0edf5) with light green accents (#edf5d0). The light mode uses a neutral background (#f6fcfd). Dark mode keeps the light cyan primary (#d0edf5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f6fcfdmintcream
#000000black
Foreground
#031216black
#fcfdfdwhite
Card
#f6fcfdmintcream
#000000black
Card foreground
#031216black
#fcfdfdwhite
Popover
#f6fcfdmintcream
#000000black
Popover foreground
#031216black
#fcfdfdwhite
Primary
#d0edf5lavender
#d0edf5lavender
Primary foreground
#082026black
#082026black
Secondary
#f5d0edmistyrose
#f5d0edmistyrose
Secondary foreground
#7b1966purple
#7b1966purple
Muted
#efe6edlavender
#191017black
Muted foreground
#52424fdarkslategray
#bdadbasilver
Accent
#edf5d0lightgoldenrodyellow
#edf5d0lightgoldenrodyellow
Accent foreground
#202608black
#202608black
Destructive
#6e1b02maroon
#eb3a05orangered
Destructive foreground
#fdbaa5lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d0edf5lavender
#d0edf5lavender

Contrast

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

Light mode
Text on background18.39:1AAA
Text on card18.39:1AAA
Primary button13.80:1AAA
Secondary button6.99:1AA
Muted text7.64:1AAA
Accent13.89:1AAA
Destructive6.98:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.60:1AAA
Primary button13.80:1AAA
Secondary button6.99:1AA
Muted text8.74:1AAA
Accent13.89:1AAA
Destructive4.08:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.006 216.038);
  --foreground: oklch(0.171 0.024 216.29);
  --muted: oklch(0.934 0.014 332.848);
  --muted-foreground: oklch(0.4 0.03 333.738);
  --popover: oklch(0.987 0.006 216.038);
  --popover-foreground: oklch(0.171 0.024 216.29);
  --card: oklch(0.987 0.006 216.038);
  --card-foreground: oklch(0.171 0.024 216.29);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.929 0.032 216.224);
  --primary-foreground: oklch(0.226 0.032 218.876);
  --secondary: oklch(0.899 0.056 333.551);
  --secondary-foreground: oklch(0.409 0.155 338.526);
  --accent: oklch(0.956 0.049 117.268);
  --accent-foreground: oklch(0.255 0.049 120.374);
  --destructive: oklch(0.359 0.12 35.962);
  --destructive-foreground: oklch(0.845 0.084 37.616);
  --ring: oklch(0.929 0.032 216.224);
  --chart-1: oklch(0.929 0.032 216.224);
  --chart-2: oklch(0.899 0.056 333.551);
  --chart-3: oklch(0.956 0.049 117.268);
  --chart-4: oklch(0.926 0.04 333.278);
  --chart-5: oklch(0.93 0.034 216.238);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 216.017);
  --muted: oklch(0.187 0.021 334.254);
  --muted-foreground: oklch(0.765 0.026 333.127);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 216.017);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.001 216.017);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.929 0.032 216.224);
  --primary-foreground: oklch(0.226 0.032 218.876);
  --secondary: oklch(0.899 0.056 333.551);
  --secondary-foreground: oklch(0.409 0.155 338.526);
  --accent: oklch(0.956 0.049 117.268);
  --accent-foreground: oklch(0.255 0.049 120.374);
  --destructive: oklch(0.617 0.218 34.267);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.929 0.032 216.224);
  --chart-1: oklch(0.929 0.032 216.224);
  --chart-2: oklch(0.899 0.056 333.551);
  --chart-3: oklch(0.956 0.049 117.268);
  --chart-4: oklch(0.926 0.04 333.278);
  --chart-5: oklch(0.93 0.034 216.238);
}