Vigorous is a shadcn/ui theme built around a blue primary color (#77aedf) with indigo accents (#777adf). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#77aedf) on a blue-tinted background (#070a0d).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070a0dblack |
| Foreground | #010304black | #f6f7f9whitesmoke |
| Card | #ffffffwhite | #070a0dblack |
| Card foreground | #010304black | #f6f7f9whitesmoke |
| Popover | #ffffffwhite | #070a0dblack |
| Popover foreground | #010304black | #f6f7f9whitesmoke |
| Primary | #77aedfcornflowerblue | #77aedfcornflowerblue |
| Primary foreground | #07131dblack | #07131dblack |
| Secondary | #77dfdcskyblue | #77dfdcskyblue |
| Secondary foreground | #071d1cblack | #071d1cblack |
| Muted | #e7eeeelavender | #111818black |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #777adfmediumslateblue | #777adfmediumslateblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #be2709firebrick | #f65b3ctomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #77aedfcornflowerblue | #77aedfcornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 11.12:1 | AAA |
| Muted text | 5.53:1 | AA |
| Accent | 5.63:1 | AA |
| Destructive | 6.02:1 | AA |
| Text on background | 18.47:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 7.96:1 | AAA |
| Secondary button | 11.12:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 5.63:1 | AA |
| Destructive | 6.47:1 | AA |
Paste this into your globals.css to use Vigorous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.09 0.01 235.863);
--muted: oklch(0.945 0.008 194.627);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.09 0.01 235.863);
--card: oklch(1 0 180);
--card-foreground: oklch(0.09 0.01 235.863);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.732 0.092 245.89);
--primary-foreground: oklch(0.179 0.028 245.764);
--secondary: oklch(0.84 0.098 192.613);
--secondary-foreground: oklch(0.212 0.028 192.293);
--accent: oklch(0.624 0.15 279.631);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.521 0.19 32.352);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.732 0.092 245.89);
--chart-1: oklch(0.732 0.092 245.89);
--chart-2: oklch(0.84 0.098 192.613);
--chart-3: oklch(0.624 0.15 279.631);
--chart-4: oklch(0.853 0.091 192.816);
--chart-5: oklch(0.732 0.096 246.002);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.009 242.428);
--foreground: oklch(0.977 0.003 244.127);
--muted: oklch(0.202 0.012 193.741);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.144 0.009 242.428);
--popover-foreground: oklch(0.977 0.003 244.127);
--card: oklch(0.144 0.009 242.428);
--card-foreground: oklch(0.977 0.003 244.127);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.732 0.092 245.89);
--primary-foreground: oklch(0.179 0.028 245.764);
--secondary: oklch(0.84 0.098 192.613);
--secondary-foreground: oklch(0.212 0.028 192.293);
--accent: oklch(0.624 0.15 279.631);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.671 0.195 33.203);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.732 0.092 245.89);
--chart-1: oklch(0.732 0.092 245.89);
--chart-2: oklch(0.84 0.098 192.613);
--chart-3: oklch(0.624 0.15 279.631);
--chart-4: oklch(0.853 0.091 192.816);
--chart-5: oklch(0.732 0.096 246.002);
}