Spilled Cappuccino Xerinae for shadcn/ui

Spilled Cappuccino Xerinae is a shadcn/ui theme built around a muted light orange primary color (#e6e3e0) with muted light violet accents (#e3e0e6). The light mode uses a neutral background (#fbfaf8). Dark mode keeps the muted light orange primary (#e6e3e0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfaf8snow
#000000black
Foreground
#110a03black
#f9f7f6whitesmoke
Card
#faf7f5whitesmoke
#030303black
Card foreground
#0d0703black
#fbfaf9snow
Popover
#fbfaf8snow
#000000black
Popover foreground
#110a03black
#f9f7f6whitesmoke
Primary
#e6e3e0gainsboro
#e6e3e0gainsboro
Primary foreground
#534941darkolivegreen
#534941darkolivegreen
Secondary
#e0e6e3gainsboro
#e0e6e3gainsboro
Secondary foreground
#415349darkslategray
#415349darkslategray
Muted
#f1f3f2whitesmoke
#0c0e0dblack
Muted foreground
#3f5549darkslategray
#aac0b4silver
Accent
#e3e0e6gainsboro
#e3e0e6gainsboro
Accent foreground
#494153darkslategray
#494153darkslategray
Destructive
#670404maroon
#eb0a0ared
Destructive foreground
#fba2a2lightpink
#ffffffwhite
Border
#e9e8e7linen
#1a1919black
Input
#e9e8e7linen
#1a1919black
Ring
#e6e3e0gainsboro
#e6e3e0gainsboro

Contrast

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

Light mode
Text on background18.83:1AAA
Text on card18.77:1AAA
Primary button6.83:1AA
Secondary button6.49:1AA
Muted text7.24:1AAA
Accent7.40:1AAA
Destructive6.76:1AA
Dark mode
Text on background19.66:1AAA
Text on card19.83:1AAA
Primary button6.83:1AA
Secondary button6.49:1AA
Muted text10.07:1AAA
Accent7.40:1AAA
Destructive4.58:1AA

CSS variables

Paste this into your globals.css to use Spilled Cappuccino Xerinae in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 62.158);
  --foreground: oklch(0.15 0.021 67.791);
  --muted: oklch(0.963 0.003 162.551);
  --muted-foreground: oklch(0.427 0.034 160.479);
  --popover: oklch(0.985 0.003 62.158);
  --popover-foreground: oklch(0.15 0.021 67.791);
  --card: oklch(0.978 0.004 62.14);
  --card-foreground: oklch(0.135 0.018 71.281);
  --border: oklch(0.931 0.001 62.177);
  --input: oklch(0.931 0.001 62.177);
  --primary: oklch(0.917 0.006 62.11);
  --primary-foreground: oklch(0.413 0.019 61.573);
  --secondary: oklch(0.92 0.009 162.382);
  --secondary-foreground: oklch(0.423 0.027 160.908);
  --accent: oklch(0.91 0.01 306.293);
  --accent-foreground: oklch(0.391 0.031 305.405);
  --destructive: oklch(0.325 0.129 28.486);
  --destructive-foreground: oklch(0.801 0.106 19.673);
  --ring: oklch(0.917 0.006 62.11);
  --chart-1: oklch(0.917 0.006 62.11);
  --chart-2: oklch(0.92 0.009 162.382);
  --chart-3: oklch(0.91 0.01 306.293);
  --chart-4: oklch(0.942 0.006 162.452);
  --chart-5: oklch(0.917 0.007 62.09);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.003 62.154);
  --muted: oklch(0.16 0.004 161.974);
  --muted-foreground: oklch(0.788 0.03 161.656);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.003 62.154);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.985 0.002 62.167);
  --border: oklch(0.216 0.002 62.078);
  --input: oklch(0.216 0.002 62.078);
  --primary: oklch(0.917 0.006 62.11);
  --primary-foreground: oklch(0.413 0.019 61.573);
  --secondary: oklch(0.92 0.009 162.382);
  --secondary-foreground: oklch(0.423 0.027 160.908);
  --accent: oklch(0.91 0.01 306.293);
  --accent-foreground: oklch(0.391 0.031 305.405);
  --destructive: oklch(0.593 0.24 28.945);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.917 0.006 62.11);
  --chart-1: oklch(0.917 0.006 62.11);
  --chart-2: oklch(0.92 0.009 162.382);
  --chart-3: oklch(0.91 0.01 306.293);
  --chart-4: oklch(0.942 0.006 162.452);
  --chart-5: oklch(0.917 0.007 62.09);
}