Gathering is a shadcn/ui theme built around a deep purple primary color (#27071f) with deep green accents (#07270f). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#27071f) on a neutral background (#080207).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080207black |
| Foreground | #040103black | #ffffffwhite |
| Card | #fcfcfcsnow | #0c030ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0c030ablack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #27071fblack | #27071fblack |
| Primary foreground | #e67acborchid | #e67acborchid |
| Secondary | #07270fblack | #07270fblack |
| Secondary foreground | #28d252limegreen | #28d252limegreen |
| Muted | #cee3d3lightgrey | #1c3121darkslategray |
| Muted foreground | #4e5f52darkslategray | #a0b1a4darkgray |
| Accent | #07270fblack | #07270fblack |
| Accent foreground | #28d252limegreen | #28d252limegreen |
| Destructive | #df4701orangered | #fe5506orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #27071fblack | #27071fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.77:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 5.06:1 | AA |
| Accent | 8.01:1 | AAA |
| Destructive | 4.14:1 | AA Large |
| Text on background | 20.53:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 8.01:1 | AAA |
| Destructive | 3.23:1 | AA Large |
Paste this into your globals.css to use Gathering in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.084 0.022 334.767);
--muted: oklch(0.897 0.031 153.267);
--muted-foreground: oklch(0.468 0.03 152.743);
--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.198 0.063 338.875);
--primary-foreground: oklch(0.726 0.164 337.377);
--secondary: oklch(0.241 0.057 148.638);
--secondary-foreground: oklch(0.756 0.215 146.578);
--accent: oklch(0.241 0.057 148.638);
--accent-foreground: oklch(0.756 0.215 146.578);
--destructive: oklch(0.609 0.198 38.221);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.198 0.063 338.875);
--chart-1: oklch(0.198 0.063 338.875);
--chart-2: oklch(0.241 0.057 148.638);
--chart-3: oklch(0.241 0.057 148.638);
--chart-4: oklch(0.286 0.071 148.038);
--chart-5: oklch(0.198 0.065 339.05);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.023 334.601);
--foreground: oklch(1 0 180);
--muted: oklch(0.29 0.04 151.184);
--muted-foreground: oklch(0.743 0.027 153.252);
--popover: oklch(0.123 0.026 334.922);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.026 334.922);
--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.198 0.063 338.875);
--primary-foreground: oklch(0.726 0.164 337.377);
--secondary: oklch(0.241 0.057 148.638);
--secondary-foreground: oklch(0.756 0.215 146.578);
--accent: oklch(0.241 0.057 148.638);
--accent-foreground: oklch(0.756 0.215 146.578);
--destructive: oklch(0.674 0.216 38.497);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.198 0.063 338.875);
--chart-1: oklch(0.198 0.063 338.875);
--chart-2: oklch(0.241 0.057 148.638);
--chart-3: oklch(0.241 0.057 148.638);
--chart-4: oklch(0.286 0.071 148.038);
--chart-5: oklch(0.198 0.065 339.05);
}