Wicked for shadcn/ui

Wicked is a shadcn/ui theme built around a pink primary color (#811d3e) with muted light pink accents (#c8bcc0). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#811d3e) on a pink-tinted background (#0c0406).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0406black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#0c0406black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#0c0406black
Popover foreground
#000000black
#ffffffwhite
Primary
#811d3ebrown
#811d3ebrown
Primary foreground
#f7dae3mistyrose
#f7dae3mistyrose
Secondary
#d3cfd0lightgrey
#191516black
Secondary foreground
#3a3637darkslategray
#b8a8addarkgray
Muted
#f1e0e5mistyrose
#1f0e14black
Muted foreground
#483d41darkslategray
#c2b7bbsilver
Accent
#c8bcc0silver
#39282edarkslategray
Accent foreground
#2d2527darkslategray
#d3c0c6thistle
Destructive
#941810darkred
#ec5146tomato
Destructive foreground
#fbdcdamistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#811d3ebrown
#811d3ebrown

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.38:1AAA
Secondary button7.73:1AAA
Muted text8.15:1AAA
Accent8.09:1AAA
Destructive6.83:1AA
Dark mode
Text on background20.31:1AAA
Text on card20.31:1AAA
Primary button7.38:1AAA
Secondary button7.97:1AAA
Muted text9.50:1AAA
Accent8.01:1AAA
Destructive3.60:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.921 0.02 355.206);
  --muted-foreground: oklch(0.372 0.016 355.778);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.407 0.136 5.804);
  --primary-foreground: oklch(0.914 0.034 355.646);
  --secondary: oklch(0.859 0.004 354.734);
  --secondary-foreground: oklch(0.337 0.007 355.161);
  --accent: oklch(0.805 0.015 355.115);
  --accent-foreground: oklch(0.274 0.013 355.931);
  --destructive: oklch(0.43 0.159 29.496);
  --destructive-foreground: oklch(0.92 0.034 22.668);
  --ring: oklch(0.407 0.136 5.804);
  --chart-1: oklch(0.407 0.136 5.804);
  --chart-2: oklch(0.859 0.004 354.734);
  --chart-3: oklch(0.805 0.015 355.115);
  --chart-4: oklch(0.883 0.004 354.706);
  --chart-5: oklch(0.409 0.14 6.455);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.021 354.461);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.193 0.03 358.891);
  --muted-foreground: oklch(0.79 0.013 355.056);
  --popover: oklch(0.122 0.021 354.461);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.122 0.021 354.461);
  --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.407 0.136 5.804);
  --primary-foreground: oklch(0.914 0.034 355.646);
  --secondary: oklch(0.2 0.008 355.706);
  --secondary-foreground: oklch(0.747 0.02 355.335);
  --accent: oklch(0.299 0.028 357.142);
  --accent-foreground: oklch(0.825 0.023 355.391);
  --destructive: oklch(0.645 0.192 27.792);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.407 0.136 5.804);
  --chart-1: oklch(0.407 0.136 5.804);
  --chart-2: oklch(0.2 0.008 355.706);
  --chart-3: oklch(0.299 0.028 357.142);
  --chart-4: oklch(0.232 0.01 355.825);
  --chart-5: oklch(0.409 0.14 6.455);
}