Informal Heartwood for shadcn/ui

Informal Heartwood is a shadcn/ui theme built around an orange primary color (#6f402f) with cyan accents (#2f5e6f). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the orange primary (#6f402f) on an orange-tinted background (#0a0605).

Color palette

TokenLightDark
Background
#fdf9f7snow
#0a0605black
Foreground
#0c0604black
#fdfcfcsnow
Card
#fbf5f3whitesmoke
#0e0907black
Card foreground
#080402black
#ffffffwhite
Popover
#fdf9f7snow
#0a0605black
Popover foreground
#0c0604black
#fdfcfcsnow
Primary
#6f402fsaddlebrown
#6f402fsaddlebrown
Primary foreground
#f1e4dfantiquewhite
#f1e4dfantiquewhite
Secondary
#2f5e6fdarkslategray
#2f5e6fdarkslategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f0f3f4whitesmoke
#0b0e0fblack
Muted foreground
#4a5559darkslategray
#a6b1b5darkgray
Accent
#2f5e6fdarkslategray
#2f5e6fdarkslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7c190emaroon
#e62e1aorangered
Destructive foreground
#f8c9c3pink
#ffffffwhite
Border
#eceae9linen
#262322black
Input
#eceae9linen
#262322black
Ring
#6f402fsaddlebrown
#6f402fsaddlebrown

Contrast

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

Light mode
Text on background19.18:1AAA
Text on card18.99:1AAA
Primary button6.88:1AA
Secondary button7.09:1AAA
Muted text6.89:1AA
Accent7.09:1AAA
Destructive7.06:1AAA
Dark mode
Text on background19.65:1AAA
Text on card19.84:1AAA
Primary button6.88:1AA
Secondary button7.09:1AAA
Muted text8.85:1AAA
Accent7.09:1AAA
Destructive4.41:1AA Large

CSS variables

Paste this into your globals.css to use Informal Heartwood in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.005 41.267);
  --foreground: oklch(0.129 0.014 47.85);
  --muted: oklch(0.963 0.004 221.336);
  --muted-foreground: oklch(0.442 0.015 221.664);
  --popover: oklch(0.984 0.005 41.267);
  --popover-foreground: oklch(0.129 0.014 47.85);
  --card: oklch(0.976 0.007 41.249);
  --card-foreground: oklch(0.113 0.012 48.084);
  --border: oklch(0.938 0.002 41.286);
  --input: oklch(0.938 0.002 41.286);
  --primary: oklch(0.424 0.072 40.616);
  --primary-foreground: oklch(0.927 0.017 41.174);
  --secondary: oklch(0.457 0.059 224.16);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.457 0.059 224.16);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.384 0.136 30.425);
  --destructive-foreground: oklch(0.875 0.055 25.628);
  --ring: oklch(0.424 0.072 40.616);
  --chart-1: oklch(0.424 0.072 40.616);
  --chart-2: oklch(0.457 0.059 224.16);
  --chart-3: oklch(0.457 0.059 224.16);
  --chart-4: oklch(0.487 0.063 224.221);
  --chart-5: oklch(0.425 0.077 40.548);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.009 45.497);
  --foreground: oklch(0.992 0.001 41.293);
  --muted: oklch(0.159 0.005 221.661);
  --muted-foreground: oklch(0.753 0.013 221.471);
  --popover: oklch(0.13 0.009 45.497);
  --popover-foreground: oklch(0.992 0.001 41.293);
  --card: oklch(0.144 0.01 44.01);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.258 0.005 41.159);
  --input: oklch(0.258 0.005 41.159);
  --primary: oklch(0.424 0.072 40.616);
  --primary-foreground: oklch(0.927 0.017 41.174);
  --secondary: oklch(0.457 0.059 224.16);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.457 0.059 224.16);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.598 0.22 30.517);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.424 0.072 40.616);
  --chart-1: oklch(0.424 0.072 40.616);
  --chart-2: oklch(0.457 0.059 224.16);
  --chart-3: oklch(0.457 0.059 224.16);
  --chart-4: oklch(0.487 0.063 224.221);
  --chart-5: oklch(0.425 0.077 40.548);
}