Mountain Heather Ocelot for shadcn/ui

Mountain Heather Ocelot is a shadcn/ui theme built around a light pink primary color (#ead7e2) with muted light pink accents (#eae1e6). The light mode uses a neutral background (#ffffff). Dark mode keeps the light pink primary (#ead7e2) on a neutral background (#070305).

Color palette

TokenLightDark
Background
#ffffffwhite
#070305black
Foreground
#10040bblack
#ffffffwhite
Card
#fcfcfcsnow
#0b0408black
Card foreground
#0c0308black
#ffffffwhite
Popover
#fcfcfcsnow
#0b0408black
Popover foreground
#0c0308black
#ffffffwhite
Primary
#ead7e2gainsboro
#ead7e2gainsboro
Primary foreground
#5e314adarkslategray
#5e314adarkslategray
Secondary
#eae1e6gainsboro
#241e22black
Secondary foreground
#5b3e4edarkslategray
#c0b4bbsilver
Muted
#efe7eblinen
#181015black
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#eae1e6gainsboro
#241e22black
Accent foreground
#5b3e4edarkslategray
#c0b4bbsilver
Destructive
#d74a09chocolate
#eb510aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ebe5e8linen
#1d161ablack
Input
#ebe5e8linen
#1d161ablack
Ring
#ead7e2gainsboro
#ead7e2gainsboro

Contrast

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

Light mode
Text on background20.11:1AAA
Text on card19.90:1AAA
Primary button7.59:1AAA
Secondary button7.30:1AAA
Muted text6.21:1AA
Accent7.30:1AAA
Destructive4.28:1AA Large
Dark mode
Text on background20.50:1AAA
Text on card20.27:1AAA
Primary button7.59:1AAA
Secondary button8.15:1AAA
Muted text8.11:1AAA
Accent8.15:1AAA
Destructive3.67:1AA Large

CSS variables

Paste this into your globals.css to use Mountain Heather Ocelot in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.136 0.028 343.952);
  --muted: oklch(0.934 0.011 342.081);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.122 0.025 342.159);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.122 0.025 342.159);
  --border: oklch(0.928 0.008 342.009);
  --input: oklch(0.928 0.008 342.009);
  --primary: oklch(0.897 0.025 342.468);
  --primary-foreground: oklch(0.38 0.073 346.06);
  --secondary: oklch(0.918 0.013 342.139);
  --secondary-foreground: oklch(0.402 0.048 344.454);
  --accent: oklch(0.918 0.013 342.139);
  --accent-foreground: oklch(0.402 0.048 344.454);
  --destructive: oklch(0.6 0.188 39.259);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.897 0.025 342.468);
  --chart-1: oklch(0.897 0.025 342.468);
  --chart-2: oklch(0.918 0.013 342.139);
  --chart-3: oklch(0.918 0.013 342.139);
  --chart-4: oklch(0.943 0.009 342.032);
  --chart-5: oklch(0.896 0.028 342.532);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.017 341.827);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.187 0.016 343.766);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0.124 0.019 341.958);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.019 341.958);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.211 0.013 343.197);
  --input: oklch(0.211 0.013 343.197);
  --primary: oklch(0.897 0.025 342.468);
  --primary-foreground: oklch(0.38 0.073 346.06);
  --secondary: oklch(0.244 0.011 342.856);
  --secondary-foreground: oklch(0.782 0.017 342.322);
  --accent: oklch(0.244 0.011 342.856);
  --accent-foreground: oklch(0.782 0.017 342.322);
  --destructive: oklch(0.639 0.201 39.111);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.897 0.025 342.468);
  --chart-1: oklch(0.897 0.025 342.468);
  --chart-2: oklch(0.244 0.011 342.856);
  --chart-3: oklch(0.244 0.011 342.856);
  --chart-4: oklch(0.275 0.013 342.918);
  --chart-5: oklch(0.896 0.028 342.532);
}