Easter Egg Gorilla for shadcn/ui

Easter Egg Gorilla is a shadcn/ui theme built around a blue primary color (#9099d0) with yellow accents (#d0c790). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the blue primary (#9099d0) on a blue-tinted background (#06070f).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#06070fblack
Foreground
#000000black
#ffffffwhite
Card
#fbfbfeghostwhite
#06070fblack
Card foreground
#000000black
#ffffffwhite
Popover
#fbfbfeghostwhite
#06070fblack
Popover foreground
#000000black
#ffffffwhite
Primary
#9099d0mediumpurple
#9099d0mediumpurple
Primary foreground
#0e1020black
#0e1020black
Secondary
#d0c790tan
#d0c790tan
Secondary foreground
#201e0eblack
#201e0eblack
Muted
#f6f4ealinen
#151409black
Muted foreground
#6b6857dimgray
#a8a594darkgray
Accent
#d0c790tan
#d0c790tan
Accent foreground
#201e0eblack
#201e0eblack
Destructive
#9f1b04darkred
#ef2906orangered
Destructive foreground
#feddd7mistyrose
#ffffffwhite
Border
#eaeaeblavender
#18191bblack
Input
#eaeaeblavender
#18191bblack
Ring
#9099d0mediumpurple
#9099d0mediumpurple

Contrast

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

Light mode
Text on background20.37:1AAA
Text on card20.37:1AAA
Primary button6.85:1AA
Secondary button9.77:1AAA
Muted text5.09:1AA
Accent9.77:1AAA
Destructive6.26:1AA
Dark mode
Text on background20.12:1AAA
Text on card20.12:1AAA
Primary button6.85:1AA
Secondary button9.77:1AAA
Muted text7.46:1AAA
Accent9.77:1AAA
Destructive4.21:1AA Large

CSS variables

Paste this into your globals.css to use Easter Egg Gorilla in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 279.288);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.966 0.014 99.553);
  --muted-foreground: oklch(0.515 0.026 100.018);
  --popover: oklch(0.99 0.003 279.288);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.99 0.003 279.288);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.937 0.002 279.31);
  --input: oklch(0.937 0.002 279.31);
  --primary: oklch(0.696 0.081 277.313);
  --primary-foreground: oklch(0.181 0.033 275.95);
  --secondary: oklch(0.824 0.073 100.42);
  --secondary-foreground: oklch(0.232 0.028 100.642);
  --accent: oklch(0.824 0.073 100.42);
  --accent-foreground: oklch(0.232 0.028 100.642);
  --destructive: oklch(0.454 0.169 31.878);
  --destructive-foreground: oklch(0.923 0.038 29.664);
  --ring: oklch(0.696 0.081 277.313);
  --chart-1: oklch(0.696 0.081 277.313);
  --chart-2: oklch(0.824 0.073 100.42);
  --chart-3: oklch(0.824 0.073 100.42);
  --chart-4: oklch(0.841 0.066 100.327);
  --chart-5: oklch(0.692 0.087 277.12);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.131 0.019 275.056);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.189 0.02 100.573);
  --muted-foreground: oklch(0.72 0.024 99.806);
  --popover: oklch(0.131 0.019 275.056);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.131 0.019 275.056);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.213 0.003 279.091);
  --input: oklch(0.213 0.003 279.091);
  --primary: oklch(0.696 0.081 277.313);
  --primary-foreground: oklch(0.181 0.033 275.95);
  --secondary: oklch(0.824 0.073 100.42);
  --secondary-foreground: oklch(0.232 0.028 100.642);
  --accent: oklch(0.824 0.073 100.42);
  --accent-foreground: oklch(0.232 0.028 100.642);
  --destructive: oklch(0.611 0.232 31.465);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.696 0.081 277.313);
  --chart-1: oklch(0.696 0.081 277.313);
  --chart-2: oklch(0.824 0.073 100.42);
  --chart-3: oklch(0.824 0.073 100.42);
  --chart-4: oklch(0.841 0.066 100.327);
  --chart-5: oklch(0.692 0.087 277.12);
}