Helo for shadcn/ui

Helo is a shadcn/ui theme built around a pink primary color (#83214d) with teal accents (#218356). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#83214d) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#ffffffwhite
#040102black
Foreground
#000000black
#faf4f7whitesmoke
Card
#fcfcfcsnow
#080205black
Card foreground
#000000black
#fcf8fasnow
Popover
#fcfcfcsnow
#080205black
Popover foreground
#000000black
#fcf8fasnow
Primary
#83214dbrown
#83214dbrown
Primary foreground
#f7dee9mistyrose
#f7dee9mistyrose
Secondary
#218356seagreen
#218356seagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f0f5f3whitesmoke
#0a0f0dblack
Muted foreground
#595f5cdimgray
#a0a6a3darkgray
Accent
#218356seagreen
#218356seagreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8f150adarkred
#ea2210red
Destructive foreground
#fcd3cfpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#83214dbrown
#83214dbrown

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.27:1AAA
Secondary button4.74:1AA
Muted text5.91:1AA
Accent4.74:1AA
Destructive6.73:1AA
Dark mode
Text on background19.13:1AAA
Text on card19.50:1AAA
Primary button7.27:1AAA
Secondary button4.74:1AA
Muted text7.78:1AAA
Accent4.74:1AA
Destructive4.44:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.965 0.006 167.634);
  --muted-foreground: oklch(0.478 0.008 167.347);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.418 0.138 357.588);
  --primary-foreground: oklch(0.925 0.03 348.693);
  --secondary: oklch(0.542 0.113 158.873);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.542 0.113 158.873);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.419 0.157 30.068);
  --destructive-foreground: oklch(0.9 0.046 24.154);
  --ring: oklch(0.418 0.138 357.588);
  --chart-1: oklch(0.418 0.138 357.588);
  --chart-2: oklch(0.542 0.113 158.873);
  --chart-3: oklch(0.542 0.113 158.873);
  --chart-4: oklch(0.578 0.121 158.767);
  --chart-5: oklch(0.42 0.143 358.144);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.015 347.518);
  --foreground: oklch(0.974 0.007 348.022);
  --muted: oklch(0.163 0.009 166.104);
  --muted-foreground: oklch(0.72 0.007 167.535);
  --popover: oklch(0.106 0.019 347.518);
  --popover-foreground: oklch(0.982 0.005 347.95);
  --card: oklch(0.106 0.019 347.518);
  --card-foreground: oklch(0.982 0.005 347.95);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.418 0.138 357.588);
  --primary-foreground: oklch(0.925 0.03 348.693);
  --secondary: oklch(0.542 0.113 158.873);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.542 0.113 158.873);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.599 0.231 30.091);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.418 0.138 357.588);
  --chart-1: oklch(0.418 0.138 357.588);
  --chart-2: oklch(0.542 0.113 158.873);
  --chart-3: oklch(0.542 0.113 158.873);
  --chart-4: oklch(0.578 0.121 158.767);
  --chart-5: oklch(0.42 0.143 358.144);
}