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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 3.90:1 | AA Large |
| Secondary button | 7.01:1 | AAA |
| Muted text | 8.59:1 | AAA |
| Accent | 7.01:1 | AAA |
| Destructive | 6.24:1 | AA |
| Text on background | 18.93:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 3.90:1 | AA Large |
| Secondary button | 7.88:1 | AAA |
| Muted text | 9.48:1 | AAA |
| Accent | 7.88:1 | AAA |
| Destructive | 3.65:1 | AA Large |
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);
}