Overcooked for shadcn/ui

Overcooked is a shadcn/ui theme built around a neutral gray primary color (#e0e0e0) with neutral gray accents (#e0e0e0). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the neutral gray primary (#e0e0e0) on a red-tinted background (#0a0505).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#0a0505black
Foreground
#100505black
#fdfcfcsnow
Card
#fbf8f8snow
#0e0707black
Card foreground
#0c0303black
#ffffffwhite
Popover
#fdfcfcsnow
#0a0505black
Popover foreground
#100505black
#fdfcfcsnow
Primary
#e0e0e0gainsboro
#e0e0e0gainsboro
Primary foreground
#474747darkslategray
#474747darkslategray
Secondary
#e0e0e0gainsboro
#e0e0e0gainsboro
Secondary foreground
#474747darkslategray
#474747darkslategray
Muted
#f3e7e7linen
#180c0cblack
Muted foreground
#544a4adarkslategray
#b5ababdarkgray
Accent
#e0e0e0gainsboro
#e0e0e0gainsboro
Accent foreground
#474747darkslategray
#474747darkslategray
Destructive
#661105maroon
#f54e38tomato
Destructive foreground
#faada3lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e0e0e0gainsboro
#e0e0e0gainsboro

Contrast

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

Light mode
Text on background19.57:1AAA
Text on card19.36:1AAA
Primary button7.06:1AAA
Secondary button7.06:1AAA
Muted text7.10:1AAA
Accent7.06:1AAA
Destructive7.04:1AAA
Dark mode
Text on background19.77:1AAA
Text on card20.00:1AAA
Primary button7.06:1AAA
Secondary button7.06:1AAA
Muted text8.55:1AAA
Accent7.06:1AAA
Destructive3.48:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 17.185);
  --foreground: oklch(0.132 0.023 20.699);
  --muted: oklch(0.938 0.012 17.378);
  --muted-foreground: oklch(0.42 0.013 17.672);
  --popover: oklch(0.991 0.002 17.185);
  --popover-foreground: oklch(0.132 0.023 20.699);
  --card: oklch(0.983 0.003 17.213);
  --card-foreground: oklch(0.119 0.02 20.52);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.908 0 180);
  --primary-foreground: oklch(0.399 0 180);
  --secondary: oklch(0.908 0 180);
  --secondary-foreground: oklch(0.399 0 180);
  --accent: oklch(0.908 0 180);
  --accent-foreground: oklch(0.399 0 180);
  --destructive: oklch(0.332 0.12 31.279);
  --destructive-foreground: oklch(0.819 0.092 27.593);
  --ring: oklch(0.908 0 180);
  --chart-1: oklch(0.908 0 180);
  --chart-2: oklch(0.908 0 180);
  --chart-3: oklch(0.908 0 180);
  --chart-4: oklch(0.931 0 180);
  --chart-5: oklch(0.907 0.002 17.195);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.012 18.982);
  --foreground: oklch(0.991 0.002 17.184);
  --muted: oklch(0.171 0.02 19.323);
  --muted-foreground: oklch(0.75 0.011 17.4);
  --popover: oklch(0.124 0.012 18.982);
  --popover-foreground: oklch(0.991 0.002 17.184);
  --card: oklch(0.137 0.014 19.072);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.908 0 180);
  --primary-foreground: oklch(0.399 0 180);
  --secondary: oklch(0.908 0 180);
  --secondary-foreground: oklch(0.399 0 180);
  --accent: oklch(0.908 0 180);
  --accent-foreground: oklch(0.399 0 180);
  --destructive: oklch(0.655 0.206 30.733);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.908 0 180);
  --chart-1: oklch(0.908 0 180);
  --chart-2: oklch(0.908 0 180);
  --chart-3: oklch(0.908 0 180);
  --chart-4: oklch(0.931 0 180);
  --chart-5: oklch(0.907 0.002 17.195);
}