Appetite for shadcn/ui

Appetite is a shadcn/ui theme built around a muted teal primary color (#b0bfbe) with muted red accents (#bfb0b1). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#b0bfbe) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010404black
#f8fcfbmintcream
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#fbfdfdwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#000000black
#fbfdfdwhite
Primary
#b0bfbesilver
#b0bfbesilver
Primary foreground
#1b2221black
#1b2221black
Secondary
#bfb0b1silver
#bfb0b1silver
Secondary foreground
#221b1cblack
#221b1cblack
Muted
#ebe0e1gainsboro
#1f1415black
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#bfb0b1silver
#bfb0b1silver
Accent foreground
#221b1cblack
#221b1cblack
Destructive
#ac1302firebrick
#f71b02red
Destructive foreground
#ffe4e1mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b0bfbesilver
#b0bfbesilver

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.54:1AAA
Primary button8.53:1AAA
Secondary button8.09:1AAA
Muted text6.55:1AA
Accent8.09:1AAA
Destructive6.14:1AA
Dark mode
Text on background20.30:1AAA
Text on card20.25:1AAA
Primary button8.53:1AAA
Secondary button8.09:1AAA
Muted text8.56:1AAA
Accent8.09:1AAA
Destructive4.09:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.101 0.013 189.193);
  --muted: oklch(0.916 0.012 10.384);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.794 0.017 189.573);
  --primary-foreground: oklch(0.245 0.01 189.144);
  --secondary: oklch(0.77 0.018 10.614);
  --secondary-foreground: oklch(0.231 0.011 11.127);
  --accent: oklch(0.77 0.018 10.614);
  --accent-foreground: oklch(0.231 0.011 11.127);
  --destructive: oklch(0.473 0.185 30.572);
  --destructive-foreground: oklch(0.939 0.03 25.281);
  --ring: oklch(0.794 0.017 189.573);
  --chart-1: oklch(0.794 0.017 189.573);
  --chart-2: oklch(0.77 0.018 10.614);
  --chart-3: oklch(0.77 0.018 10.614);
  --chart-4: oklch(0.795 0.016 10.537);
  --chart-5: oklch(0.797 0.022 189.44);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.988 0.004 189.982);
  --muted: oklch(0.206 0.019 12.167);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.994 0.002 190.03);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.994 0.002 190.03);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.794 0.017 189.573);
  --primary-foreground: oklch(0.245 0.01 189.144);
  --secondary: oklch(0.77 0.018 10.614);
  --secondary-foreground: oklch(0.231 0.011 11.127);
  --accent: oklch(0.77 0.018 10.614);
  --accent-foreground: oklch(0.231 0.011 11.127);
  --destructive: oklch(0.62 0.246 30.269);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.794 0.017 189.573);
  --chart-1: oklch(0.794 0.017 189.573);
  --chart-2: oklch(0.77 0.018 10.614);
  --chart-3: oklch(0.77 0.018 10.614);
  --chart-4: oklch(0.795 0.016 10.537);
  --chart-5: oklch(0.797 0.022 189.44);
}