P. \ Eucalyptus for shadcn/ui

P. \ Eucalyptus is a shadcn/ui theme built around an orange primary color (#d58830) with muted deep green accents (#474e41). The light mode uses a green-tinted background (#21241e). Dark mode keeps the orange primary (#d58830) on a green-tinted background (#21241e).

Color palette

TokenLightDark
Background
#21241eblack
#21241eblack
Foreground
#e7b17eburlywood
#e7b17eburlywood
Card
#1c1f1ablack
#1c1f1ablack
Card foreground
#ebbe93burlywood
#ebbe93burlywood
Popover
#1a1c17black
#1a1c17black
Popover foreground
#efcba9wheat
#efcba9wheat
Primary
#d58830peru
#d58830peru
Primary foreground
#000000black
#000000black
Secondary
#53412ddarkolivegreen
#53412ddarkolivegreen
Secondary foreground
#e4dacdgainsboro
#e4dacdgainsboro
Muted
#2b3126darkslategray
#2b3126darkslategray
Muted foreground
#abb5a1darkgray
#abb5a1darkgray
Accent
#474e41darkslategray
#474e41darkslategray
Accent foreground
#e0e3degainsboro
#e0e3degainsboro
Destructive
#ee443ftomato
#ee443ftomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2e2e2edarkslategray
#2e2e2edarkslategray
Input
#363636darkslategray
#363636darkslategray
Ring
#d58830peru
#d58830peru

Contrast

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

Light mode
Text on background8.21:1AAA
Text on card9.81:1AAA
Primary button7.35:1AAA
Secondary button7.03:1AAA
Muted text6.30:1AA
Accent6.66:1AA
Destructive3.78:1AA Large
Dark mode
Text on background8.21:1AAA
Text on card9.81:1AAA
Primary button7.35:1AAA
Secondary button7.03:1AAA
Muted text6.30:1AA
Accent6.66:1AA
Destructive3.78:1AA Large

CSS variables

Paste this into your globals.css to use P. \ Eucalyptus in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.256 0.012 128.985);
  --foreground: oklch(0.798 0.092 63.979);
  --muted: oklch(0.303 0.02 129.207);
  --muted-foreground: oklch(0.759 0.03 128.915);
  --popover: oklch(0.221 0.009 128.943);
  --popover-foreground: oklch(0.864 0.061 64.972);
  --card: oklch(0.233 0.01 128.959);
  --card-foreground: oklch(0.831 0.077 64.548);
  --border: oklch(0.301 0 189.462);
  --input: oklch(0.331 0 180);
  --primary: oklch(0.691 0.136 64.882);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.389 0.04 69.923);
  --secondary-foreground: oklch(0.892 0.02 71.241);
  --accent: oklch(0.413 0.022 129.082);
  --accent-foreground: oklch(0.913 0.008 128.558);
  --destructive: oklch(0.635 0.207 26.925);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.691 0.136 64.882);
  --chart-1: oklch(0.691 0.136 64.882);
  --chart-2: oklch(0.389 0.04 69.923);
  --chart-3: oklch(0.413 0.022 129.082);
  --chart-4: oklch(0.42 0.044 69.878);
  --chart-5: oklch(0.695 0.141 64.305);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.256 0.012 128.985);
  --foreground: oklch(0.798 0.092 63.979);
  --muted: oklch(0.303 0.02 129.207);
  --muted-foreground: oklch(0.759 0.03 128.915);
  --popover: oklch(0.221 0.009 128.943);
  --popover-foreground: oklch(0.864 0.061 64.972);
  --card: oklch(0.233 0.01 128.959);
  --card-foreground: oklch(0.831 0.077 64.548);
  --border: oklch(0.301 0 189.462);
  --input: oklch(0.331 0 180);
  --primary: oklch(0.691 0.136 64.882);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.389 0.04 69.923);
  --secondary-foreground: oklch(0.892 0.02 71.241);
  --accent: oklch(0.413 0.022 129.082);
  --accent-foreground: oklch(0.913 0.008 128.558);
  --destructive: oklch(0.635 0.207 26.925);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.691 0.136 64.882);
  --chart-1: oklch(0.691 0.136 64.882);
  --chart-2: oklch(0.389 0.04 69.923);
  --chart-3: oklch(0.413 0.022 129.082);
  --chart-4: oklch(0.42 0.044 69.878);
  --chart-5: oklch(0.695 0.141 64.305);
}