Gossip is a shadcn/ui theme built around a vivid orange primary color (#f3ad44) with vivid green accents (#e2f344). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#f3ad44) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040301black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfcfcsnow | #080603black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #080603black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #f3ad44sandybrown | #f3ad44sandybrown |
| Primary foreground | #050300black | #050300black |
| Secondary | #f35644tomato | #f35644tomato |
| Secondary foreground | #050100black | #050100black |
| Muted | #ebdddbgainsboro | #241614black |
| Muted foreground | #585656dimgray | #a9a8a7darkgray |
| Accent | #e2f344greenyellow | #e2f344greenyellow |
| Accent foreground | #040500black | #040500black |
| Destructive | #dd5303chocolate | #f15b04orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f3ad44sandybrown | #f3ad44sandybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 10.67:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 5.51:1 | AA |
| Accent | 16.68:1 | AAA |
| Destructive | 3.94:1 | AA Large |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 10.67:1 | AAA |
| Secondary button | 6.14:1 | AA |
| Muted text | 7.37:1 | AAA |
| Accent | 16.68:1 | AAA |
| Destructive | 3.36:1 | AA Large |
Paste this into your globals.css to use Gossip in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.908 0.015 25.133);
--muted-foreground: oklch(0.455 0.002 25.026);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.796 0.143 73.661);
--primary-foreground: oklch(0.099 0.018 88.786);
--secondary: oklch(0.662 0.196 29.578);
--secondary-foreground: oklch(0.081 0.021 36.028);
--accent: oklch(0.922 0.188 115.197);
--accent-foreground: oklch(0.109 0.022 112.904);
--destructive: oklch(0.619 0.186 41.811);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.796 0.143 73.661);
--chart-1: oklch(0.796 0.143 73.661);
--chart-2: oklch(0.662 0.196 29.578);
--chart-3: oklch(0.922 0.188 115.197);
--chart-4: oklch(0.681 0.182 29.025);
--chart-5: oklch(0.801 0.146 73.331);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.009 84.253);
--foreground: oklch(1 0 180);
--muted: oklch(0.218 0.023 26.172);
--muted-foreground: oklch(0.732 0.002 25.01);
--popover: oklch(0.121 0.012 84.253);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.012 84.253);
--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.796 0.143 73.661);
--primary-foreground: oklch(0.099 0.018 88.786);
--secondary: oklch(0.662 0.196 29.578);
--secondary-foreground: oklch(0.081 0.021 36.028);
--accent: oklch(0.922 0.188 115.197);
--accent-foreground: oklch(0.109 0.022 112.904);
--destructive: oklch(0.66 0.2 41.608);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.796 0.143 73.661);
--chart-1: oklch(0.796 0.143 73.661);
--chart-2: oklch(0.662 0.196 29.578);
--chart-3: oklch(0.922 0.188 115.197);
--chart-4: oklch(0.681 0.182 29.025);
--chart-5: oklch(0.801 0.146 73.331);
}