Growling is a shadcn/ui theme built around a deep red primary color (#2a0e12) with muted red accents (#c9a6ab). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the deep red primary (#2a0e12) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f8snow | #000000black |
| Foreground | #040101black | #faf5f6whitesmoke |
| Card | #fdf7f8snow | #000000black |
| Card foreground | #040101black | #faf5f6whitesmoke |
| Popover | #fdf7f8snow | #000000black |
| Popover foreground | #040101black | #faf5f6whitesmoke |
| Primary | #2a0e12black | #2a0e12black |
| Primary foreground | #da909arosybrown | #da909arosybrown |
| Secondary | #d5c3c5thistle | #2c2b2bdarkslategray |
| Secondary foreground | #3c2a2cdarkslategray | #c5c4c4silver |
| Muted | #eed8dbgainsboro | #271114black |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #c9a6abdarkgray | #443b3cdarkslategray |
| Accent foreground | #261719black | #dbd6d7gainsboro |
| Destructive | #882a02saddlebrown | #e74804orangered |
| Destructive foreground | #fed1bepeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2a0e12black | #2a0e12black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 6.22:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 6.34:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 8.12:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 7.51:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Growling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 7.889);
--foreground: oklch(0.08 0.02 9.219);
--muted: oklch(0.901 0.025 8.428);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(0.981 0.006 7.889);
--popover-foreground: oklch(0.08 0.02 9.219);
--card: oklch(0.981 0.006 7.889);
--card-foreground: oklch(0.08 0.02 9.219);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.21 0.047 13.74);
--primary-foreground: oklch(0.731 0.09 10.812);
--secondary: oklch(0.833 0.021 8.361);
--secondary-foreground: oklch(0.307 0.028 9.95);
--accent: oklch(0.758 0.042 9.107);
--accent-foreground: oklch(0.225 0.025 10.482);
--destructive: oklch(0.424 0.135 38.827);
--destructive-foreground: oklch(0.894 0.057 44.448);
--ring: oklch(0.21 0.047 13.74);
--chart-1: oklch(0.21 0.047 13.74);
--chart-2: oklch(0.833 0.021 8.361);
--chart-3: oklch(0.758 0.042 9.107);
--chart-4: oklch(0.858 0.018 8.249);
--chart-5: oklch(0.21 0.049 14.19);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.005 7.874);
--muted: oklch(0.211 0.038 12.314);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.974 0.005 7.874);
--card: oklch(0 0 0);
--card-foreground: oklch(0.974 0.005 7.874);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.21 0.047 13.74);
--primary-foreground: oklch(0.731 0.09 10.812);
--secondary: oklch(0.29 0.001 7.856);
--secondary-foreground: oklch(0.821 0.001 7.788);
--accent: oklch(0.363 0.013 8.592);
--accent-foreground: oklch(0.881 0.006 7.914);
--destructive: oklch(0.623 0.205 37.439);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.21 0.047 13.74);
--chart-1: oklch(0.21 0.047 13.74);
--chart-2: oklch(0.29 0.001 7.856);
--chart-3: oklch(0.363 0.013 8.592);
--chart-4: oklch(0.32 0.001 7.86);
--chart-5: oklch(0.21 0.049 14.19);
}