Pink Bite Caterpillar for shadcn/ui

Pink Bite Caterpillar is a shadcn/ui theme built around a pink primary color (#db43a8) with neutral gray accents (#e7e4e6). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#db43a8) on a pink-tinted background (#0b0509).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0509black
Foreground
#14060fblack
#f8f7f8whitesmoke
Card
#ffffffwhite
#0b0509black
Card foreground
#14060fblack
#f8f7f8whitesmoke
Popover
#ffffffwhite
#0b0509black
Popover foreground
#14060fblack
#f8f7f8whitesmoke
Primary
#db43a8palevioletred
#db43a8palevioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e7e4e6gainsboro
#343233darkslategray
Secondary foreground
#52474edarkslategray
#cdcbcclightgrey
Muted
#f2e3edlinen
#1c0d17black
Muted foreground
#4c3945darkslategray
#c6b3c0silver
Accent
#e7e4e6gainsboro
#343233darkslategray
Accent foreground
#52474edarkslategray
#cdcbcclightgrey
Destructive
#952c09saddlebrown
#f14a13orangered
Destructive foreground
#fcded4antiquewhite
#ffffffwhite
Border
#eae6e9lavender
#292327darkslategray
Input
#eae6e9lavender
#292327darkslategray
Ring
#db43a8palevioletred
#db43a8palevioletred

Contrast

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

Light mode
Text on background19.76:1AAA
Text on card19.76:1AAA
Primary button3.90:1AA Large
Secondary button7.01:1AAA
Muted text8.59:1AAA
Accent7.01:1AAA
Destructive6.24:1AA
Dark mode
Text on background18.93:1AAA
Text on card18.93:1AAA
Primary button3.90:1AA Large
Secondary button7.88:1AAA
Muted text9.48:1AAA
Accent7.88:1AAA
Destructive3.65:1AA Large

CSS variables

Paste this into your globals.css to use Pink Bite Caterpillar in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.149 0.033 340.531);
  --muted: oklch(0.931 0.02 337.703);
  --muted-foreground: oklch(0.37 0.033 338.962);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.149 0.033 340.531);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.149 0.033 340.531);
  --border: oklch(0.929 0.005 337.376);
  --input: oklch(0.929 0.005 337.376);
  --primary: oklch(0.631 0.214 344.076);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.921 0.005 337.374);
  --secondary-foreground: oklch(0.412 0.018 338.14);
  --accent: oklch(0.921 0.005 337.374);
  --accent-foreground: oklch(0.412 0.018 338.14);
  --destructive: oklch(0.451 0.147 36.399);
  --destructive-foreground: oklch(0.923 0.037 39.314);
  --ring: oklch(0.631 0.214 344.076);
  --chart-1: oklch(0.631 0.214 344.076);
  --chart-2: oklch(0.921 0.005 337.374);
  --chart-3: oklch(0.921 0.005 337.374);
  --chart-4: oklch(0.945 0.003 337.339);
  --chart-5: oklch(0.633 0.22 344.365);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.017 337.593);
  --foreground: oklch(0.976 0.002 337.313);
  --muted: oklch(0.185 0.031 340.353);
  --muted-foreground: oklch(0.787 0.027 337.943);
  --popover: oklch(0.126 0.017 337.593);
  --popover-foreground: oklch(0.976 0.002 337.313);
  --card: oklch(0.126 0.017 337.593);
  --card-foreground: oklch(0.976 0.002 337.313);
  --border: oklch(0.265 0.012 338.131);
  --input: oklch(0.265 0.012 338.131);
  --primary: oklch(0.631 0.214 344.076);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.32 0.004 337.498);
  --secondary-foreground: oklch(0.844 0.003 337.335);
  --accent: oklch(0.32 0.004 337.498);
  --accent-foreground: oklch(0.844 0.003 337.335);
  --destructive: oklch(0.643 0.211 36.18);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.631 0.214 344.076);
  --chart-1: oklch(0.631 0.214 344.076);
  --chart-2: oklch(0.32 0.004 337.498);
  --chart-3: oklch(0.32 0.004 337.498);
  --chart-4: oklch(0.349 0.004 337.505);
  --chart-5: oklch(0.633 0.22 344.365);
}