Hungry for shadcn/ui

Hungry is a shadcn/ui theme built around a red primary color (#d54944) with orange accents (#d59144). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#d54944) on a neutral background (#080202).

Color palette

TokenLightDark
Background
#ffffffwhite
#080202black
Foreground
#0c0303black
#fcf8f8snow
Card
#ffffffwhite
#080202black
Card foreground
#0c0303black
#fcf8f8snow
Popover
#ffffffwhite
#080202black
Popover foreground
#0c0303black
#fcf8f8snow
Primary
#d54944indianred
#d54944indianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d54487palevioletred
#d54487palevioletred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8c9d8thistle
#361725black
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#d59144peru
#d59144peru
Accent foreground
#000000black
#000000black
Destructive
#982401darkred
#f43a01orangered
Destructive foreground
#ffd8ccbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d54944indianred
#d54944indianred

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.38:1AAA
Primary button4.33:1AA Large
Secondary button4.20:1AA Large
Muted text4.98:1AA
Accent7.95:1AAA
Destructive6.14:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button4.33:1AA Large
Secondary button4.20:1AA Large
Muted text7.01:1AAA
Accent7.95:1AAA
Destructive3.86:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.022 24.139);
  --muted: oklch(0.867 0.039 348.085);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.119 0.022 24.139);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.119 0.022 24.139);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.598 0.177 25.941);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.609 0.19 355.618);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.71 0.123 66.933);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.448 0.157 34.926);
  --destructive-foreground: oklch(0.912 0.046 37.598);
  --ring: oklch(0.598 0.177 25.941);
  --chart-1: oklch(0.598 0.177 25.941);
  --chart-2: oklch(0.609 0.19 355.618);
  --chart-3: oklch(0.71 0.123 66.933);
  --chart-4: oklch(0.63 0.18 354.571);
  --chart-5: oklch(0.6 0.184 26.289);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.017 23.455);
  --foreground: oklch(0.982 0.004 19.665);
  --muted: oklch(0.254 0.053 352.184);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0.105 0.017 23.455);
  --popover-foreground: oklch(0.982 0.004 19.665);
  --card: oklch(0.105 0.017 23.455);
  --card-foreground: oklch(0.982 0.004 19.665);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.598 0.177 25.941);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.609 0.19 355.618);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.71 0.123 66.933);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.631 0.227 33.956);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.598 0.177 25.941);
  --chart-1: oklch(0.598 0.177 25.941);
  --chart-2: oklch(0.609 0.19 355.618);
  --chart-3: oklch(0.71 0.123 66.933);
  --chart-4: oklch(0.63 0.18 354.571);
  --chart-5: oklch(0.6 0.184 26.289);
}