Chicken is a shadcn/ui theme built around a muted deep yellow primary color (#100f09) with muted deep blue accents (#090a10). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the muted deep yellow primary (#100f09) on a yellow-tinted background (#0e0d06).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf8snow | #0e0d06black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfbf8snow | #0e0d06black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfbf8snow | #0e0d06black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #100f09black | #100f09black |
| Primary foreground | #bfb78dtan | #bfb78dtan |
| Secondary | #090a10black | #090a10black |
| Secondary foreground | #8d94bfdarkgray | #8d94bfdarkgray |
| Muted | #e7e9f4lavender | #0b0d18black |
| Muted foreground | #474747darkslategray | #b8b8b8silver |
| Accent | #090a10black | #090a10black |
| Accent foreground | #8d94bfdarkgray | #8d94bfdarkgray |
| Destructive | #8a220adarkred | #ef522etomato |
| Destructive foreground | #fbd4cbbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #100f09black | #100f09black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.33:1 | AAA |
| Text on card | 20.33:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 6.69:1 | AA |
| Muted text | 7.64:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 6.69:1 | AA |
| Muted text | 9.74:1 | AAA |
| Accent | 6.69:1 | AA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Chicken in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 98.384);
--foreground: oklch(0 0 0);
--muted: oklch(0.934 0.015 278.077);
--muted-foreground: oklch(0.399 0 180);
--popover: oklch(0.989 0.005 98.384);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.005 98.384);
--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.169 0.012 99.21);
--primary-foreground: oklch(0.776 0.058 99.206);
--secondary: oklch(0.148 0.013 276.712);
--secondary-foreground: oklch(0.677 0.063 276.778);
--accent: oklch(0.148 0.013 276.712);
--accent-foreground: oklch(0.677 0.063 276.778);
--destructive: oklch(0.419 0.143 33.52);
--destructive-foreground: oklch(0.9 0.046 32.764);
--ring: oklch(0.169 0.012 99.21);
--chart-1: oklch(0.169 0.012 99.21);
--chart-2: oklch(0.148 0.013 276.712);
--chart-3: oklch(0.148 0.013 276.712);
--chart-4: oklch(0.178 0.02 276.403);
--chart-5: oklch(0.17 0.013 99.301);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.016 100.088);
--foreground: oklch(1 0 180);
--muted: oklch(0.164 0.024 275.78);
--muted-foreground: oklch(0.781 0 180);
--popover: oklch(0.159 0.016 100.088);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.159 0.016 100.088);
--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.169 0.012 99.21);
--primary-foreground: oklch(0.776 0.058 99.206);
--secondary: oklch(0.148 0.013 276.712);
--secondary-foreground: oklch(0.677 0.063 276.778);
--accent: oklch(0.148 0.013 276.712);
--accent-foreground: oklch(0.677 0.063 276.778);
--destructive: oklch(0.649 0.2 34.038);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.169 0.012 99.21);
--chart-1: oklch(0.169 0.012 99.21);
--chart-2: oklch(0.148 0.013 276.712);
--chart-3: oklch(0.148 0.013 276.712);
--chart-4: oklch(0.178 0.02 276.403);
--chart-5: oklch(0.17 0.013 99.301);
}