Gall-bladder for shadcn/ui

Gall-bladder is a shadcn/ui theme built around a muted light pink primary color (#e1d5db) with muted light red accents (#e1d5d5). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted light pink primary (#e1d5db) on a pink-tinted background (#0b0408).

Color palette

TokenLightDark
Background
#fefbfcsnow
#0b0408black
Foreground
#000000black
#fcf8fasnow
Card
#fefbfcsnow
#0b0408black
Card foreground
#000000black
#fcf8fasnow
Popover
#fefbfcsnow
#0b0408black
Popover foreground
#000000black
#fcf8fasnow
Primary
#e1d5dbgainsboro
#e1d5dbgainsboro
Primary foreground
#4e3742darkslategray
#4e3742darkslategray
Secondary
#e1d5e1gainsboro
#e1d5e1gainsboro
Secondary foreground
#4e374edarkslategray
#4e374edarkslategray
Muted
#e9d8e9gainsboro
#271627black
Muted foreground
#655d65dimgray
#a29aa2darkgray
Accent
#e1d5d5gainsboro
#e1d5d5gainsboro
Accent foreground
#4e3737darkslategray
#4e3737darkslategray
Destructive
#821803maroon
#fa360forangered
Destructive foreground
#fec4b9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1d5dbgainsboro
#e1d5dbgainsboro

Contrast

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

Light mode
Text on background20.39:1AAA
Text on card20.39:1AAA
Primary button7.58:1AAA
Secondary button7.49:1AAA
Muted text4.67:1AA
Accent7.64:1AAA
Destructive6.64:1AA
Dark mode
Text on background19.25:1AAA
Text on card19.25:1AAA
Primary button7.58:1AAA
Secondary button7.49:1AAA
Muted text6.23:1AA
Accent7.64:1AAA
Destructive3.74:1AA Large

CSS variables

Paste this into your globals.css to use Gall-bladder in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 345.259);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.901 0.028 325.811);
  --muted-foreground: oklch(0.488 0.016 325.813);
  --popover: oklch(0.99 0.004 345.259);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.99 0.004 345.259);
  --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.885 0.016 345.598);
  --primary-foreground: oklch(0.366 0.037 347.592);
  --secondary: oklch(0.887 0.021 325.753);
  --secondary-foreground: oklch(0.371 0.048 326.491);
  --accent: oklch(0.883 0.013 17.411);
  --accent-foreground: oklch(0.362 0.032 18.767);
  --destructive: oklch(0.395 0.144 32.752);
  --destructive-foreground: oklch(0.87 0.068 31.403);
  --ring: oklch(0.885 0.016 345.598);
  --chart-1: oklch(0.885 0.016 345.598);
  --chart-2: oklch(0.887 0.021 325.753);
  --chart-3: oklch(0.883 0.013 17.411);
  --chart-4: oklch(0.911 0.016 325.711);
  --chart-5: oklch(0.884 0.018 345.678);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.019 345.12);
  --foreground: oklch(0.983 0.004 345.252);
  --muted: oklch(0.231 0.039 326.755);
  --muted-foreground: oklch(0.696 0.014 325.729);
  --popover: oklch(0.124 0.019 345.12);
  --popover-foreground: oklch(0.983 0.004 345.252);
  --card: oklch(0.124 0.019 345.12);
  --card-foreground: oklch(0.983 0.004 345.252);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.885 0.016 345.598);
  --primary-foreground: oklch(0.366 0.037 347.592);
  --secondary: oklch(0.887 0.021 325.753);
  --secondary-foreground: oklch(0.371 0.048 326.491);
  --accent: oklch(0.883 0.013 17.411);
  --accent-foreground: oklch(0.362 0.032 18.767);
  --destructive: oklch(0.64 0.234 32.32);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.885 0.016 345.598);
  --chart-1: oklch(0.885 0.016 345.598);
  --chart-2: oklch(0.887 0.021 325.753);
  --chart-3: oklch(0.883 0.013 17.411);
  --chart-4: oklch(0.911 0.016 325.711);
  --chart-5: oklch(0.884 0.018 345.678);
}