Whopping is a shadcn/ui theme built around a light purple primary color (#e5b8ef) with light purple accents (#efb8de). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the light purple primary (#e5b8ef) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #000000black |
| Foreground | #0e0510black | #ffffffwhite |
| Card | #fbf8fbsnow | #030303black |
| Card foreground | #0a040cblack | #ffffffwhite |
| Popover | #fdfcfdwhite | #000000black |
| Popover foreground | #0e0510black | #ffffffwhite |
| Primary | #e5b8efthistle | #e5b8efthistle |
| Primary foreground | #521660indigo | #521660indigo |
| Secondary | #cab8efthistle | #cab8efthistle |
| Secondary foreground | #2d1660midnightblue | #2d1660midnightblue |
| Muted | #ddd8e9gainsboro | #1c1627black |
| Muted foreground | #474252darkslategray | #b2adbddarkgray |
| Accent | #efb8dethistle | #efb8dethistle |
| Accent foreground | #601648indigo | #601648indigo |
| Destructive | #750801maroon | #fe382aorangered |
| Destructive foreground | #ffaea9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e5b8efthistle | #e5b8efthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.54:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 7.38:1 | AAA |
| Destructive | 6.64:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 8.04:1 | AAA |
| Accent | 7.38:1 | AAA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Whopping in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 319.993);
--foreground: oklch(0.136 0.03 320.79);
--muted: oklch(0.892 0.023 300.342);
--muted-foreground: oklch(0.39 0.028 299.579);
--popover: oklch(0.991 0.002 319.993);
--popover-foreground: oklch(0.136 0.03 320.79);
--card: oklch(0.983 0.005 319.996);
--card-foreground: oklch(0.122 0.026 321.505);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.84 0.089 320.077);
--primary-foreground: oklch(0.334 0.132 319.568);
--secondary: oklch(0.816 0.078 299.174);
--secondary-foreground: oklch(0.283 0.122 291.013);
--accent: oklch(0.844 0.079 338.293);
--accent-foreground: oklch(0.343 0.12 343.439);
--destructive: oklch(0.357 0.14 30.494);
--destructive-foreground: oklch(0.828 0.095 23.848);
--ring: oklch(0.84 0.089 320.077);
--chart-1: oklch(0.84 0.089 320.077);
--chart-2: oklch(0.816 0.078 299.174);
--chart-3: oklch(0.844 0.079 338.293);
--chart-4: oklch(0.849 0.064 299.524);
--chart-5: oklch(0.839 0.093 320.08);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.216 0.033 298.188);
--muted-foreground: oklch(0.757 0.024 300.252);
--popover: oklch(0 0 0);
--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.84 0.089 320.077);
--primary-foreground: oklch(0.334 0.132 319.568);
--secondary: oklch(0.816 0.078 299.174);
--secondary-foreground: oklch(0.283 0.122 291.013);
--accent: oklch(0.844 0.079 338.293);
--accent-foreground: oklch(0.343 0.12 343.439);
--destructive: oklch(0.65 0.234 29.298);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.84 0.089 320.077);
--chart-1: oklch(0.84 0.089 320.077);
--chart-2: oklch(0.816 0.078 299.174);
--chart-3: oklch(0.844 0.079 338.293);
--chart-4: oklch(0.849 0.064 299.524);
--chart-5: oklch(0.839 0.093 320.08);
}