Whopping is a shadcn/ui theme built around a vivid teal primary color (#6bf5b2) with muted teal accents (#a8c7b8). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid teal primary (#6bf5b2) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #010403black |
| Foreground | #010905black | #fcfdfcwhite |
| Card | #fcfdfcwhite | #010403black |
| Card foreground | #010905black | #fcfdfcwhite |
| Popover | #fcfdfcwhite | #010403black |
| Popover foreground | #010905black | #fcfdfcwhite |
| Primary | #6bf5b2aquamarine | #6bf5b2aquamarine |
| Primary foreground | #032b18black | #032b18black |
| Secondary | #c8d5cflightgrey | #1c1c1cblack |
| Secondary foreground | #2f3d36darkslategray | #b5b5b5silver |
| Muted | #d7eae1gainsboro | #281515black |
| Muted foreground | #5a5e5cdimgray | #a5a1a1darkgray |
| Accent | #a8c7b8silver | #363030darkslategray |
| Accent foreground | #18251fblack | #cfc9c9lightgrey |
| Destructive | #9d3410saddlebrown | #e74c18orangered |
| Destructive foreground | #fceae3linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6bf5b2aquamarine | #6bf5b2aquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 11.22:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 5.23:1 | AA |
| Accent | 8.73:1 | AAA |
| Destructive | 6.16:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 11.22:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 6.78:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Whopping in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 165.965);
--foreground: oklch(0.127 0.022 166.252);
--muted: oklch(0.92 0.023 165.338);
--muted-foreground: oklch(0.477 0.005 165.711);
--popover: oklch(0.993 0.002 165.965);
--popover-foreground: oklch(0.127 0.022 166.252);
--card: oklch(0.993 0.002 165.965);
--card-foreground: oklch(0.127 0.022 166.252);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.876 0.153 159.671);
--primary-foreground: oklch(0.256 0.057 157.317);
--secondary: oklch(0.861 0.016 165.514);
--secondary-foreground: oklch(0.343 0.022 164.199);
--accent: oklch(0.803 0.04 164.614);
--accent-foreground: oklch(0.251 0.022 163.353);
--destructive: oklch(0.474 0.147 37.109);
--destructive-foreground: oklch(0.949 0.022 39.377);
--ring: oklch(0.876 0.153 159.671);
--chart-1: oklch(0.876 0.153 159.671);
--chart-2: oklch(0.861 0.016 165.514);
--chart-3: oklch(0.803 0.04 164.614);
--chart-4: oklch(0.883 0.013 165.608);
--chart-5: oklch(0.881 0.158 159.459);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 166.159);
--foreground: oklch(0.993 0.001 165.99);
--muted: oklch(0.223 0.03 19.73);
--muted-foreground: oklch(0.713 0.004 17.257);
--popover: oklch(0.097 0.01 166.159);
--popover-foreground: oklch(0.993 0.001 165.99);
--card: oklch(0.097 0.01 166.159);
--card-foreground: oklch(0.993 0.001 165.99);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.876 0.153 159.671);
--primary-foreground: oklch(0.256 0.057 157.317);
--secondary: oklch(0.227 0 164.055);
--secondary-foreground: oklch(0.773 0 180);
--accent: oklch(0.315 0.009 17.63);
--accent-foreground: oklch(0.841 0.007 17.292);
--destructive: oklch(0.627 0.2 36.722);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.876 0.153 159.671);
--chart-1: oklch(0.876 0.153 159.671);
--chart-2: oklch(0.227 0 164.055);
--chart-3: oklch(0.315 0.009 17.63);
--chart-4: oklch(0.259 0 167.471);
--chart-5: oklch(0.881 0.158 159.459);
}