Horn of Plenty Panther for shadcn/ui

Horn of Plenty Panther is a shadcn/ui theme built around a yellow primary color (#baa56d) with blue accents (#6d83ba). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#baa56d) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#fefdfbsnow
#070603black
Foreground
#110d03black
#fcfbf8snow
Card
#fefdfbsnow
#070603black
Card foreground
#110d03black
#fcfbf8snow
Popover
#fefdfbsnow
#070603black
Popover foreground
#110d03black
#fcfbf8snow
Primary
#baa56ddarkkhaki
#baa56ddarkkhaki
Primary foreground
#000000black
#000000black
Secondary
#6d83balightslategray
#6d83balightslategray
Secondary foreground
#000000black
#000000black
Muted
#dedfe3gainsboro
#1c1d21black
Muted foreground
#4f5564dimgray
#9ba1b0darkgray
Accent
#6d83balightslategray
#6d83balightslategray
Accent foreground
#000000black
#000000black
Destructive
#b81e0afirebrick
#f54e38tomato
Destructive foreground
#fef6f5lavenderblush
#ffffffwhite
Border
#e6e6e5gainsboro
#222220black
Input
#e6e6e5gainsboro
#222220black
Ring
#baa56ddarkkhaki
#baa56ddarkkhaki

Contrast

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

Light mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button8.67:1AAA
Secondary button5.62:1AA
Muted text5.60:1AA
Accent5.62:1AA
Destructive6.10:1AA
Dark mode
Text on background19.59:1AAA
Text on card19.59:1AAA
Primary button8.67:1AAA
Secondary button5.62:1AA
Muted text6.48:1AA
Accent5.62:1AA
Destructive3.48:1AA Large

CSS variables

Paste this into your globals.css to use Horn of Plenty Panther in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 88.813);
  --foreground: oklch(0.162 0.024 91.892);
  --muted: oklch(0.904 0.006 268.747);
  --muted-foreground: oklch(0.449 0.026 268.28);
  --popover: oklch(0.995 0.003 88.813);
  --popover-foreground: oklch(0.162 0.024 91.892);
  --card: oklch(0.995 0.003 88.813);
  --card-foreground: oklch(0.162 0.024 91.892);
  --border: oklch(0.924 0.002 88.802);
  --input: oklch(0.924 0.002 88.802);
  --primary: oklch(0.727 0.078 88.797);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.616 0.088 267.282);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.616 0.088 267.282);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.504 0.19 30.895);
  --destructive-foreground: oklch(0.98 0.009 26.501);
  --ring: oklch(0.727 0.078 88.797);
  --chart-1: oklch(0.727 0.078 88.797);
  --chart-2: oklch(0.616 0.088 267.282);
  --chart-3: oklch(0.616 0.088 267.282);
  --chart-4: oklch(0.644 0.081 267.506);
  --chart-5: oklch(0.732 0.083 88.715);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.008 92.026);
  --foreground: oklch(0.987 0.004 88.816);
  --muted: oklch(0.233 0.008 268.518);
  --muted-foreground: oklch(0.709 0.023 268.529);
  --popover: oklch(0.121 0.008 92.026);
  --popover-foreground: oklch(0.987 0.004 88.816);
  --card: oklch(0.121 0.008 92.026);
  --card-foreground: oklch(0.987 0.004 88.816);
  --border: oklch(0.25 0.003 88.86);
  --input: oklch(0.25 0.003 88.86);
  --primary: oklch(0.727 0.078 88.797);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.616 0.088 267.282);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.616 0.088 267.282);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.655 0.206 30.733);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.727 0.078 88.797);
  --chart-1: oklch(0.727 0.078 88.797);
  --chart-2: oklch(0.616 0.088 267.282);
  --chart-3: oklch(0.616 0.088 267.282);
  --chart-4: oklch(0.644 0.081 267.506);
  --chart-5: oklch(0.732 0.083 88.715);
}