Leprechaun Heron for shadcn/ui

Leprechaun Heron is a shadcn/ui theme built around a teal primary color (#2e9472) with cyan accents (#2e8394). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#2e9472) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefdwhite
#000000black
Foreground
#000000black
#fcfdfdwhite
Card
#f7fdfbmintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdfbmintcream
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#2e9472seagreen
#2e9472seagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#2e943fseagreen
#2e943fseagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e4ece5gainsboro
#131b14black
Muted foreground
#546957dimgray
#96ab9adarkseagreen
Accent
#2e8394steelblue
#2e8394steelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b70906firebrick
#f70c08red
Destructive foreground
#fff0f0lavenderblush
#ffffffwhite
Border
#e7e9e9lavender
#242927darkslategray
Input
#e7e9e9lavender
#242927darkslategray
Ring
#2e9472seagreen
#2e9472seagreen

Contrast

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

Light mode
Text on background20.68:1AAA
Text on card20.37:1AAA
Primary button3.74:1AA Large
Secondary button3.86:1AA Large
Muted text4.93:1AA
Accent4.37:1AA Large
Destructive6.21:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button3.74:1AA Large
Secondary button3.86:1AA Large
Muted text7.18:1AAA
Accent4.37:1AA Large
Destructive4.18:1AA Large

CSS variables

Paste this into your globals.css to use Leprechaun Heron in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 174.488);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.935 0.013 150.634);
  --muted-foreground: oklch(0.497 0.037 149.752);
  --popover: oklch(0.989 0.007 174.388);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.007 174.388);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.933 0.003 174.488);
  --input: oklch(0.933 0.003 174.488);
  --primary: oklch(0.6 0.107 166.63);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.589 0.155 146.04);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.567 0.084 213.561);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.492 0.198 29.132);
  --destructive-foreground: oklch(0.967 0.015 18.606);
  --ring: oklch(0.6 0.107 166.63);
  --chart-1: oklch(0.6 0.107 166.63);
  --chart-2: oklch(0.589 0.155 146.04);
  --chart-3: oklch(0.567 0.084 213.561);
  --chart-4: oklch(0.623 0.164 146.003);
  --chart-5: oklch(0.607 0.112 166.2);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 174.536);
  --muted: oklch(0.212 0.018 149.574);
  --muted-foreground: oklch(0.72 0.034 150.158);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.274 0.007 173.808);
  --input: oklch(0.274 0.007 173.808);
  --primary: oklch(0.6 0.107 166.63);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.589 0.155 146.04);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.567 0.084 213.561);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.616 0.249 29.165);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.6 0.107 166.63);
  --chart-1: oklch(0.6 0.107 166.63);
  --chart-2: oklch(0.589 0.155 146.04);
  --chart-3: oklch(0.567 0.084 213.561);
  --chart-4: oklch(0.623 0.164 146.003);
  --chart-5: oklch(0.607 0.112 166.2);
}