Overcooked is a shadcn/ui theme built around a vivid deep blue primary color (#000419) with vivid deep violet accents (#090019). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the vivid deep blue primary (#000419) on a neutral background (#020308).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f8fcghostwhite | #020308black |
| Foreground | #04050cblack | #fcfcfdwhite |
| Card | #f4f5fbwhitesmoke | #04050cblack |
| Card foreground | #020308black | #ffffffwhite |
| Popover | #f4f5fbwhitesmoke | #04050cblack |
| Popover foreground | #020308black | #ffffffwhite |
| Primary | #000419black | #000419black |
| Primary foreground | #b3befflightsteelblue | #b3befflightsteelblue |
| Secondary | #001119black | #001119black |
| Secondary foreground | #4dc0fecornflowerblue | #4dc0fecornflowerblue |
| Muted | #d3dee3gainsboro | #1c262cdarkslategray |
| Muted foreground | #626464dimgray | #9b9c9ddarkgray |
| Accent | #090019black | #090019black |
| Accent foreground | #cdb3ffplum | #cdb3ffplum |
| Destructive | #ad390bfirebrick | #dd490eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #000419black | #000419black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 11.36:1 | AAA |
| Secondary button | 9.42:1 | AAA |
| Muted text | 4.34:1 | AA Large |
| Accent | 11.19:1 | AAA |
| Destructive | 6.26:1 | AA |
| Text on background | 20.06:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 11.36:1 | AAA |
| Secondary button | 9.42:1 | AAA |
| Muted text | 5.60:1 | AA |
| Accent | 11.19:1 | AAA |
| Destructive | 4.19:1 | AA Large |
Paste this into your globals.css to use Overcooked in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 278.241);
--foreground: oklch(0.116 0.019 272.371);
--muted: oklch(0.893 0.013 230.869);
--muted-foreground: oklch(0.501 0.002 230.713);
--popover: oklch(0.971 0.008 278.2);
--popover-foreground: oklch(0.101 0.016 272.304);
--card: oklch(0.971 0.008 278.2);
--card-foreground: oklch(0.101 0.016 272.304);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.119 0.053 262);
--primary-foreground: oklch(0.817 0.092 276.43);
--secondary: oklch(0.164 0.032 229.878);
--secondary-foreground: oklch(0.769 0.135 236.071);
--accent: oklch(0.118 0.063 298.482);
--accent-foreground: oklch(0.816 0.108 300.082);
--destructive: oklch(0.507 0.159 38.16);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.119 0.053 262);
--chart-1: oklch(0.119 0.053 262);
--chart-2: oklch(0.164 0.032 229.878);
--chart-3: oklch(0.118 0.063 298.482);
--chart-4: oklch(0.207 0.044 234.85);
--chart-5: oklch(0.118 0.055 260.804);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.016 272.616);
--foreground: oklch(0.992 0.001 278.307);
--muted: oklch(0.262 0.018 231.806);
--muted-foreground: oklch(0.691 0.002 230.695);
--popover: oklch(0.117 0.018 272.675);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.117 0.018 272.675);
--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.119 0.053 262);
--primary-foreground: oklch(0.817 0.092 276.43);
--secondary: oklch(0.164 0.032 229.878);
--secondary-foreground: oklch(0.769 0.135 236.071);
--accent: oklch(0.118 0.063 298.482);
--accent-foreground: oklch(0.816 0.108 300.082);
--destructive: oklch(0.606 0.194 37.799);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.119 0.053 262);
--chart-1: oklch(0.119 0.053 262);
--chart-2: oklch(0.164 0.032 229.878);
--chart-3: oklch(0.118 0.063 298.482);
--chart-4: oklch(0.207 0.044 234.85);
--chart-5: oklch(0.118 0.055 260.804);
}