Vascular is a shadcn/ui theme built around a neutral gray primary color (#d6dbdb) with neutral gray accents (#dbdbd6). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#d6dbdb) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030707black |
| Foreground | #010909black | #f5fafamintcream |
| Card | #fcfcfcsnow | #040b0bblack |
| Card foreground | #010505black | #f8fcfbmintcream |
| Popover | #fcfcfcsnow | #040b0bblack |
| Popover foreground | #010505black | #f8fcfbmintcream |
| Primary | #d6dbdbgainsboro | #d6dbdbgainsboro |
| Primary foreground | #3c4443darkslategray | #3c4443darkslategray |
| Secondary | #dbd6dbgainsboro | #dbd6dbgainsboro |
| Secondary foreground | #433c44darkslategray | #433c44darkslategray |
| Muted | #e8d8e8gainsboro | #261727black |
| Muted foreground | #444144darkslategray | #bebbbesilver |
| Accent | #dbdbd6gainsboro | #dbdbd6gainsboro |
| Accent foreground | #44433cdarkslategray | #44433cdarkslategray |
| Destructive | #c20a0afirebrick | #ed0c0cred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d6dbdbgainsboro | #d6dbdbgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 6.29:1 | AA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.46:1 | AAA |
| Muted text | 8.96:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 4.49:1 | AA Large |
Paste this into your globals.css to use Vascular in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.129 0.019 194.104);
--muted: oklch(0.901 0.027 325.308);
--muted-foreground: oklch(0.379 0.006 325.203);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.102 0.015 194.104);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.102 0.015 194.104);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.888 0.005 195.876);
--primary-foreground: oklch(0.378 0.01 195.514);
--secondary: oklch(0.882 0.008 325.163);
--secondary-foreground: oklch(0.366 0.016 325.406);
--accent: oklch(0.89 0.006 105.738);
--accent-foreground: oklch(0.382 0.012 106.182);
--destructive: oklch(0.514 0.207 28.776);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.888 0.005 195.876);
--chart-1: oklch(0.888 0.005 195.876);
--chart-2: oklch(0.882 0.008 325.163);
--chart-3: oklch(0.89 0.006 105.738);
--chart-4: oklch(0.906 0.006 325.149);
--chart-5: oklch(0.89 0.007 195.828);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.012 194.704);
--foreground: oklch(0.981 0.005 195.881);
--muted: oklch(0.231 0.038 326.148);
--muted-foreground: oklch(0.796 0.005 325.141);
--popover: oklch(0.142 0.013 194.636);
--popover-foreground: oklch(0.987 0.003 195.913);
--card: oklch(0.142 0.013 194.636);
--card-foreground: oklch(0.987 0.003 195.913);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.888 0.005 195.876);
--primary-foreground: oklch(0.378 0.01 195.514);
--secondary: oklch(0.882 0.008 325.163);
--secondary-foreground: oklch(0.366 0.016 325.406);
--accent: oklch(0.89 0.006 105.738);
--accent-foreground: oklch(0.382 0.012 106.182);
--destructive: oklch(0.598 0.241 28.871);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.888 0.005 195.876);
--chart-1: oklch(0.888 0.005 195.876);
--chart-2: oklch(0.882 0.008 325.163);
--chart-3: oklch(0.89 0.006 105.738);
--chart-4: oklch(0.906 0.006 325.149);
--chart-5: oklch(0.89 0.007 195.828);
}