Earthbound - Dusty Dunes (Darker) for shadcn/ui

Earthbound - Dusty Dunes (Darker) is a shadcn/ui theme built around a vivid yellow primary color (#ffd23d) with vivid deep yellow accents (#614900). The light mode uses a yellow-tinted background (#140f00). Dark mode keeps the vivid yellow primary (#ffd23d) on a yellow-tinted background (#140f00).

Color palette

TokenLightDark
Background
#140f00black
#140f00black
Foreground
#f9e49fpalegoldenrod
#f9e49fpalegoldenrod
Card
#0a0800black
#0a0800black
Card foreground
#faebb7moccasin
#faebb7moccasin
Popover
#050400black
#050400black
Popover foreground
#fcf1cfpapayawhip
#fcf1cfpapayawhip
Primary
#ffd23dsandybrown
#ffd23dsandybrown
Primary foreground
#0a0800black
#0a0800black
Secondary
#534a2ddarkolivegreen
#534a2ddarkolivegreen
Secondary foreground
#e4dfcdgainsboro
#e4dfcdgainsboro
Muted
#2b2922darkslategray
#2b2922darkslategray
Muted foreground
#b0ab9bdarkgray
#b0ab9bdarkgray
Accent
#614900saddlebrown
#614900saddlebrown
Accent foreground
#ffe494khaki
#ffe494khaki
Destructive
#d42511firebrick
#d42511firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2c2102black
#2c2102black
Input
#3a2c03black
#3a2c03black
Ring
#ffd23dsandybrown
#ffd23dsandybrown

Contrast

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

Light mode
Text on background15.10:1AAA
Text on card16.85:1AAA
Primary button13.85:1AAA
Secondary button6.60:1AA
Muted text6.36:1AA
Accent6.84:1AA
Destructive5.15:1AA
Dark mode
Text on background15.10:1AAA
Text on card16.85:1AAA
Primary button13.85:1AAA
Secondary button6.60:1AA
Muted text6.36:1AA
Accent6.84:1AA
Destructive5.15:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.171 0.035 95.393);
  --foreground: oklch(0.92 0.09 93.16);
  --muted: oklch(0.279 0.013 91.73);
  --muted-foreground: oklch(0.741 0.023 91.653);
  --popover: oklch(0.105 0.022 99.316);
  --popover-foreground: oklch(0.959 0.046 93.047);
  --card: oklch(0.132 0.027 99.316);
  --card-foreground: oklch(0.939 0.069 93.151);
  --border: oklch(0.254 0.049 90.346);
  --input: oklch(0.302 0.059 89.108);
  --primary: oklch(0.878 0.163 90.959);
  --primary-foreground: oklch(0.133 0.028 100.181);
  --secondary: oklch(0.41 0.046 93.102);
  --secondary-foreground: oklch(0.903 0.024 92.9);
  --accent: oklch(0.419 0.086 86.673);
  --accent-foreground: oklch(0.924 0.104 91.692);
  --destructive: oklch(0.561 0.211 30.51);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.878 0.163 90.959);
  --chart-1: oklch(0.878 0.163 90.959);
  --chart-2: oklch(0.41 0.046 93.102);
  --chart-3: oklch(0.419 0.086 86.673);
  --chart-4: oklch(0.443 0.051 93.092);
  --chart-5: oklch(0.884 0.165 90.77);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.171 0.035 95.393);
  --foreground: oklch(0.92 0.09 93.16);
  --muted: oklch(0.279 0.013 91.73);
  --muted-foreground: oklch(0.741 0.023 91.653);
  --popover: oklch(0.105 0.022 99.316);
  --popover-foreground: oklch(0.959 0.046 93.047);
  --card: oklch(0.132 0.027 99.316);
  --card-foreground: oklch(0.939 0.069 93.151);
  --border: oklch(0.254 0.049 90.346);
  --input: oklch(0.302 0.059 89.108);
  --primary: oklch(0.878 0.163 90.959);
  --primary-foreground: oklch(0.133 0.028 100.181);
  --secondary: oklch(0.41 0.046 93.102);
  --secondary-foreground: oklch(0.903 0.024 92.9);
  --accent: oklch(0.419 0.086 86.673);
  --accent-foreground: oklch(0.924 0.104 91.692);
  --destructive: oklch(0.561 0.211 30.51);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.878 0.163 90.959);
  --chart-1: oklch(0.878 0.163 90.959);
  --chart-2: oklch(0.41 0.046 93.102);
  --chart-3: oklch(0.419 0.086 86.673);
  --chart-4: oklch(0.443 0.051 93.092);
  --chart-5: oklch(0.884 0.165 90.77);
}