Earthbound - Zombie Threed for shadcn/ui

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

Color palette

TokenLightDark
Background
#303554darkslategray
#303554darkslategray
Foreground
#f0faffaliceblue
#f0faffaliceblue
Card
#2d314edarkslategray
#2d314edarkslategray
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#2b2f4adarkslategray
#2b2f4adarkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#f0faffaliceblue
#f0faffaliceblue
Primary foreground
#003a57midnightblue
#003a57midnightblue
Secondary
#2d4653darkslategray
#2d4653darkslategray
Secondary foreground
#cddde4gainsboro
#cddde4gainsboro
Muted
#434556darkslategray
#434556darkslategray
Muted foreground
#c6c7d2lightgrey
#c6c7d2lightgrey
Accent
#4c5385darkslateblue
#4c5385darkslateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#f42010red
#f42010red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#42455cdarkslategray
#42455cdarkslategray
Input
#484b65darkslategray
#484b65darkslategray
Ring
#f0faffaliceblue
#f0faffaliceblue

Contrast

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

Light mode
Text on background11.27:1AAA
Text on card12.72:1AAA
Primary button11.36:1AAA
Secondary button7.12:1AAA
Muted text5.58:1AA
Accent7.28:1AAA
Destructive4.16:1AA Large
Dark mode
Text on background11.27:1AAA
Text on card12.72:1AAA
Primary button11.36:1AAA
Secondary button7.12:1AAA
Muted text5.58:1AA
Accent7.28:1AAA
Destructive4.16:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.339 0.056 277.239);
  --foreground: oklch(0.979 0.013 228.924);
  --muted: oklch(0.397 0.027 279.156);
  --muted-foreground: oklch(0.833 0.015 280.043);
  --popover: oklch(0.313 0.05 277.328);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.322 0.052 277.296);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.397 0.04 278.542);
  --input: oklch(0.422 0.044 278.512);
  --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.459 0.081 276.959);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.616 0.24 29.75);
  --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.459 0.081 276.959);
  --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.339 0.056 277.239);
  --foreground: oklch(0.979 0.013 228.924);
  --muted: oklch(0.397 0.027 279.156);
  --muted-foreground: oklch(0.833 0.015 280.043);
  --popover: oklch(0.313 0.05 277.328);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.322 0.052 277.296);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.397 0.04 278.542);
  --input: oklch(0.422 0.044 278.512);
  --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.459 0.081 276.959);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.616 0.24 29.75);
  --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.459 0.081 276.959);
  --chart-4: oklch(0.409 0.042 230.793);
  --chart-5: oklch(0.979 0.013 228.93);
}