Waitress for shadcn/ui

Waitress is a shadcn/ui theme built around a muted pink primary color (#644a51) with muted teal accents (#4a645c). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#644a51) on a pink-tinted background (#0a0507).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0507black
Foreground
#0d0205black
#fdfcfcsnow
Card
#ffffffwhite
#0a0507black
Card foreground
#0d0205black
#fdfcfcsnow
Popover
#ffffffwhite
#0a0507black
Popover foreground
#0d0205black
#fdfcfcsnow
Primary
#644a51dimgray
#644a51dimgray
Primary foreground
#f2edefwhitesmoke
#f2edefwhitesmoke
Secondary
#4a645cdimgray
#4a645cdimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e7eeeclavender
#111816black
Muted foreground
#5a6c67dimgray
#93a59fdarkgray
Accent
#4a645cdimgray
#4a645cdimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#821603maroon
#fb5437tomato
Destructive foreground
#fec3b9lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#644a51dimgray
#644a51dimgray

Contrast

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

Light mode
Text on background20.42:1AAA
Text on card20.42:1AAA
Primary button6.89:1AA
Secondary button6.45:1AA
Muted text4.73:1AA
Accent6.45:1AA
Destructive6.65:1AA
Dark mode
Text on background19.75:1AAA
Text on card19.75:1AAA
Primary button6.89:1AA
Secondary button6.45:1AA
Muted text6.95:1AA
Accent6.45:1AA
Destructive6.43:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.117 0.029 356.764);
  --muted: oklch(0.944 0.009 176.385);
  --muted-foreground: oklch(0.516 0.023 175.29);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.117 0.029 356.764);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.117 0.029 356.764);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.438 0.037 358.995);
  --primary-foreground: oklch(0.951 0.005 356.817);
  --secondary: oklch(0.479 0.033 174.433);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.479 0.033 174.433);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.393 0.145 32.202);
  --destructive-foreground: oklch(0.868 0.069 29.961);
  --ring: oklch(0.438 0.037 358.995);
  --chart-1: oklch(0.438 0.037 358.995);
  --chart-2: oklch(0.479 0.033 174.433);
  --chart-3: oklch(0.479 0.033 174.433);
  --chart-4: oklch(0.508 0.036 174.408);
  --chart-5: oklch(0.436 0.045 359.484);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.012 356.509);
  --foreground: oklch(0.992 0.001 356.692);
  --muted: oklch(0.201 0.012 174.714);
  --muted-foreground: oklch(0.705 0.022 175.739);
  --popover: oklch(0.126 0.012 356.509);
  --popover-foreground: oklch(0.992 0.001 356.692);
  --card: oklch(0.126 0.012 356.509);
  --card-foreground: oklch(0.992 0.001 356.692);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.438 0.037 358.995);
  --primary-foreground: oklch(0.951 0.005 356.817);
  --secondary: oklch(0.479 0.033 174.433);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.479 0.033 174.433);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.671 0.207 32.362);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.438 0.037 358.995);
  --chart-1: oklch(0.438 0.037 358.995);
  --chart-2: oklch(0.479 0.033 174.433);
  --chart-3: oklch(0.479 0.033 174.433);
  --chart-4: oklch(0.508 0.036 174.408);
  --chart-5: oklch(0.436 0.045 359.484);
}