Vigorous is a shadcn/ui theme built around a green primary color (#4fc47a) with pink accents (#c44f99). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the green primary (#4fc47a) on a green-tinted background (#041009).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #041009black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f8fcf9mintcream | #041009black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcf9mintcream | #041009black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #4fc47amediumseagreen | #4fc47amediumseagreen |
| Primary foreground | #12361fdarkgreen | #12361fdarkgreen |
| Secondary | #c44f99palevioletred | #c44f99palevioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ead6e3gainsboro | #291521black |
| Muted foreground | #493742darkslategray | #c8b6c2silver |
| Accent | #c44f99palevioletred | #c44f99palevioletred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #850b05maroon | #f6190ered |
| Destructive foreground | #fdc2bflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4fc47amediumseagreen | #4fc47amediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 4.25:1 | AA Large |
| Muted text | 8.00:1 | AAA |
| Accent | 4.25:1 | AA Large |
| Destructive | 6.66:1 | AA |
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 4.25:1 | AA Large |
| Muted text | 8.96:1 | AAA |
| Accent | 4.25:1 | AA Large |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use Vigorous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 158.605);
--foreground: oklch(0 0 0);
--muted: oklch(0.897 0.028 339.375);
--muted-foreground: oklch(0.36 0.031 340.481);
--popover: oklch(0.987 0.005 158.605);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.005 158.605);
--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.736 0.151 152.772);
--primary-foreground: oklch(0.298 0.058 153.175);
--secondary: oklch(0.604 0.171 344.491);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.604 0.171 344.491);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.392 0.154 29.587);
--destructive-foreground: oklch(0.866 0.068 22.022);
--ring: oklch(0.736 0.151 152.772);
--chart-1: oklch(0.736 0.151 152.772);
--chart-2: oklch(0.604 0.171 344.491);
--chart-3: oklch(0.604 0.171 344.491);
--chart-4: oklch(0.627 0.161 343.872);
--chart-5: oklch(0.744 0.158 152.437);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.025 156.978);
--foreground: oklch(1 0 180);
--muted: oklch(0.227 0.039 342.148);
--muted-foreground: oklch(0.796 0.025 339.392);
--popover: oklch(0.158 0.025 156.978);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.158 0.025 156.978);
--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.736 0.151 152.772);
--primary-foreground: oklch(0.298 0.058 153.175);
--secondary: oklch(0.604 0.171 344.491);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.604 0.171 344.491);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.618 0.245 29.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.736 0.151 152.772);
--chart-1: oklch(0.736 0.151 152.772);
--chart-2: oklch(0.604 0.171 344.491);
--chart-3: oklch(0.604 0.171 344.491);
--chart-4: oklch(0.627 0.161 343.872);
--chart-5: oklch(0.744 0.158 152.437);
}