Growling is a shadcn/ui theme built around a pink primary color (#7f2e5d) with muted light pink accents (#e4d8df). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#7f2e5d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040103black | #ffffffwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #7f2e5dpurple | #7f2e5dpurple |
| Primary foreground | #f7e9f1lavenderblush | #f7e9f1lavenderblush |
| Secondary | #e4d8dfgainsboro | #1e151ablack |
| Secondary foreground | #513847darkslategray | #c0a5b5darkgray |
| Muted | #e9d2e0gainsboro | #2d1623black |
| Muted foreground | #665c62dimgray | #a3999fdarkgray |
| Accent | #e4d8dfgainsboro | #1e151ablack |
| Accent foreground | #513847darkslategray | #c0a5b5darkgray |
| Destructive | #911f0ddarkred | #e93216orangered |
| Destructive foreground | #fbdad5mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7f2e5dpurple | #7f2e5dpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.77:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 4.52:1 | AA |
| Accent | 7.55:1 | AAA |
| Destructive | 6.70:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 7.88:1 | AAA |
| Muted text | 6.11:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 4.24:1 | AA Large |
Paste this into your globals.css to use Growling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.085 0.017 341.096);
--muted: oklch(0.888 0.031 341.816);
--muted-foreground: oklch(0.486 0.015 341.727);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.434 0.125 347.511);
--primary-foreground: oklch(0.946 0.019 341.476);
--secondary: oklch(0.893 0.016 341.427);
--secondary-foreground: oklch(0.376 0.042 343.437);
--accent: oklch(0.893 0.016 341.427);
--accent-foreground: oklch(0.376 0.042 343.437);
--destructive: oklch(0.43 0.152 31.62);
--destructive-foreground: oklch(0.915 0.038 28.196);
--ring: oklch(0.434 0.125 347.511);
--chart-1: oklch(0.434 0.125 347.511);
--chart-2: oklch(0.893 0.016 341.427);
--chart-3: oklch(0.893 0.016 341.427);
--chart-4: oklch(0.918 0.012 341.321);
--chart-5: oklch(0.435 0.132 347.93);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.236 0.043 344.976);
--muted-foreground: oklch(0.694 0.014 341.473);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.434 0.125 347.511);
--primary-foreground: oklch(0.946 0.019 341.476);
--secondary: oklch(0.209 0.017 342.796);
--secondary-foreground: oklch(0.751 0.037 342.115);
--accent: oklch(0.209 0.017 342.796);
--accent-foreground: oklch(0.751 0.037 342.115);
--destructive: oklch(0.608 0.221 31.511);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.434 0.125 347.511);
--chart-1: oklch(0.434 0.125 347.511);
--chart-2: oklch(0.209 0.017 342.796);
--chart-3: oklch(0.209 0.017 342.796);
--chart-4: oklch(0.241 0.021 342.954);
--chart-5: oklch(0.435 0.132 347.93);
}