Cooked is a shadcn/ui theme built around a muted green primary color (#7e9173) with muted pink accents (#91737e). The light mode uses a neutral background (#fcfefb). Dark mode keeps the muted green primary (#7e9173) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #000000black |
| Foreground | #000000black | #f9fbf8mintcream |
| Card | #f9fcf8mintcream | #030303black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #fcfefbwhite | #000000black |
| Popover foreground | #000000black | #f9fbf8mintcream |
| Primary | #7e9173gray | #7e9173gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #737e91slategray | #737e91slategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d8dce3gainsboro | #1c2027black |
| Muted foreground | #5b5f67dimgray | #989da4darkgray |
| Accent | #91737egray | #91737egray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8d2201darkred | #fd4912orangered |
| Destructive foreground | #fed0c2peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7e9173gray | #7e9173gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 4.09:1 | AA Large |
| Muted text | 4.67:1 | AA |
| Accent | 4.23:1 | AA Large |
| Destructive | 6.33:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 4.09:1 | AA Large |
| Muted text | 6.01:1 | AA |
| Accent | 4.23:1 | AA Large |
| Destructive | 3.43:1 | AA Large |
Paste this into your globals.css to use Cooked in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 133.627);
--foreground: oklch(0 0 0);
--muted: oklch(0.894 0.011 261.508);
--muted-foreground: oklch(0.486 0.013 261.485);
--popover: oklch(0.994 0.003 133.627);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.007 133.649);
--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.633 0.049 134.116);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.591 0.032 261.411);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.588 0.041 354.472);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.426 0.148 35.161);
--destructive-foreground: oklch(0.895 0.056 37.592);
--ring: oklch(0.633 0.049 134.116);
--chart-1: oklch(0.633 0.049 134.116);
--chart-2: oklch(0.591 0.032 261.411);
--chart-3: oklch(0.588 0.041 354.472);
--chart-4: oklch(0.618 0.03 261.43);
--chart-5: oklch(0.64 0.061 134.246);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.005 133.635);
--muted: oklch(0.241 0.015 261.381);
--muted-foreground: oklch(0.693 0.012 261.502);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.005 133.635);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.002 133.62);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.633 0.049 134.116);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.591 0.032 261.411);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.588 0.041 354.472);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.66 0.224 35.153);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.633 0.049 134.116);
--chart-1: oklch(0.633 0.049 134.116);
--chart-2: oklch(0.591 0.032 261.411);
--chart-3: oklch(0.588 0.041 354.472);
--chart-4: oklch(0.618 0.03 261.43);
--chart-5: oklch(0.64 0.061 134.246);
}