Elusive Dawn Egret for shadcn/ui

Elusive Dawn Egret is a shadcn/ui theme built around an orange primary color (#d3bcab) with muted light orange accents (#ded2ca). The light mode uses a neutral background (#fdf9f6). Dark mode keeps the orange primary (#d3bcab) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#fdf9f6snow
#070503black
Foreground
#110903black
#fbfaf9snow
Card
#fdf9f6snow
#070503black
Card foreground
#110903black
#fbfaf9snow
Popover
#fdf9f6snow
#070503black
Popover foreground
#110903black
#fbfaf9snow
Primary
#d3bcabsilver
#d3bcabsilver
Primary foreground
#32241ablack
#32241ablack
Secondary
#eae5e1gainsboro
#252322black
Secondary foreground
#5a4a3fdarkolivegreen
#c0bcb9silver
Muted
#f6f2eewhitesmoke
#110c09black
Muted foreground
#4b4a48darkslategray
#b7b5b4silver
Accent
#ded2calightgrey
#39322ddarkslategray
Accent foreground
#48382ddarkslategray
#d2cbc6lightgrey
Destructive
#641702maroon
#f53905orangered
Destructive foreground
#fdb09blightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d3bcabsilver
#d3bcabsilver

Contrast

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

Light mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button8.23:1AAA
Secondary button6.74:1AA
Muted text7.93:1AAA
Accent7.53:1AAA
Destructive7.11:1AAA
Dark mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button8.23:1AAA
Secondary button8.25:1AAA
Muted text9.51:1AAA
Accent7.85:1AAA
Destructive3.84:1AA Large

CSS variables

Paste this into your globals.css to use Elusive Dawn Egret in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.006 58.278);
  --foreground: oklch(0.149 0.021 64.374);
  --muted: oklch(0.963 0.006 58.269);
  --muted-foreground: oklch(0.409 0.003 58.258);
  --popover: oklch(0.985 0.006 58.278);
  --popover-foreground: oklch(0.149 0.021 64.374);
  --card: oklch(0.985 0.006 58.278);
  --card-foreground: oklch(0.149 0.021 64.374);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.81 0.035 57.761);
  --primary-foreground: oklch(0.275 0.027 56.838);
  --secondary: oklch(0.924 0.008 58.245);
  --secondary-foreground: oklch(0.423 0.029 57.392);
  --accent: oklch(0.871 0.017 58.087);
  --accent-foreground: oklch(0.356 0.029 57.155);
  --destructive: oklch(0.335 0.113 35.497);
  --destructive-foreground: oklch(0.826 0.095 36.104);
  --ring: oklch(0.81 0.035 57.761);
  --chart-1: oklch(0.81 0.035 57.761);
  --chart-2: oklch(0.924 0.008 58.245);
  --chart-3: oklch(0.871 0.017 58.087);
  --chart-4: oklch(0.947 0.005 58.283);
  --chart-5: oklch(0.811 0.038 57.701);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.116 0.009 64.351);
  --foreground: oklch(0.985 0.002 58.337);
  --muted: oklch(0.159 0.01 57.752);
  --muted-foreground: oklch(0.774 0.003 58.315);
  --popover: oklch(0.116 0.009 64.351);
  --popover-foreground: oklch(0.985 0.002 58.337);
  --card: oklch(0.116 0.009 64.351);
  --card-foreground: oklch(0.985 0.002 58.337);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.81 0.035 57.761);
  --primary-foreground: oklch(0.275 0.027 56.838);
  --secondary: oklch(0.26 0.004 58.139);
  --secondary-foreground: oklch(0.798 0.006 58.26);
  --accent: oklch(0.323 0.012 57.824);
  --accent-foreground: oklch(0.846 0.01 58.202);
  --destructive: oklch(0.633 0.228 33.543);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.035 57.761);
  --chart-1: oklch(0.81 0.035 57.761);
  --chart-2: oklch(0.26 0.004 58.139);
  --chart-3: oklch(0.323 0.012 57.824);
  --chart-4: oklch(0.291 0.005 58.127);
  --chart-5: oklch(0.811 0.038 57.701);
}