Trendy Pink Cat for shadcn/ui

Trendy Pink Cat is a shadcn/ui theme built around a muted purple primary color (#805b7d) with muted purple accents (#c5afc3). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted purple primary (#805b7d) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#fdfcfdwhite
Card
#ffffffwhite
#000000black
Card foreground
#000000black
#fdfcfdwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#fdfcfdwhite
Primary
#805b7ddimgray
#805b7ddimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d1c7d0lightgrey
#211c21black
Secondary foreground
#382e37darkslategray
#beb1bdsilver
Muted
#ecdaealavender
#251323black
Muted foreground
#554e54darkslategray
#b1aab0darkgray
Accent
#c5afc3silver
#392837darkslategray
Accent foreground
#261c25black
#d3c0d1thistle
Destructive
#911108darkred
#ed1b0cred
Destructive foreground
#fcd2cfpink
#ffffffwhite
Border
#ece9eclavender
#262225darkslategray
Input
#ece9eclavender
#262225darkslategray
Ring
#805b7ddimgray
#805b7ddimgray

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 button5.65:1AA
Secondary button7.93:1AAA
Muted text6.05:1AA
Accent8.08:1AAA
Destructive6.65:1AA
Dark mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button5.65:1AA
Secondary button8.15:1AAA
Muted text7.72:1AAA
Accent7.98:1AAA
Destructive4.39:1AA Large

CSS variables

Paste this into your globals.css to use Trendy Pink Cat in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.907 0.029 328.941);
  --muted-foreground: oklch(0.434 0.013 328.912);
  --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.938 0.004 328.639);
  --input: oklch(0.938 0.004 328.639);
  --primary: oklch(0.522 0.069 329.959);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.841 0.015 328.79);
  --secondary-foreground: oklch(0.316 0.019 329.248);
  --accent: oklch(0.779 0.037 329.106);
  --accent-foreground: oklch(0.243 0.024 329.625);
  --destructive: oklch(0.421 0.162 29.745);
  --destructive-foreground: oklch(0.898 0.049 22.896);
  --ring: oklch(0.522 0.069 329.959);
  --chart-1: oklch(0.522 0.069 329.959);
  --chart-2: oklch(0.841 0.015 328.79);
  --chart-3: oklch(0.779 0.037 329.106);
  --chart-4: oklch(0.865 0.013 328.755);
  --chart-5: oklch(0.521 0.081 330.185);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.002 328.616);
  --muted: oklch(0.219 0.041 330.48);
  --muted-foreground: oklch(0.746 0.011 328.756);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.002 328.616);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.992 0.002 328.616);
  --border: oklch(0.256 0.01 328.995);
  --input: oklch(0.256 0.01 328.995);
  --primary: oklch(0.522 0.069 329.959);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.234 0.013 329.167);
  --secondary-foreground: oklch(0.775 0.022 328.897);
  --accent: oklch(0.303 0.037 329.863);
  --accent-foreground: oklch(0.828 0.032 329.011);
  --destructive: oklch(0.602 0.237 29.757);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.522 0.069 329.959);
  --chart-1: oklch(0.522 0.069 329.959);
  --chart-2: oklch(0.234 0.013 329.167);
  --chart-3: oklch(0.303 0.037 329.863);
  --chart-4: oklch(0.266 0.015 329.205);
  --chart-5: oklch(0.521 0.081 330.185);
}