Grubby Red Onionport is a shadcn/ui theme built around a muted deep purple primary color (#483343) with muted deep green accents (#334838). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the muted deep purple primary (#483343) on a purple-tinted background (#0b040a).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #0b040ablack |
| Foreground | #090107black | #faf9fasnow |
| Card | #fcf8fbsnow | #0b040ablack |
| Card foreground | #090107black | #faf9fasnow |
| Popover | #fcf8fbsnow | #0b040ablack |
| Popover foreground | #090107black | #faf9fasnow |
| Primary | #483343darkslategray | #483343darkslategray |
| Primary foreground | #ddcfdalightgrey | #ddcfdalightgrey |
| Secondary | #334838darkslategray | #334838darkslategray |
| Secondary foreground | #cfddd3lightgrey | #cfddd3lightgrey |
| Muted | #ecf3eewhitesmoke | #0c130dblack |
| Muted foreground | #4d6653dimgray | #99b29fdarkgray |
| Accent | #334838darkslategray | #334838darkslategray |
| Accent foreground | #cfddd3lightgrey | #cfddd3lightgrey |
| Destructive | #983a0bsaddlebrown | #ee5e17chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e7e4e6gainsboro | #201d1fblack |
| Input | #e7e4e6gainsboro | #201d1fblack |
| Ring | #483343darkslategray | #483343darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 5.58:1 | AA |
| Accent | 7.06:1 | AAA |
| Destructive | 7.13:1 | AAA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 7.68:1 | AAA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 8.27:1 | AAA |
| Accent | 7.06:1 | AAA |
| Destructive | 6.23:1 | AA |
Paste this into your globals.css to use Grubby Red Onionport in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 333.319);
--foreground: oklch(0.104 0.032 334.33);
--muted: oklch(0.958 0.011 153.056);
--muted-foreground: oklch(0.483 0.043 151.693);
--popover: oklch(0.983 0.005 333.319);
--popover-foreground: oklch(0.104 0.032 334.33);
--card: oklch(0.983 0.005 333.319);
--card-foreground: oklch(0.104 0.032 334.33);
--border: oklch(0.922 0.003 333.294);
--input: oklch(0.922 0.003 333.294);
--primary: oklch(0.35 0.039 334.956);
--primary-foreground: oklch(0.87 0.021 333.625);
--secondary: oklch(0.377 0.038 151.472);
--secondary-foreground: oklch(0.884 0.021 152.853);
--accent: oklch(0.377 0.038 151.472);
--accent-foreground: oklch(0.884 0.021 152.853);
--destructive: oklch(0.474 0.136 41.978);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.35 0.039 334.956);
--chart-1: oklch(0.35 0.039 334.956);
--chart-2: oklch(0.377 0.038 151.472);
--chart-3: oklch(0.377 0.038 151.472);
--chart-4: oklch(0.408 0.042 151.434);
--chart-5: oklch(0.349 0.046 335.247);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.023 334.147);
--foreground: oklch(0.984 0.001 333.265);
--muted: oklch(0.177 0.016 151.639);
--muted-foreground: oklch(0.74 0.039 152.353);
--popover: oklch(0.124 0.023 334.147);
--popover-foreground: oklch(0.984 0.001 333.265);
--card: oklch(0.124 0.023 334.147);
--card-foreground: oklch(0.984 0.001 333.265);
--border: oklch(0.236 0.005 333.588);
--input: oklch(0.236 0.005 333.588);
--primary: oklch(0.35 0.039 334.956);
--primary-foreground: oklch(0.87 0.021 333.625);
--secondary: oklch(0.377 0.038 151.472);
--secondary-foreground: oklch(0.884 0.021 152.853);
--accent: oklch(0.377 0.038 151.472);
--accent-foreground: oklch(0.884 0.021 152.853);
--destructive: oklch(0.66 0.192 41.752);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.35 0.039 334.956);
--chart-1: oklch(0.35 0.039 334.956);
--chart-2: oklch(0.377 0.038 151.472);
--chart-3: oklch(0.377 0.038 151.472);
--chart-4: oklch(0.408 0.042 151.434);
--chart-5: oklch(0.349 0.046 335.247);
}