Whopping is a shadcn/ui theme built around a muted purple primary color (#896189) with muted teal accents (#618989). The light mode uses a neutral background (#fefbfe). Dark mode keeps the muted purple primary (#896189) on a neutral background (#040104).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #040104black |
| Foreground | #000000black | #fbf9fbsnow |
| Card | #fdf7fdsnow | #070307black |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fefbfewhite | #040104black |
| Popover foreground | #000000black | #fbf9fbsnow |
| Primary | #896189gray | #896189gray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #898961gray | #898961gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #f4f4f0whitesmoke | #0f0f0bblack |
| Muted foreground | #474739darkslategray | #c6c6b8silver |
| Accent | #618989slategray | #618989slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c14b0bchocolate | #f26e26chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #896189gray | #896189gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.43:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 5.05:1 | AA |
| Secondary button | 5.83:1 | AA |
| Muted text | 8.56:1 | AAA |
| Accent | 3.84:1 | AA Large |
| Destructive | 4.92:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 5.05:1 | AA |
| Secondary button | 5.83:1 | AA |
| Muted text | 11.15:1 | AAA |
| Accent | 3.84:1 | AA Large |
| Destructive | 7.03:1 | AAA |
Paste this into your globals.css to use Whopping in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 325.615);
--foreground: oklch(0 0 0);
--muted: oklch(0.967 0.005 106.494);
--muted-foreground: oklch(0.393 0.023 107.404);
--popover: oklch(0.991 0.005 325.615);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.01 325.655);
--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.549 0.077 326.561);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.621 0.056 107.939);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.602 0.044 196.041);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.564 0.165 42.236);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.549 0.077 326.561);
--chart-1: oklch(0.549 0.077 326.561);
--chart-2: oklch(0.621 0.056 107.939);
--chart-3: oklch(0.602 0.044 196.041);
--chart-4: oklch(0.65 0.059 107.946);
--chart-5: oklch(0.548 0.09 326.718);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.016 326.833);
--foreground: oklch(0.984 0.002 325.593);
--muted: oklch(0.165 0.008 107.218);
--muted-foreground: oklch(0.823 0.019 106.814);
--popover: oklch(0.087 0.016 326.833);
--popover-foreground: oklch(0.984 0.002 325.593);
--card: oklch(0.11 0.02 326.833);
--card-foreground: oklch(0.992 0.001 325.585);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.549 0.077 326.561);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.621 0.056 107.939);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.602 0.044 196.041);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.688 0.181 44.586);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.549 0.077 326.561);
--chart-1: oklch(0.549 0.077 326.561);
--chart-2: oklch(0.621 0.056 107.939);
--chart-3: oklch(0.602 0.044 196.041);
--chart-4: oklch(0.65 0.059 107.946);
--chart-5: oklch(0.548 0.09 326.718);
}