Kitchen is a shadcn/ui theme built around a deep green primary color (#0d1c08) with muted light green accents (#e2e6e0). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the deep green primary (#0d1c08) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #040703black |
| Foreground | #071004black | #ffffffwhite |
| Card | #f5fcf3honeydew | #060b04black |
| Card foreground | #060c03black | #ffffffwhite |
| Popover | #f8fdf7mintcream | #040703black |
| Popover foreground | #071004black | #ffffffwhite |
| Primary | #0d1c08black | #0d1c08black |
| Primary foreground | #59bb35limegreen | #59bb35limegreen |
| Secondary | #e2e6e0gainsboro | #303a2cdarkslategray |
| Secondary foreground | #465143darkslategray | #c9d3c5lightgrey |
| Muted | #f0f6eewhitesmoke | #0b1109black |
| Muted foreground | #5d7057dimgray | #96a88fdarkseagreen |
| Accent | #e2e6e0gainsboro | #303a2cdarkslategray |
| Accent foreground | #465143darkslategray | #c9d3c5lightgrey |
| Destructive | #c34d09chocolate | #f46715chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d1c08black | #0d1c08black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.79:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 7.24:1 | AAA |
| Secondary button | 6.58:1 | AA |
| Muted text | 4.88:1 | AA |
| Accent | 6.58:1 | AA |
| Destructive | 4.78:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 7.24:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 7.56:1 | AAA |
| Accent | 7.69:1 | AAA |
| Destructive | 6.79:1 | AA |
Paste this into your globals.css to use Kitchen in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 137.211);
--foreground: oklch(0.16 0.03 136.159);
--muted: oklch(0.967 0.012 137.219);
--muted-foreground: oklch(0.523 0.046 137.417);
--popover: oklch(0.989 0.009 137.211);
--popover-foreground: oklch(0.16 0.03 136.159);
--card: oklch(0.983 0.014 137.222);
--card-foreground: oklch(0.143 0.025 135.569);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.206 0.042 137.848);
--primary-foreground: oklch(0.706 0.193 138.762);
--secondary: oklch(0.919 0.009 137.211);
--secondary-foreground: oklch(0.422 0.028 137.354);
--accent: oklch(0.919 0.009 137.211);
--accent-foreground: oklch(0.422 0.028 137.354);
--destructive: oklch(0.57 0.165 43.109);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.206 0.042 137.848);
--chart-1: oklch(0.206 0.042 137.848);
--chart-2: oklch(0.919 0.009 137.211);
--chart-3: oklch(0.919 0.009 137.211);
--chart-4: oklch(0.942 0.006 137.205);
--chart-5: oklch(0.208 0.044 137.844);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.017 135.86);
--foreground: oklch(1 0 180);
--muted: oklch(0.167 0.019 137.374);
--muted-foreground: oklch(0.711 0.043 137.338);
--popover: oklch(0.123 0.017 135.86);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.019 135.893);
--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.206 0.042 137.848);
--primary-foreground: oklch(0.706 0.193 138.762);
--secondary: oklch(0.335 0.028 137.408);
--secondary-foreground: oklch(0.855 0.023 137.252);
--accent: oklch(0.335 0.028 137.408);
--accent-foreground: oklch(0.855 0.023 137.252);
--destructive: oklch(0.681 0.191 43.984);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.206 0.042 137.848);
--chart-1: oklch(0.206 0.042 137.848);
--chart-2: oklch(0.335 0.028 137.408);
--chart-3: oklch(0.335 0.028 137.408);
--chart-4: oklch(0.366 0.032 137.415);
--chart-5: oklch(0.208 0.044 137.844);
}