Barbeque for shadcn/ui

Barbeque is a shadcn/ui theme built around a muted green primary color (#8eaf9a) with muted pink accents (#af8ea2). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the muted green primary (#8eaf9a) on a neutral background (#010402).

Color palette

TokenLightDark
Background
#f7fdf9mintcream
#010402black
Foreground
#010402black
#f8fbfamintcream
Card
#f7fdf9mintcream
#010402black
Card foreground
#010402black
#f8fbfamintcream
Popover
#f7fdf9mintcream
#010402black
Popover foreground
#010402black
#f8fbfamintcream
Primary
#8eaf9adarkseagreen
#8eaf9adarkseagreen
Primary foreground
#040605black
#040605black
Secondary
#af8ea2rosybrown
#af8ea2rosybrown
Secondary foreground
#060405black
#060405black
Muted
#f2e4eclinen
#1b0d16black
Muted foreground
#494146darkslategray
#beb6bbsilver
Accent
#af8ea2rosybrown
#af8ea2rosybrown
Accent foreground
#060405black
#060405black
Destructive
#9f2f09saddlebrown
#f25926chocolate
Destructive foreground
#fde5ddmistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8eaf9adarkseagreen
#8eaf9adarkseagreen

Contrast

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

Light mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button8.42:1AAA
Secondary button6.99:1AA
Muted text8.00:1AAA
Accent6.99:1AA
Destructive6.04:1AA
Dark mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button8.42:1AAA
Secondary button6.99:1AA
Muted text9.47:1AAA
Accent6.99:1AA
Destructive6.25:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.007 159.31);
  --foreground: oklch(0.099 0.016 159.265);
  --muted: oklch(0.931 0.019 339.909);
  --muted-foreground: oklch(0.384 0.014 340.255);
  --popover: oklch(0.988 0.007 159.31);
  --popover-foreground: oklch(0.099 0.016 159.265);
  --card: oklch(0.988 0.007 159.31);
  --card-foreground: oklch(0.099 0.016 159.265);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.722 0.046 157.945);
  --primary-foreground: oklch(0.118 0.006 159.413);
  --secondary: oklch(0.682 0.049 340.971);
  --secondary-foreground: oklch(0.113 0.006 339.527);
  --accent: oklch(0.682 0.049 340.971);
  --accent-foreground: oklch(0.113 0.006 339.527);
  --destructive: oklch(0.472 0.154 36.301);
  --destructive-foreground: oklch(0.94 0.028 39.348);
  --ring: oklch(0.722 0.046 157.945);
  --chart-1: oklch(0.722 0.046 157.945);
  --chart-2: oklch(0.682 0.049 340.971);
  --chart-3: oklch(0.682 0.049 340.971);
  --chart-4: oklch(0.708 0.044 340.795);
  --chart-5: oklch(0.727 0.054 157.675);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.014 159.299);
  --foreground: oklch(0.987 0.004 159.377);
  --muted: oklch(0.185 0.028 342.597);
  --muted-foreground: oklch(0.785 0.012 339.795);
  --popover: oklch(0.098 0.014 159.299);
  --popover-foreground: oklch(0.987 0.004 159.377);
  --card: oklch(0.098 0.014 159.299);
  --card-foreground: oklch(0.987 0.004 159.377);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.722 0.046 157.945);
  --primary-foreground: oklch(0.118 0.006 159.413);
  --secondary: oklch(0.682 0.049 340.971);
  --secondary-foreground: oklch(0.113 0.006 339.527);
  --accent: oklch(0.682 0.049 340.971);
  --accent-foreground: oklch(0.113 0.006 339.527);
  --destructive: oklch(0.662 0.198 37.493);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.722 0.046 157.945);
  --chart-1: oklch(0.722 0.046 157.945);
  --chart-2: oklch(0.682 0.049 340.971);
  --chart-3: oklch(0.682 0.049 340.971);
  --chart-4: oklch(0.708 0.044 340.795);
  --chart-5: oklch(0.727 0.054 157.675);
}