Lip for shadcn/ui

Lip is a shadcn/ui theme built around a deep pink primary color (#5b1f45) with deep red accents (#5b1f27). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep pink primary (#5b1f45) on a neutral background (#030203).

Color palette

TokenLightDark
Background
#ffffffwhite
#030203black
Foreground
#080206black
#fbf9fasnow
Card
#ffffffwhite
#030203black
Card foreground
#080206black
#fbf9fasnow
Popover
#ffffffwhite
#030203black
Popover foreground
#080206black
#fbf9fasnow
Primary
#5b1f45darkslategray
#5b1f45darkslategray
Primary foreground
#eac2dcthistle
#eac2dcthistle
Secondary
#531f5bindigo
#531f5bindigo
Secondary foreground
#e5c2eathistle
#e5c2eathistle
Muted
#f1e8f2lavender
#160d17black
Muted foreground
#5c4f5fdimgray
#aea0b0darkgray
Accent
#5b1f27maroon
#5b1f27maroon
Accent foreground
#eac2c8pink
#eac2c8pink
Destructive
#c33704firebrick
#e13f05orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5b1f45darkslategray
#5b1f45darkslategray

Contrast

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

Light mode
Text on background20.55:1AAA
Text on card20.55:1AAA
Primary button7.65:1AAA
Secondary button7.69:1AAA
Muted text6.41:1AA
Accent7.79:1AAA
Destructive5.43:1AA
Dark mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button7.65:1AAA
Secondary button7.69:1AAA
Muted text7.67:1AAA
Accent7.79:1AAA
Destructive4.26:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.108 0.02 338.963);
  --muted: oklch(0.941 0.016 321.64);
  --muted-foreground: oklch(0.446 0.03 321.777);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.108 0.02 338.963);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.108 0.02 338.963);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.345 0.1 344.667);
  --primary-foreground: oklch(0.857 0.056 340.068);
  --secondary: oklch(0.345 0.114 322.127);
  --secondary-foreground: oklch(0.857 0.066 321.8);
  --accent: oklch(0.334 0.088 15.242);
  --accent-foreground: oklch(0.851 0.046 9.063);
  --destructive: oklch(0.544 0.184 36.117);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.345 0.1 344.667);
  --chart-1: oklch(0.345 0.1 344.667);
  --chart-2: oklch(0.345 0.114 322.127);
  --chart-3: oklch(0.334 0.088 15.242);
  --chart-4: oklch(0.373 0.125 322.122);
  --chart-5: oklch(0.346 0.105 345.023);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.088 0.01 338.882);
  --foreground: oklch(0.984 0.003 338.779);
  --muted: oklch(0.175 0.024 321.946);
  --muted-foreground: oklch(0.724 0.027 321.695);
  --popover: oklch(0.088 0.01 338.882);
  --popover-foreground: oklch(0.984 0.003 338.779);
  --card: oklch(0.088 0.01 338.882);
  --card-foreground: oklch(0.984 0.003 338.779);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.345 0.1 344.667);
  --primary-foreground: oklch(0.857 0.056 340.068);
  --secondary: oklch(0.345 0.114 322.127);
  --secondary-foreground: oklch(0.857 0.066 321.8);
  --accent: oklch(0.334 0.088 15.242);
  --accent-foreground: oklch(0.851 0.046 9.063);
  --destructive: oklch(0.604 0.206 35.853);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.345 0.1 344.667);
  --chart-1: oklch(0.345 0.1 344.667);
  --chart-2: oklch(0.345 0.114 322.127);
  --chart-3: oklch(0.334 0.088 15.242);
  --chart-4: oklch(0.373 0.125 322.122);
  --chart-5: oklch(0.346 0.105 345.023);
}