Icky for shadcn/ui

Icky is a shadcn/ui theme built around a deep purple primary color (#150514) with deep teal accents (#051415). The light mode uses a neutral background (#fdf7fd). Dark mode keeps the deep purple primary (#150514) on a purple-tinted background (#0a050a).

Color palette

TokenLightDark
Background
#fdf7fdsnow
#0a050ablack
Foreground
#10050fblack
#fdfbfdsnow
Card
#fcf3fblavenderblush
#0d070dblack
Card foreground
#0c040bblack
#ffffffwhite
Popover
#fcf3fblavenderblush
#0d070dblack
Popover foreground
#0c040bblack
#ffffffwhite
Primary
#150514black
#150514black
Primary foreground
#dc6fd9orchid
#dc6fd9orchid
Secondary
#141505black
#141505black
Secondary foreground
#b4b92dyellowgreen
#b4b92dyellowgreen
Muted
#ececdabeige
#252513black
Muted foreground
#5d5e50dimgray
#afafa1darkgray
Accent
#051415black
#051415black
Accent foreground
#2db4b9lightseagreen
#2db4b9lightseagreen
Destructive
#750e0amaroon
#e11a14crimson
Destructive foreground
#f9bbb9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#150514black
#150514black

Contrast

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

Light mode
Text on background18.92:1AAA
Text on card18.63:1AAA
Primary button6.88:1AA
Secondary button8.73:1AAA
Muted text5.52:1AA
Accent7.46:1AAA
Destructive7.02:1AAA
Dark mode
Text on background19.60:1AAA
Text on card19.92:1AAA
Primary button6.88:1AA
Secondary button8.73:1AAA
Muted text6.98:1AA
Accent7.46:1AAA
Destructive4.80:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.01 326.627);
  --foreground: oklch(0.139 0.031 328.152);
  --muted: oklch(0.938 0.025 108.414);
  --muted-foreground: oklch(0.476 0.022 108.755);
  --popover: oklch(0.973 0.015 326.671);
  --popover-foreground: oklch(0.125 0.027 327.979);
  --card: oklch(0.973 0.015 326.671);
  --card-foreground: oklch(0.125 0.027 327.979);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.151 0.041 328.567);
  --primary-foreground: oklch(0.705 0.186 328.577);
  --secondary: oklch(0.188 0.029 110.533);
  --secondary-foreground: oklch(0.757 0.154 111.516);
  --accent: oklch(0.178 0.022 198.199);
  --accent-foreground: oklch(0.704 0.11 198.495);
  --destructive: oklch(0.362 0.137 28.642);
  --destructive-foreground: oklch(0.847 0.072 20.954);
  --ring: oklch(0.151 0.041 328.567);
  --chart-1: oklch(0.151 0.041 328.567);
  --chart-2: oklch(0.188 0.029 110.533);
  --chart-3: oklch(0.178 0.022 198.199);
  --chart-4: oklch(0.24 0.041 110.865);
  --chart-5: oklch(0.151 0.044 328.655);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.016 327.381);
  --foreground: oklch(0.991 0.003 326.57);
  --muted: oklch(0.26 0.032 110.065);
  --muted-foreground: oklch(0.75 0.019 108.41);
  --popover: oklch(0.141 0.018 327.539);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.141 0.018 327.539);
  --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.151 0.041 328.567);
  --primary-foreground: oklch(0.705 0.186 328.577);
  --secondary: oklch(0.188 0.029 110.533);
  --secondary-foreground: oklch(0.757 0.154 111.516);
  --accent: oklch(0.178 0.022 198.199);
  --accent-foreground: oklch(0.704 0.11 198.495);
  --destructive: oklch(0.58 0.227 29.045);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.151 0.041 328.567);
  --chart-1: oklch(0.151 0.041 328.567);
  --chart-2: oklch(0.188 0.029 110.533);
  --chart-3: oklch(0.178 0.022 198.199);
  --chart-4: oklch(0.24 0.041 110.865);
  --chart-5: oklch(0.151 0.044 328.655);
}