Earthbound - Dusty Dunes for shadcn/ui

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

Color palette

TokenLightDark
Background
#1d1a07black
#1d1a07black
Foreground
#f9e49fpalegoldenrod
#f9e49fpalegoldenrod
Card
#151305black
#151305black
Card foreground
#faebb7moccasin
#faebb7moccasin
Popover
#110f04black
#110f04black
Popover foreground
#fcf1cfpapayawhip
#fcf1cfpapayawhip
Primary
#ffd23dsandybrown
#ffd23dsandybrown
Primary foreground
#0a0800black
#0a0800black
Secondary
#534a2ddarkolivegreen
#534a2ddarkolivegreen
Secondary foreground
#e4dfcdgainsboro
#e4dfcdgainsboro
Muted
#2b2a22darkslategray
#2b2a22darkslategray
Muted foreground
#b0ae9bdarkgray
#b0ae9bdarkgray
Accent
#5b5215darkolivegreen
#5b5215darkolivegreen
Accent foreground
#eee6b5wheat
#eee6b5wheat
Destructive
#f5452etomato
#f5452etomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2f2a0fblack
#2f2a0fblack
Input
#3a3512darkolivegreen
#3a3512darkolivegreen
Ring
#ffd23dsandybrown
#ffd23dsandybrown

Contrast

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

Light mode
Text on background13.82:1AAA
Text on card15.69:1AAA
Primary button13.85:1AAA
Secondary button6.60:1AA
Muted text6.46:1AA
Accent6.27:1AA
Destructive3.63:1AA Large
Dark mode
Text on background13.82:1AAA
Text on card15.69:1AAA
Primary button13.85:1AAA
Secondary button6.60:1AA
Muted text6.46:1AA
Accent6.27:1AA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.216 0.033 100.828);
  --foreground: oklch(0.92 0.09 93.16);
  --muted: oklch(0.282 0.014 100.021);
  --muted-foreground: oklch(0.747 0.026 99.83);
  --popover: oklch(0.166 0.023 101.792);
  --popover-foreground: oklch(0.959 0.046 93.047);
  --card: oklch(0.183 0.027 101.302);
  --card-foreground: oklch(0.939 0.069 93.151);
  --border: oklch(0.284 0.044 100.669);
  --input: oklch(0.325 0.052 100.637);
  --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.434 0.079 100.324);
  --accent-foreground: oklch(0.919 0.065 100.246);
  --destructive: oklch(0.645 0.216 30.942);
  --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.434 0.079 100.324);
  --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.216 0.033 100.828);
  --foreground: oklch(0.92 0.09 93.16);
  --muted: oklch(0.282 0.014 100.021);
  --muted-foreground: oklch(0.747 0.026 99.83);
  --popover: oklch(0.166 0.023 101.792);
  --popover-foreground: oklch(0.959 0.046 93.047);
  --card: oklch(0.183 0.027 101.302);
  --card-foreground: oklch(0.939 0.069 93.151);
  --border: oklch(0.284 0.044 100.669);
  --input: oklch(0.325 0.052 100.637);
  --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.434 0.079 100.324);
  --accent-foreground: oklch(0.919 0.065 100.246);
  --destructive: oklch(0.645 0.216 30.942);
  --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.434 0.079 100.324);
  --chart-4: oklch(0.443 0.051 93.092);
  --chart-5: oklch(0.884 0.165 90.77);
}