Chicken for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.33:1AAA
Text on card20.33:1AAA
Primary button9.46:1AAA
Secondary button6.69:1AA
Muted text7.64:1AAA
Accent6.69:1AA
Destructive6.68:1AA
Dark mode
Text on background19.43:1AAA
Text on card19.43:1AAA
Primary button9.46:1AAA
Secondary button6.69:1AA
Muted text9.74:1AAA
Accent6.69:1AA
Destructive3.54:1AA Large

CSS variables

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);
}