Creepy for shadcn/ui

Creepy is a shadcn/ui theme built around a muted blue primary color (#94a0b3) with muted light blue accents (#bbc4d3). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#94a0b3) on a blue-tinted background (#04070b).

Color palette

TokenLightDark
Background
#ffffffwhite
#04070bblack
Foreground
#04070cblack
#f5f7f9whitesmoke
Card
#ffffffwhite
#04070bblack
Card foreground
#04070cblack
#f5f7f9whitesmoke
Popover
#ffffffwhite
#04070bblack
Popover foreground
#04070cblack
#f5f7f9whitesmoke
Primary
#94a0b3darkgray
#94a0b3darkgray
Primary foreground
#080a0cblack
#080a0cblack
Secondary
#d0d5dclightgrey
#282f39darkslategray
Secondary foreground
#343b46darkslategray
#c0c7d3lightsteelblue
Muted
#d7dce4gainsboro
#1b2028black
Muted foreground
#5b6371dimgray
#8e96a4lightslategray
Accent
#bbc4d3lightsteelblue
#344156darkslategray
Accent foreground
#242c38darkslategray
#d6dce6gainsboro
Destructive
#be170efirebrick
#ed1d12red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#94a0b3darkgray
#94a0b3darkgray

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card20.17:1AAA
Primary button7.45:1AAA
Secondary button7.64:1AAA
Muted text4.40:1AA Large
Accent8.00:1AAA
Destructive6.34:1AA
Dark mode
Text on background18.80:1AAA
Text on card18.80:1AAA
Primary button7.45:1AAA
Secondary button7.97:1AAA
Muted text5.51:1AA
Accent7.50:1AAA
Destructive4.38:1AA Large

CSS variables

Paste this into your globals.css to use Creepy in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.125 0.015 252.607);
  --muted: oklch(0.894 0.012 259.945);
  --muted-foreground: oklch(0.499 0.025 259.919);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.125 0.015 252.607);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.125 0.015 252.607);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.701 0.031 259.926);
  --primary-foreground: oklch(0.143 0.005 258.699);
  --secondary: oklch(0.871 0.012 259.945);
  --secondary-foreground: oklch(0.351 0.022 259.893);
  --accent: oklch(0.818 0.024 259.942);
  --accent-foreground: oklch(0.289 0.025 259.831);
  --destructive: oklch(0.511 0.198 29.363);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.701 0.031 259.926);
  --chart-1: oklch(0.701 0.031 259.926);
  --chart-2: oklch(0.871 0.012 259.945);
  --chart-3: oklch(0.818 0.024 259.942);
  --chart-4: oklch(0.895 0.009 259.944);
  --chart-5: oklch(0.699 0.037 259.913);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.013 253.293);
  --foreground: oklch(0.975 0.004 259.938);
  --muted: oklch(0.24 0.017 259.871);
  --muted-foreground: oklch(0.672 0.023 259.939);
  --popover: oklch(0.125 0.013 253.293);
  --popover-foreground: oklch(0.975 0.004 259.938);
  --card: oklch(0.125 0.013 253.293);
  --card-foreground: oklch(0.975 0.004 259.938);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.701 0.031 259.926);
  --primary-foreground: oklch(0.143 0.005 258.699);
  --secondary: oklch(0.302 0.02 259.882);
  --secondary-foreground: oklch(0.829 0.017 259.946);
  --accent: oklch(0.372 0.041 259.769);
  --accent-foreground: oklch(0.892 0.016 259.946);
  --destructive: oklch(0.603 0.236 29.418);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.701 0.031 259.926);
  --chart-1: oklch(0.701 0.031 259.926);
  --chart-2: oklch(0.302 0.02 259.882);
  --chart-3: oklch(0.372 0.041 259.769);
  --chart-4: oklch(0.33 0.023 259.877);
  --chart-5: oklch(0.699 0.037 259.913);
}