Barbeque for shadcn/ui

Barbeque is a shadcn/ui theme built around a vivid teal primary color (#28f0ae) with vivid pink accents (#f0286b). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the vivid teal primary (#28f0ae) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdfbmintcream
#000000black
Foreground
#010403black
#f9fbfamintcream
Card
#f3fcf9mintcream
#030303black
Card foreground
#000000black
#fcfdfdwhite
Popover
#f7fdfbmintcream
#000000black
Popover foreground
#010403black
#f9fbfamintcream
Primary
#28f0aeturquoise
#28f0aeturquoise
Primary foreground
#054831darkslategray
#054831darkslategray
Secondary
#f0286bdeeppink
#f0286bdeeppink
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ebdbe0gainsboro
#241419black
Muted foreground
#54454adarkslategray
#baabb0darkgray
Accent
#f0286bdeeppink
#f0286bdeeppink
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7b0e0amaroon
#ed2821crimson
Destructive foreground
#fabfbdlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#28f0aeturquoise
#28f0aeturquoise

Contrast

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

Light mode
Text on background19.96:1AAA
Text on card20.04:1AAA
Primary button7.16:1AAA
Secondary button4.01:1AA Large
Muted text6.76:1AA
Accent4.01:1AA Large
Destructive6.96:1AA
Dark mode
Text on background20.20:1AAA
Text on card20.29:1AAA
Primary button7.16:1AAA
Secondary button4.01:1AA Large
Muted text8.01:1AAA
Accent4.01:1AA Large
Destructive4.26:1AA Large

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.006 174.398);
  --foreground: oklch(0.1 0.013 174.853);
  --muted: oklch(0.906 0.019 355.172);
  --muted-foreground: oklch(0.407 0.022 356.117);
  --popover: oklch(0.988 0.006 174.398);
  --popover-foreground: oklch(0.1 0.013 174.853);
  --card: oklch(0.983 0.01 174.301);
  --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.849 0.175 163.697);
  --primary-foreground: oklch(0.355 0.073 163.959);
  --secondary: oklch(0.626 0.23 8.731);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.626 0.23 8.731);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.373 0.142 28.738);
  --destructive-foreground: oklch(0.857 0.068 20.847);
  --ring: oklch(0.849 0.175 163.697);
  --chart-1: oklch(0.849 0.175 163.697);
  --chart-2: oklch(0.626 0.23 8.731);
  --chart-3: oklch(0.626 0.23 8.731);
  --chart-4: oklch(0.639 0.222 6.84);
  --chart-5: oklch(0.857 0.179 163.357);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 174.543);
  --muted: oklch(0.216 0.027 358.044);
  --muted-foreground: oklch(0.755 0.019 355.301);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.002 174.543);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 174.565);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.849 0.175 163.697);
  --primary-foreground: oklch(0.355 0.073 163.959);
  --secondary: oklch(0.626 0.23 8.731);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.626 0.23 8.731);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.609 0.229 28.599);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.849 0.175 163.697);
  --chart-1: oklch(0.849 0.175 163.697);
  --chart-2: oklch(0.626 0.23 8.731);
  --chart-3: oklch(0.626 0.23 8.731);
  --chart-4: oklch(0.639 0.222 6.84);
  --chart-5: oklch(0.857 0.179 163.357);
}