Meaty for shadcn/ui

Meaty is a shadcn/ui theme built around a neutral gray primary color (#8a8f99) with neutral gray accents (#99948a). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#8a8f99) on a blue-tinted background (#03060c).

Color palette

TokenLightDark
Background
#ffffffwhite
#03060cblack
Foreground
#000000black
#f9f9fbghostwhite
Card
#ffffffwhite
#03060cblack
Card foreground
#000000black
#f9f9fbghostwhite
Popover
#ffffffwhite
#03060cblack
Popover foreground
#000000black
#f9f9fbghostwhite
Primary
#8a8f99lightslategray
#8a8f99lightslategray
Primary foreground
#000000black
#000000black
Secondary
#99948agray
#99948agray
Secondary foreground
#000000black
#000000black
Muted
#e9e3d8gainsboro
#272116black
Muted foreground
#6e6553dimgray
#aca291rosybrown
Accent
#99948agray
#99948agray
Accent foreground
#000000black
#000000black
Destructive
#6d2503maroon
#ed5007orangered
Destructive foreground
#fcc1a6lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8a8f99lightslategray
#8a8f99lightslategray

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 button6.46:1AA
Secondary button6.93:1AA
Muted text4.50:1AA
Accent6.93:1AA
Destructive6.96:1AA
Dark mode
Text on background19.25:1AAA
Text on card19.25:1AAA
Primary button6.46:1AA
Secondary button6.93:1AA
Muted text6.31:1AA
Accent6.93:1AA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.918 0.017 83.065);
  --muted-foreground: oklch(0.51 0.029 82.954);
  --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.649 0.016 262.993);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.667 0.016 83.061);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.667 0.016 83.061);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.369 0.11 40.894);
  --destructive-foreground: oklch(0.858 0.078 46.022);
  --ring: oklch(0.649 0.016 262.993);
  --chart-1: oklch(0.649 0.016 262.993);
  --chart-2: oklch(0.667 0.016 83.061);
  --chart-3: oklch(0.667 0.016 83.061);
  --chart-4: oklch(0.691 0.015 83.063);
  --chart-5: oklch(0.645 0.023 262.953);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.016 255.209);
  --foreground: oklch(0.983 0.003 263.049);
  --muted: oklch(0.252 0.022 82.671);
  --muted-foreground: oklch(0.716 0.027 83.036);
  --popover: oklch(0.123 0.016 255.209);
  --popover-foreground: oklch(0.983 0.003 263.049);
  --card: oklch(0.123 0.016 255.209);
  --card-foreground: oklch(0.983 0.003 263.049);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.649 0.016 262.993);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.667 0.016 83.061);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.667 0.016 83.061);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.642 0.204 38.781);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.649 0.016 262.993);
  --chart-1: oklch(0.649 0.016 262.993);
  --chart-2: oklch(0.667 0.016 83.061);
  --chart-3: oklch(0.667 0.016 83.061);
  --chart-4: oklch(0.691 0.015 83.063);
  --chart-5: oklch(0.645 0.023 262.953);
}