Vigorous is a shadcn/ui theme built around a deep blue primary color (#172940) with deep green accents (#294017). The light mode uses a neutral background (#f7fafc). Dark mode keeps the deep blue primary (#172940) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafcghostwhite | #000000black |
| Foreground | #040c16black | #f9fafbghostwhite |
| Card | #f4f7fbghostwhite | #030303black |
| Card foreground | #030911black | #fcfcfdwhite |
| Popover | #f7fafcghostwhite | #000000black |
| Popover foreground | #040c16black | #f9fafbghostwhite |
| Primary | #172940darkslategray | #172940darkslategray |
| Primary foreground | #a8c2e1lightsteelblue | #a8c2e1lightsteelblue |
| Secondary | #401729darkslategray | #401729darkslategray |
| Secondary foreground | #e1a8c2plum | #e1a8c2plum |
| Muted | #e5e1e3gainsboro | #1e1a1cblack |
| Muted foreground | #484245darkslategray | #bdb7basilver |
| Accent | #294017darkslategray | #294017darkslategray |
| Accent foreground | #c2e1a8silver | #c2e1a8silver |
| Destructive | #c54216firebrick | #ea693etomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #172940darkslategray | #172940darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.71:1 | AAA |
| Text on card | 18.57:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 7.55:1 | AAA |
| Accent | 7.93:1 | AAA |
| Destructive | 5.03:1 | AA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 8.73:1 | AAA |
| Accent | 7.93:1 | AAA |
| Destructive | 6.57:1 | AA |
Paste this into your globals.css to use Vigorous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 253.25);
--foreground: oklch(0.15 0.026 249.998);
--muted: oklch(0.913 0.006 347.979);
--muted-foreground: oklch(0.386 0.008 348.407);
--popover: oklch(0.983 0.004 253.25);
--popover-foreground: oklch(0.15 0.026 249.998);
--card: oklch(0.975 0.007 253.266);
--card-foreground: oklch(0.138 0.022 247.005);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.278 0.049 254.247);
--primary-foreground: oklch(0.804 0.052 253.58);
--secondary: oklch(0.274 0.069 354.507);
--secondary-foreground: oklch(0.792 0.074 350.214);
--accent: oklch(0.342 0.072 133.041);
--accent-foreground: oklch(0.871 0.082 131.381);
--destructive: oklch(0.56 0.175 36.969);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.278 0.049 254.247);
--chart-1: oklch(0.278 0.049 254.247);
--chart-2: oklch(0.274 0.069 354.507);
--chart-3: oklch(0.342 0.072 133.041);
--chart-4: oklch(0.303 0.079 354.781);
--chart-5: oklch(0.278 0.052 254.343);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.002 253.23);
--muted: oklch(0.223 0.008 348.766);
--muted-foreground: oklch(0.786 0.007 348.058);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.002 253.23);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 253.224);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.278 0.049 254.247);
--primary-foreground: oklch(0.804 0.052 253.58);
--secondary: oklch(0.274 0.069 354.507);
--secondary-foreground: oklch(0.792 0.074 350.214);
--accent: oklch(0.342 0.072 133.041);
--accent-foreground: oklch(0.871 0.082 131.381);
--destructive: oklch(0.671 0.17 38.565);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.278 0.049 254.247);
--chart-1: oklch(0.278 0.049 254.247);
--chart-2: oklch(0.274 0.069 354.507);
--chart-3: oklch(0.342 0.072 133.041);
--chart-4: oklch(0.303 0.079 354.781);
--chart-5: oklch(0.278 0.052 254.343);
}