Overcooked is a shadcn/ui theme built around a vivid teal primary color (#73fcc5) with vivid orange accents (#fcc573). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid teal primary (#73fcc5) on a teal-tinted background (#040b08).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #040b08black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f8fcfamintcream | #040b08black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcfamintcream | #040b08black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #73fcc5aquamarine | #73fcc5aquamarine |
| Primary foreground | #013c24darkgreen | #013c24darkgreen |
| Secondary | #c573fcorchid | #c573fcorchid |
| Secondary foreground | #24013cmidnightblue | #24013cmidnightblue |
| Muted | #e4dfe7gainsboro | #1d1820black |
| Muted foreground | #685a72dimgray | #9b8da5darkgray |
| Accent | #fcc573lightsalmon | #fcc573lightsalmon |
| Accent foreground | #3c2401black | #3c2401black |
| Destructive | #99320asaddlebrown | #f26f3atomato |
| Destructive foreground | #fde3d9mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #73fcc5aquamarine | #73fcc5aquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 6.32:1 | AA |
| Muted text | 4.86:1 | AA |
| Accent | 9.27:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 6.32:1 | AA |
| Muted text | 5.59:1 | AA |
| Accent | 9.27:1 | AAA |
| Destructive | 7.10:1 | AAA |
Paste this into your globals.css to use Overcooked in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 170.473);
--foreground: oklch(0 0 0);
--muted: oklch(0.91 0.011 312.269);
--muted-foreground: oklch(0.49 0.042 311.717);
--popover: oklch(0.988 0.005 170.473);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.005 170.473);
--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.9 0.144 164.454);
--primary-foreground: oklch(0.315 0.071 159.764);
--secondary: oklch(0.702 0.204 309.839);
--secondary-foreground: oklch(0.209 0.104 306.543);
--accent: oklch(0.857 0.118 76.224);
--accent-foreground: oklch(0.285 0.06 72.194);
--destructive: oklch(0.466 0.145 38.354);
--destructive-foreground: oklch(0.933 0.032 42.86);
--ring: oklch(0.9 0.144 164.454);
--chart-1: oklch(0.9 0.144 164.454);
--chart-2: oklch(0.702 0.204 309.839);
--chart-3: oklch(0.857 0.118 76.224);
--chart-4: oklch(0.731 0.184 310.286);
--chart-5: oklch(0.905 0.148 164.265);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.014 170.717);
--foreground: oklch(1 0 180);
--muted: oklch(0.219 0.015 311.836);
--muted-foreground: oklch(0.664 0.039 311.919);
--popover: oklch(0.14 0.014 170.717);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.014 170.717);
--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.9 0.144 164.454);
--primary-foreground: oklch(0.315 0.071 159.764);
--secondary: oklch(0.702 0.204 309.839);
--secondary-foreground: oklch(0.209 0.104 306.543);
--accent: oklch(0.857 0.118 76.224);
--accent-foreground: oklch(0.285 0.06 72.194);
--destructive: oklch(0.691 0.175 40.795);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.9 0.144 164.454);
--chart-1: oklch(0.9 0.144 164.454);
--chart-2: oklch(0.702 0.204 309.839);
--chart-3: oklch(0.857 0.118 76.224);
--chart-4: oklch(0.731 0.184 310.286);
--chart-5: oklch(0.905 0.148 164.265);
}