Earthbound - Devil's Machine for shadcn/ui

Earthbound - Devil's Machine is a shadcn/ui theme built around a vivid light red primary color (#ffcccc) with vivid deep red accents (#520014). The light mode uses a neutral background (#050001). Dark mode keeps the vivid light red primary (#ffcccc) on a neutral background (#050001).

Color palette

TokenLightDark
Background
#050001black
#050001black
Foreground
#ffccccpink
#ffccccpink
Card
#000000black
#000000black
Card foreground
#ffe6e6mistyrose
#ffe6e6mistyrose
Popover
#000000black
#000000black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#ffccccpink
#ffccccpink
Primary foreground
#990000darkred
#990000darkred
Secondary
#532d2ddarkslategray
#532d2ddarkslategray
Secondary foreground
#e4cdcdlightgrey
#e4cdcdlightgrey
Muted
#2b2224darkslategray
#2b2224darkslategray
Muted foreground
#b09ba0darkgray
#b09ba0darkgray
Accent
#520014maroon
#520014maroon
Accent foreground
#ff85a3hotpink
#ff85a3hotpink
Destructive
#db230afirebrick
#db230afirebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#1d0208black
#1d0208black
Input
#2c020dblack
#2c020dblack
Ring
#ffccccpink
#ffccccpink

Contrast

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

Light mode
Text on background14.65:1AAA
Text on card17.71:1AAA
Primary button6.26:1AA
Secondary button7.84:1AAA
Muted text5.94:1AA
Accent6.69:1AA
Destructive4.93:1AA
Dark mode
Text on background14.65:1AAA
Text on card17.71:1AAA
Primary button6.26:1AA
Secondary button7.84:1AAA
Muted text5.94:1AA
Accent6.69:1AA
Destructive4.93:1AA

CSS variables

Paste this into your globals.css to use Earthbound - Devil's Machine in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.075 0.03 359.678);
  --foreground: oklch(0.89 0.058 18.3);
  --muted: oklch(0.262 0.015 1.391);
  --muted-foreground: oklch(0.71 0.026 0.891);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.944 0.028 17.659);
  --border: oklch(0.153 0.054 5.899);
  --input: oklch(0.191 0.07 10.209);
  --primary: oklch(0.89 0.058 18.3);
  --primary-foreground: oklch(0.429 0.176 29.234);
  --secondary: oklch(0.345 0.057 20.387);
  --secondary-foreground: oklch(0.868 0.026 17.658);
  --accent: oklch(0.278 0.111 16.06);
  --accent-foreground: oklch(0.76 0.151 5.453);
  --destructive: oklch(0.572 0.218 30.808);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.89 0.058 18.3);
  --chart-1: oklch(0.89 0.058 18.3);
  --chart-2: oklch(0.345 0.057 20.387);
  --chart-3: oklch(0.278 0.111 16.06);
  --chart-4: oklch(0.372 0.062 20.469);
  --chart-5: oklch(0.889 0.06 18.339);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.075 0.03 359.678);
  --foreground: oklch(0.89 0.058 18.3);
  --muted: oklch(0.262 0.015 1.391);
  --muted-foreground: oklch(0.71 0.026 0.891);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.944 0.028 17.659);
  --border: oklch(0.153 0.054 5.899);
  --input: oklch(0.191 0.07 10.209);
  --primary: oklch(0.89 0.058 18.3);
  --primary-foreground: oklch(0.429 0.176 29.234);
  --secondary: oklch(0.345 0.057 20.387);
  --secondary-foreground: oklch(0.868 0.026 17.658);
  --accent: oklch(0.278 0.111 16.06);
  --accent-foreground: oklch(0.76 0.151 5.453);
  --destructive: oklch(0.572 0.218 30.808);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.89 0.058 18.3);
  --chart-1: oklch(0.89 0.058 18.3);
  --chart-2: oklch(0.345 0.057 20.387);
  --chart-3: oklch(0.278 0.111 16.06);
  --chart-4: oklch(0.372 0.062 20.469);
  --chart-5: oklch(0.889 0.06 18.339);
}