Meaty for shadcn/ui

Meaty is a shadcn/ui theme built around a purple primary color (#e798d6) with muted light purple accents (#e5e1e4). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the purple primary (#e798d6) on a purple-tinted background (#0e070c).

Color palette

TokenLightDark
Background
#fcf8fbsnow
#0e070cblack
Foreground
#0e020bblack
#faf5f9whitesmoke
Card
#fcf8fbsnow
#0e070cblack
Card foreground
#0e020bblack
#faf5f9whitesmoke
Popover
#fcf8fbsnow
#0e070cblack
Popover foreground
#0e020bblack
#faf5f9whitesmoke
Primary
#e798d6plum
#e798d6plum
Primary foreground
#3e0f34darkslategray
#3e0f34darkslategray
Secondary
#e5e1e4gainsboro
#281f26black
Secondary foreground
#50444ddarkslategray
#c5b5c1silver
Muted
#e9e2e8gainsboro
#1d161cblack
Muted foreground
#61515edimgray
#ae9eaadarkgray
Accent
#e5e1e4gainsboro
#281f26black
Accent foreground
#50444ddarkslategray
#c5b5c1silver
Destructive
#b42a04firebrick
#e63505orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e798d6plum
#e798d6plum

Contrast

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

Light mode
Text on background19.32:1AAA
Text on card19.32:1AAA
Primary button7.43:1AAA
Secondary button7.12:1AAA
Muted text5.78:1AA
Accent7.12:1AAA
Destructive6.42:1AA
Dark mode
Text on background18.51:1AAA
Text on card18.51:1AAA
Primary button7.43:1AAA
Secondary button8.15:1AAA
Muted text6.99:1AA
Accent8.15:1AAA
Destructive4.30:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.006 332.707);
  --foreground: oklch(0.12 0.039 334.543);
  --muted: oklch(0.92 0.011 332.81);
  --muted-foreground: oklch(0.456 0.029 333.562);
  --popover: oklch(0.983 0.006 332.707);
  --popover-foreground: oklch(0.12 0.039 334.543);
  --card: oklch(0.983 0.006 332.707);
  --card-foreground: oklch(0.12 0.039 334.543);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.777 0.123 334.897);
  --primary-foreground: oklch(0.263 0.089 337.591);
  --secondary: oklch(0.913 0.007 332.731);
  --secondary-foreground: oklch(0.402 0.022 333.436);
  --accent: oklch(0.913 0.007 332.731);
  --accent-foreground: oklch(0.402 0.022 333.436);
  --destructive: oklch(0.505 0.179 34.002);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.777 0.123 334.897);
  --chart-1: oklch(0.777 0.123 334.897);
  --chart-2: oklch(0.913 0.007 332.731);
  --chart-3: oklch(0.913 0.007 332.731);
  --chart-4: oklch(0.937 0.005 332.697);
  --chart-5: oklch(0.776 0.129 335.002);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.018 333.981);
  --foreground: oklch(0.974 0.008 332.743);
  --muted: oklch(0.211 0.017 333.789);
  --muted-foreground: oklch(0.716 0.026 333.163);
  --popover: oklch(0.14 0.018 333.981);
  --popover-foreground: oklch(0.974 0.008 332.743);
  --card: oklch(0.14 0.018 333.981);
  --card-foreground: oklch(0.974 0.008 332.743);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.777 0.123 334.897);
  --primary-foreground: oklch(0.263 0.089 337.591);
  --secondary: oklch(0.254 0.018 333.663);
  --secondary-foreground: oklch(0.789 0.025 333.097);
  --accent: oklch(0.254 0.018 333.663);
  --accent-foreground: oklch(0.789 0.025 333.097);
  --destructive: oklch(0.604 0.217 33.624);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.777 0.123 334.897);
  --chart-1: oklch(0.777 0.123 334.897);
  --chart-2: oklch(0.254 0.018 333.663);
  --chart-3: oklch(0.254 0.018 333.663);
  --chart-4: oklch(0.284 0.021 333.716);
  --chart-5: oklch(0.776 0.129 335.002);
}