Earthbound - Zombie Threed (Darker) for shadcn/ui

Earthbound - Zombie Threed (Darker) is a shadcn/ui theme built around a vivid light blue primary color (#f0faff) with muted blue accents (#464d7c). The light mode uses a blue-tinted background (#2a2e4b). Dark mode keeps the vivid light blue primary (#f0faff) on a blue-tinted background (#2a2e4b).

Color palette

TokenLightDark
Background
#2a2e4bdarkslategray
#2a2e4bdarkslategray
Foreground
#f0faffaliceblue
#f0faffaliceblue
Card
#272a45darkslategray
#272a45darkslategray
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#252941darkslategray
#252941darkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#f0faffaliceblue
#f0faffaliceblue
Primary foreground
#003a57midnightblue
#003a57midnightblue
Secondary
#2d4653darkslategray
#2d4653darkslategray
Secondary foreground
#cddde4gainsboro
#cddde4gainsboro
Muted
#3d3f4ddarkslategray
#3d3f4ddarkslategray
Muted foreground
#bdbfcbsilver
#bdbfcbsilver
Accent
#464d7cdarkslateblue
#464d7cdarkslateblue
Accent foreground
#f8f9fbghostwhite
#f8f9fbghostwhite
Destructive
#fe0e01red
#fe0e01red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#3b3e54darkslategray
#3b3e54darkslategray
Input
#41455ddarkslategray
#41455ddarkslategray
Ring
#f0faffaliceblue
#f0faffaliceblue

Contrast

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

Light mode
Text on background12.44:1AAA
Text on card13.98:1AAA
Primary button11.36:1AAA
Secondary button7.12:1AAA
Muted text5.71:1AA
Accent7.63:1AAA
Destructive3.98:1AA Large
Dark mode
Text on background12.44:1AAA
Text on card13.98:1AAA
Primary button11.36:1AAA
Secondary button7.12:1AAA
Muted text5.71:1AA
Accent7.63:1AAA
Destructive3.98:1AA Large

CSS variables

Paste this into your globals.css to use Earthbound - Zombie Threed (Darker) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.312 0.052 277.182);
  --foreground: oklch(0.979 0.013 228.924);
  --muted: oklch(0.371 0.025 278.246);
  --muted-foreground: oklch(0.807 0.017 279.013);
  --popover: oklch(0.288 0.046 276.454);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.295 0.048 277.256);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.369 0.039 278.45);
  --input: oklch(0.396 0.042 277.515);
  --primary: oklch(0.979 0.013 228.924);
  --primary-foreground: oklch(0.33 0.074 238.424);
  --secondary: oklch(0.379 0.038 230.74);
  --secondary-foreground: oklch(0.887 0.02 229.054);
  --accent: oklch(0.436 0.078 276.016);
  --accent-foreground: oklch(0.982 0.003 279.29);
  --destructive: oklch(0.628 0.254 29.605);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.979 0.013 228.924);
  --chart-1: oklch(0.979 0.013 228.924);
  --chart-2: oklch(0.379 0.038 230.74);
  --chart-3: oklch(0.436 0.078 276.016);
  --chart-4: oklch(0.409 0.042 230.793);
  --chart-5: oklch(0.979 0.013 228.93);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.312 0.052 277.182);
  --foreground: oklch(0.979 0.013 228.924);
  --muted: oklch(0.371 0.025 278.246);
  --muted-foreground: oklch(0.807 0.017 279.013);
  --popover: oklch(0.288 0.046 276.454);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.295 0.048 277.256);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.369 0.039 278.45);
  --input: oklch(0.396 0.042 277.515);
  --primary: oklch(0.979 0.013 228.924);
  --primary-foreground: oklch(0.33 0.074 238.424);
  --secondary: oklch(0.379 0.038 230.74);
  --secondary-foreground: oklch(0.887 0.02 229.054);
  --accent: oklch(0.436 0.078 276.016);
  --accent-foreground: oklch(0.982 0.003 279.29);
  --destructive: oklch(0.628 0.254 29.605);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.979 0.013 228.924);
  --chart-1: oklch(0.979 0.013 228.924);
  --chart-2: oklch(0.379 0.038 230.74);
  --chart-3: oklch(0.436 0.078 276.016);
  --chart-4: oklch(0.409 0.042 230.793);
  --chart-5: oklch(0.979 0.013 228.93);
}