Vigorous is a shadcn/ui theme built around a neutral gray primary color (#3a3b35) with neutral gray accents (#3b353a). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the neutral gray primary (#3a3b35) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #000000black |
| Foreground | #0e1004black | #fdfdfcwhite |
| Card | #fbfcf8snow | #000000black |
| Card foreground | #0e1004black | #fdfdfcwhite |
| Popover | #fbfcf8snow | #000000black |
| Popover foreground | #0e1004black | #fdfdfcwhite |
| Primary | #3a3b35darkslategray | #3a3b35darkslategray |
| Primary foreground | #d2d3cflightgrey | #d2d3cflightgrey |
| Secondary | #353a3bdarkslategray | #353a3bdarkslategray |
| Secondary foreground | #cfd2d3lightgrey | #cfd2d3lightgrey |
| Muted | #e4eaeclavender | #13191bblack |
| Muted foreground | #464c4edarkslategray | #b1b7b9silver |
| Accent | #3b353adarkslategray | #3b353adarkslategray |
| Accent foreground | #d3cfd2lightgrey | #d3cfd2lightgrey |
| Destructive | #b23d0afirebrick | #d94a0dchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3a3b35darkslategray | #3a3b35darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.60:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 7.20:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 5.88:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 8.73:1 | AAA |
| Accent | 7.73:1 | AAA |
| Destructive | 4.26:1 | AA Large |
Paste this into your globals.css to use Vigorous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 116.425);
--foreground: oklch(0.167 0.026 118.296);
--muted: oklch(0.934 0.007 216.046);
--muted-foreground: oklch(0.412 0.008 216.109);
--popover: oklch(0.989 0.005 116.425);
--popover-foreground: oklch(0.167 0.026 118.296);
--card: oklch(0.989 0.005 116.425);
--card-foreground: oklch(0.167 0.026 118.296);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.349 0.01 116.834);
--primary-foreground: oklch(0.866 0.006 116.463);
--secondary: oklch(0.344 0.006 216.103);
--secondary-foreground: oklch(0.863 0.004 216.032);
--accent: oklch(0.338 0.011 333.106);
--accent-foreground: oklch(0.859 0.007 332.743);
--destructive: oklch(0.522 0.162 38.988);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.349 0.01 116.834);
--chart-1: oklch(0.349 0.01 116.834);
--chart-2: oklch(0.344 0.006 216.103);
--chart-3: oklch(0.338 0.011 333.106);
--chart-4: oklch(0.373 0.007 216.106);
--chart-5: oklch(0.354 0.015 117.119);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 116.375);
--muted: oklch(0.209 0.01 216.373);
--muted-foreground: oklch(0.776 0.007 216.05);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 116.375);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 116.375);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.349 0.01 116.834);
--primary-foreground: oklch(0.866 0.006 116.463);
--secondary: oklch(0.344 0.006 216.103);
--secondary-foreground: oklch(0.863 0.004 216.032);
--accent: oklch(0.338 0.011 333.106);
--accent-foreground: oklch(0.859 0.007 332.743);
--destructive: oklch(0.602 0.189 38.672);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.349 0.01 116.834);
--chart-1: oklch(0.349 0.01 116.834);
--chart-2: oklch(0.344 0.006 216.103);
--chart-3: oklch(0.338 0.011 333.106);
--chart-4: oklch(0.373 0.007 216.106);
--chart-5: oklch(0.354 0.015 117.119);
}