Group is a shadcn/ui theme built around a vivid teal primary color (#31edae) with vivid pink accents (#ed316f). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid teal primary (#31edae) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #010403black |
| Foreground | #010403black | #fcfdfdwhite |
| Card | #f6fdfbmintcream | #020806black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f6fdfbmintcream | #020806black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #31edaeturquoise | #31edaeturquoise |
| Primary foreground | #074b34darkslategray | #074b34darkslategray |
| Secondary | #ed316fdeeppink | #ed316fdeeppink |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e5d1d8gainsboro | #2e1a20black |
| Muted foreground | #646263dimgray | #9d9b9bdarkgray |
| Accent | #ed316fdeeppink | #ed316fdeeppink |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #801305maroon | #e72208red |
| Destructive foreground | #fdc2balightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #31edaeturquoise | #31edaeturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 3.98:1 | AA Large |
| Muted text | 4.17:1 | AA Large |
| Accent | 3.98:1 | AA Large |
| Destructive | 6.75:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 6.71:1 | AA |
| Secondary button | 3.98:1 | AA Large |
| Muted text | 5.92:1 | AA |
| Accent | 3.98:1 | AA Large |
| Destructive | 4.52:1 | AA |
Paste this into your globals.css to use Group in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 174.468);
--foreground: oklch(0.1 0.015 174.875);
--muted: oklch(0.88 0.024 355.357);
--muted-foreground: oklch(0.5 0.003 354.744);
--popover: oklch(0.989 0.008 174.346);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.008 174.346);
--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.842 0.169 164.41);
--primary-foreground: oklch(0.367 0.075 164.079);
--secondary: oklch(0.626 0.223 7.507);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.626 0.223 7.507);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.387 0.145 31.15);
--destructive-foreground: oklch(0.864 0.069 27.173);
--ring: oklch(0.842 0.169 164.41);
--chart-1: oklch(0.842 0.169 164.41);
--chart-2: oklch(0.626 0.223 7.507);
--chart-3: oklch(0.626 0.223 7.507);
--chart-4: oklch(0.642 0.214 5.776);
--chart-5: oklch(0.851 0.173 164.076);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.012 174.829);
--foreground: oklch(0.993 0.001 174.56);
--muted: oklch(0.246 0.034 358.324);
--muted-foreground: oklch(0.69 0.002 354.692);
--popover: oklch(0.124 0.015 174.829);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.015 174.829);
--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.842 0.169 164.41);
--primary-foreground: oklch(0.367 0.075 164.079);
--secondary: oklch(0.626 0.223 7.507);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.626 0.223 7.507);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.594 0.229 30.724);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.842 0.169 164.41);
--chart-1: oklch(0.842 0.169 164.41);
--chart-2: oklch(0.626 0.223 7.507);
--chart-3: oklch(0.626 0.223 7.507);
--chart-4: oklch(0.642 0.214 5.776);
--chart-5: oklch(0.851 0.173 164.076);
}