Waitress for shadcn/ui

Waitress is a shadcn/ui theme built around a light yellow primary color (#ede1b6) with muted light yellow accents (#d2cfc6). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the light yellow primary (#ede1b6) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfbf7snow
#000000black
Foreground
#171203black
#fdfdfcwhite
Card
#fdfbf7snow
#000000black
Card foreground
#171203black
#fdfdfcwhite
Popover
#fdfbf7snow
#000000black
Popover foreground
#171203black
#fdfdfcwhite
Primary
#ede1b6wheat
#ede1b6wheat
Primary foreground
#5a4b16darkolivegreen
#5a4b16darkolivegreen
Secondary
#e7e6e4gainsboro
#201f1dblack
Secondary foreground
#504f49darkslategray
#bab9b5silver
Muted
#f5f4efwhitesmoke
#100f0ablack
Muted foreground
#4d4a3ddarkslategray
#c2bfb2silver
Accent
#d2cfc6lightgrey
#39362ddarkslategray
Accent foreground
#39362ddarkslategray
#d2cfc6lightgrey
Destructive
#8b0b09darkred
#f23431crimson
Destructive foreground
#fccbcapink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ede1b6wheat
#ede1b6wheat

Contrast

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

Light mode
Text on background18.11:1AAA
Text on card18.11:1AAA
Primary button6.52:1AA
Secondary button6.59:1AA
Muted text8.08:1AAA
Accent7.77:1AAA
Destructive6.75:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button6.52:1AA
Secondary button8.36:1AAA
Muted text10.42:1AAA
Accent7.70:1AAA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 93.929);
  --foreground: oklch(0.184 0.031 95.853);
  --muted: oklch(0.967 0.007 93.941);
  --muted-foreground: oklch(0.407 0.021 94.337);
  --popover: oklch(0.989 0.006 93.929);
  --popover-foreground: oklch(0.184 0.031 95.853);
  --card: oklch(0.989 0.006 93.929);
  --card-foreground: oklch(0.184 0.031 95.853);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.908 0.058 94.403);
  --primary-foreground: oklch(0.417 0.073 93.332);
  --secondary: oklch(0.925 0.003 93.897);
  --secondary-foreground: oklch(0.426 0.01 94.103);
  --accent: oklch(0.855 0.013 94.029);
  --accent-foreground: oklch(0.334 0.017 94.319);
  --destructive: oklch(0.405 0.159 28.69);
  --destructive-foreground: oklch(0.884 0.055 19.387);
  --ring: oklch(0.908 0.058 94.403);
  --chart-1: oklch(0.908 0.058 94.403);
  --chart-2: oklch(0.925 0.003 93.897);
  --chart-3: oklch(0.855 0.013 94.029);
  --chart-4: oklch(0.948 0.002 93.887);
  --chart-5: oklch(0.91 0.061 94.417);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 93.88);
  --muted: oklch(0.166 0.01 94.402);
  --muted-foreground: oklch(0.803 0.018 94.098);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 93.88);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.001 93.88);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.908 0.058 94.403);
  --primary-foreground: oklch(0.417 0.073 93.332);
  --secondary: oklch(0.24 0.004 94.026);
  --secondary-foreground: oklch(0.786 0.006 93.952);
  --accent: oklch(0.334 0.017 94.319);
  --accent-foreground: oklch(0.855 0.013 94.029);
  --destructive: oklch(0.626 0.225 27.353);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.908 0.058 94.403);
  --chart-1: oklch(0.908 0.058 94.403);
  --chart-2: oklch(0.24 0.004 94.026);
  --chart-3: oklch(0.334 0.017 94.319);
  --chart-4: oklch(0.273 0.004 94.036);
  --chart-5: oklch(0.91 0.061 94.417);
}