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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.57:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 7.06:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 7.10:1 | AAA |
| Accent | 7.06:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 19.77:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 7.06:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 8.55:1 | AAA |
| Accent | 7.06:1 | AAA |
| Destructive | 3.48:1 | AA Large |
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);
}