Lunchmeat for shadcn/ui

Lunchmeat is a shadcn/ui theme built around a muted green primary color (#63875e) with muted red accents (#875e63). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#63875e) on a green-tinted background (#050a05).

Color palette

TokenLightDark
Background
#ffffffwhite
#050a05black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#050a05black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#050a05black
Popover foreground
#000000black
#ffffffwhite
Primary
#63875edimgray
#63875edimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#5e6387dimgray
#5e6387dimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d8dae8gainsboro
#171927black
Muted foreground
#404144darkslategray
#bbbbbfsilver
Accent
#875e63dimgray
#875e63dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d05411chocolate
#e75d13chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#63875edimgray
#63875edimgray

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button4.05:1AA Large
Secondary button5.81:1AA
Muted text7.36:1AAA
Accent5.49:1AA
Destructive4.25:1AA Large
Dark mode
Text on background19.91:1AAA
Text on card19.91:1AAA
Primary button4.05:1AA Large
Secondary button5.81:1AA
Muted text9.15:1AAA
Accent5.49:1AA
Destructive3.51:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.892 0.019 279.985);
  --muted-foreground: oklch(0.375 0.006 280.078);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.586 0.074 141.68);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.51 0.058 278.295);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.527 0.054 11.38);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.599 0.171 42.787);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.586 0.074 141.68);
  --chart-1: oklch(0.586 0.074 141.68);
  --chart-2: oklch(0.51 0.058 278.295);
  --chart-3: oklch(0.527 0.054 11.38);
  --chart-4: oklch(0.534 0.061 278.278);
  --chart-5: oklch(0.592 0.086 141.622);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.017 140.975);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.216 0.028 278.008);
  --muted-foreground: oklch(0.793 0.005 280.233);
  --popover: oklch(0.138 0.017 140.975);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.017 140.975);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.586 0.074 141.68);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.51 0.058 278.295);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.527 0.054 11.38);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.648 0.187 42.61);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.586 0.074 141.68);
  --chart-1: oklch(0.586 0.074 141.68);
  --chart-2: oklch(0.51 0.058 278.295);
  --chart-3: oklch(0.527 0.054 11.38);
  --chart-4: oklch(0.534 0.061 278.278);
  --chart-5: oklch(0.592 0.086 141.622);
}