Bell for shadcn/ui

Bell is a shadcn/ui theme built around a pink primary color (#c55e8c) with muted pink accents (#cea6b8). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the pink primary (#c55e8c) on a pink-tinted background (#10050a).

Color palette

TokenLightDark
Background
#fcf8fasnow
#10050ablack
Foreground
#000000black
#faf9fasnow
Card
#fbf4f7lavenderblush
#14060cblack
Card foreground
#000000black
#fdfcfcsnow
Popover
#fbf4f7lavenderblush
#14060cblack
Popover foreground
#000000black
#fdfcfcsnow
Primary
#c55e8cpalevioletred
#c55e8cpalevioletred
Primary foreground
#000000black
#000000black
Secondary
#dccbd3lightgrey
#211c1eblack
Secondary foreground
#462f39darkslategray
#beb1b7silver
Muted
#edd9e2gainsboro
#26121bblack
Muted foreground
#675f63dimgray
#a0989bdarkgray
Accent
#cea6b8silver
#33242bdarkslategray
Accent foreground
#2b1820black
#cfbac3silver
Destructive
#c70f0ffirebrick
#ef2a2acrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c55e8cpalevioletred
#c55e8cpalevioletred

Contrast

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

Light mode
Text on background19.90:1AAA
Text on card19.36:1AAA
Primary button5.34:1AA
Secondary button7.83:1AAA
Muted text4.59:1AA
Accent7.80:1AAA
Destructive5.98:1AA
Dark mode
Text on background19.10:1AAA
Text on card19.34:1AAA
Primary button5.34:1AA
Secondary button8.13:1AAA
Muted text6.29:1AA
Accent8.05:1AAA
Destructive4.17:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 347.968);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.904 0.026 348.583);
  --muted-foreground: oklch(0.496 0.012 348.439);
  --popover: oklch(0.973 0.008 348.048);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.973 0.008 348.048);
  --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.62 0.141 353.74);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.859 0.022 348.499);
  --secondary-foreground: oklch(0.336 0.038 350.715);
  --accent: oklch(0.767 0.052 349.6);
  --accent-foreground: oklch(0.236 0.034 351.49);
  --destructive: oklch(0.526 0.209 28.58);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.62 0.141 353.74);
  --chart-1: oklch(0.62 0.141 353.74);
  --chart-2: oklch(0.859 0.022 348.499);
  --chart-3: oklch(0.767 0.052 349.6);
  --chart-4: oklch(0.884 0.018 348.359);
  --chart-5: oklch(0.619 0.149 354.141);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.025 349.452);
  --foreground: oklch(0.984 0.001 347.85);
  --muted: oklch(0.215 0.037 352.284);
  --muted-foreground: oklch(0.686 0.011 348.232);
  --popover: oklch(0.148 0.028 351.304);
  --popover-foreground: oklch(0.992 0.001 347.831);
  --card: oklch(0.148 0.028 351.304);
  --card-foreground: oklch(0.992 0.001 347.831);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.62 0.141 353.74);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.233 0.01 348.917);
  --secondary-foreground: oklch(0.773 0.017 348.394);
  --accent: oklch(0.28 0.026 350.254);
  --accent-foreground: oklch(0.809 0.027 348.71);
  --destructive: oklch(0.614 0.229 27.37);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.62 0.141 353.74);
  --chart-1: oklch(0.62 0.141 353.74);
  --chart-2: oklch(0.233 0.01 348.917);
  --chart-3: oklch(0.28 0.026 350.254);
  --chart-4: oklch(0.264 0.012 348.991);
  --chart-5: oklch(0.619 0.149 354.141);
}