Desolace Dew Walrus for shadcn/ui

Desolace Dew Walrus is a shadcn/ui theme built around a muted green primary color (#b6c3ac) with muted light green accents (#e7ede3). The light mode uses a neutral background (#fcfefb). Dark mode keeps the muted green primary (#b6c3ac) on a neutral background (#050802).

Color palette

TokenLightDark
Background
#fcfefbwhite
#050802black
Foreground
#0c1505black
#ffffffwhite
Card
#fcfefbwhite
#050802black
Card foreground
#0c1505black
#ffffffwhite
Popover
#fcfefbwhite
#050802black
Popover foreground
#0c1505black
#ffffffwhite
Primary
#b6c3acsilver
#b6c3acsilver
Primary foreground
#1e231ablack
#1e231ablack
Secondary
#e7ede3beige
#262824darkslategray
Secondary foreground
#1b2216black
#bfc2bcsilver
Muted
#e2e8degainsboro
#1b2117black
Muted foreground
#656a62dimgray
#989d95darkgray
Accent
#e7ede3beige
#262824darkslategray
Accent foreground
#1b2216black
#bfc2bcsilver
Destructive
#d43708orangered
#e73c08orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8ebe5beige
#191d16black
Input
#e8ebe5beige
#191d16black
Ring
#b6c3acsilver
#b6c3acsilver

Contrast

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

Light mode
Text on background18.42:1AAA
Text on card18.42:1AAA
Primary button8.69:1AAA
Secondary button13.67:1AAA
Muted text4.44:1AA Large
Accent13.67:1AAA
Destructive4.83:1AA
Dark mode
Text on background20.14:1AAA
Text on card20.14:1AAA
Primary button8.69:1AAA
Secondary button8.24:1AAA
Muted text5.93:1AA
Accent8.24:1AAA
Destructive4.14:1AA Large

CSS variables

Paste this into your globals.css to use Desolace Dew Walrus in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.005 131.127);
  --foreground: oklch(0.181 0.035 132.072);
  --muted: oklch(0.924 0.015 131.226);
  --muted-foreground: oklch(0.518 0.014 131.32);
  --popover: oklch(0.995 0.005 131.127);
  --popover-foreground: oklch(0.181 0.035 132.072);
  --card: oklch(0.995 0.005 131.127);
  --card-foreground: oklch(0.181 0.035 132.072);
  --border: oklch(0.936 0.008 131.16);
  --input: oklch(0.936 0.008 131.16);
  --primary: oklch(0.801 0.035 131.471);
  --primary-foreground: oklch(0.249 0.02 131.814);
  --secondary: oklch(0.939 0.013 131.21);
  --secondary-foreground: oklch(0.24 0.023 131.97);
  --accent: oklch(0.939 0.013 131.21);
  --accent-foreground: oklch(0.24 0.023 131.97);
  --destructive: oklch(0.573 0.199 34.692);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.801 0.035 131.471);
  --chart-1: oklch(0.801 0.035 131.471);
  --chart-2: oklch(0.939 0.013 131.21);
  --chart-3: oklch(0.939 0.013 131.21);
  --chart-4: oklch(0.959 0.009 131.166);
  --chart-5: oklch(0.805 0.041 131.543);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.127 0.021 129.666);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.239 0.021 131.882);
  --muted-foreground: oklch(0.69 0.013 131.249);
  --popover: oklch(0.127 0.021 129.666);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.127 0.021 129.666);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.223 0.013 131.601);
  --input: oklch(0.223 0.013 131.601);
  --primary: oklch(0.801 0.035 131.471);
  --primary-foreground: oklch(0.249 0.02 131.814);
  --secondary: oklch(0.274 0.008 131.33);
  --secondary-foreground: oklch(0.811 0.01 131.189);
  --accent: oklch(0.274 0.008 131.33);
  --accent-foreground: oklch(0.811 0.01 131.189);
  --destructive: oklch(0.612 0.213 34.579);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.801 0.035 131.471);
  --chart-1: oklch(0.801 0.035 131.471);
  --chart-2: oklch(0.274 0.008 131.33);
  --chart-3: oklch(0.274 0.008 131.33);
  --chart-4: oklch(0.306 0.009 131.341);
  --chart-5: oklch(0.805 0.041 131.543);
}