Godfather for shadcn/ui

Godfather is a shadcn/ui theme built around a light pink primary color (#f9e6ec) with muted light pink accents (#d7b7c0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light pink primary (#f9e6ec) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#ffffffwhite
#040102black
Foreground
#120207black
#f9f5f6whitesmoke
Card
#fcfcfcsnow
#080204black
Card foreground
#0e0205black
#fbf8f9snow
Popover
#ffffffwhite
#040102black
Popover foreground
#120207black
#f9f5f6whitesmoke
Primary
#f9e6eclinen
#f9e6eclinen
Primary foreground
#8d203fbrown
#8d203fbrown
Secondary
#e2d4d8gainsboro
#261c1fblack
Secondary foreground
#50353ddarkslategray
#c5afb5silver
Muted
#f7edf0whitesmoke
#12080bblack
Muted foreground
#6e595fdimgray
#a69197rosybrown
Accent
#d7b7c0silver
#412a31darkslategray
Accent foreground
#3b2128darkslategray
#d9c4cathistle
Destructive
#840606maroon
#e00b0bred
Destructive foreground
#fcc0c0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f9e6eclinen
#f9e6eclinen

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card19.95:1AAA
Primary button7.28:1AAA
Secondary button7.65:1AAA
Muted text5.64:1AA
Accent7.94:1AAA
Destructive6.71:1AA
Dark mode
Text on background19.20:1AAA
Text on card19.46:1AAA
Primary button7.28:1AAA
Secondary button8.02:1AAA
Muted text6.69:1AA
Accent7.92:1AAA
Destructive4.97:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.129 0.037 359.617);
  --muted: oklch(0.956 0.011 358.044);
  --muted-foreground: oklch(0.486 0.03 359.43);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.129 0.037 359.617);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.116 0.032 357.964);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.942 0.022 358.38);
  --primary-foreground: oklch(0.432 0.145 9.306);
  --secondary: oklch(0.883 0.017 358.25);
  --secondary-foreground: oklch(0.363 0.04 0.717);
  --accent: oklch(0.809 0.039 359.067);
  --accent-foreground: oklch(0.284 0.042 1.839);
  --destructive: oklch(0.387 0.154 28.59);
  --destructive-foreground: oklch(0.861 0.07 18.599);
  --ring: oklch(0.942 0.022 358.38);
  --chart-1: oklch(0.942 0.022 358.38);
  --chart-2: oklch(0.883 0.017 358.25);
  --chart-3: oklch(0.809 0.039 359.067);
  --chart-4: oklch(0.908 0.013 358.121);
  --chart-5: oklch(0.942 0.023 358.412);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.014 357.497);
  --foreground: oklch(0.974 0.005 357.857);
  --muted: oklch(0.15 0.018 0.429);
  --muted-foreground: oklch(0.677 0.028 358.852);
  --popover: oklch(0.084 0.014 357.497);
  --popover-foreground: oklch(0.974 0.005 357.857);
  --card: oklch(0.106 0.018 357.497);
  --card-foreground: oklch(0.983 0.003 357.808);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.942 0.022 358.38);
  --primary-foreground: oklch(0.432 0.145 9.306);
  --secondary: oklch(0.24 0.017 359.725);
  --secondary-foreground: oklch(0.775 0.027 358.683);
  --accent: oklch(0.316 0.035 0.742);
  --accent-foreground: oklch(0.84 0.024 358.524);
  --destructive: oklch(0.572 0.231 28.889);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.942 0.022 358.38);
  --chart-1: oklch(0.942 0.022 358.38);
  --chart-2: oklch(0.24 0.017 359.725);
  --chart-3: oklch(0.316 0.035 0.742);
  --chart-4: oklch(0.27 0.021 359.848);
  --chart-5: oklch(0.942 0.023 358.412);
}