Vascular is a shadcn/ui theme built around a muted deep teal primary color (#304b3e) with muted deep teal accents (#304a4b). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep teal primary (#304b3e) on a teal-tinted background (#04100b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04100bblack |
| Foreground | #010905black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #05140dblack |
| Card foreground | #010503black | #ffffffwhite |
| Popover | #fcfcfcsnow | #05140dblack |
| Popover foreground | #010503black | #ffffffwhite |
| Primary | #304b3edarkslategray | #304b3edarkslategray |
| Primary foreground | #cddfd7lightgrey | #cddfd7lightgrey |
| Secondary | #304b31darkslategray | #304b31darkslategray |
| Secondary foreground | #cddfcelightgrey | #cddfcelightgrey |
| Muted | #dae2dagainsboro | #1d251dblack |
| Muted foreground | #5b5d5bdimgray | #a2a4a2darkgray |
| Accent | #304a4bdarkslategray | #304a4bdarkslategray |
| Accent foreground | #cddfdfgainsboro | #cddfdfgainsboro |
| Destructive | #8e2c06saddlebrown | #f55414orangered |
| Destructive foreground | #fdd8c9bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #304b3edarkslategray | #304b3edarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.14:1 | AAA |
| Text on card | 20.06:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 5.02:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 6.28:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 6.24:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 3.40: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.127 0.022 167.18);
--muted: oklch(0.904 0.015 146.4);
--muted-foreground: oklch(0.475 0.004 146.474);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.101 0.017 167.18);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.101 0.017 167.18);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.386 0.039 163.727);
--primary-foreground: oklch(0.888 0.022 166.208);
--secondary: oklch(0.382 0.055 145.189);
--secondary-foreground: oklch(0.886 0.03 146.238);
--accent: oklch(0.388 0.032 198.661);
--accent-foreground: oklch(0.89 0.019 199.328);
--destructive: oklch(0.439 0.139 38.096);
--destructive-foreground: oklch(0.909 0.046 42.757);
--ring: oklch(0.386 0.039 163.727);
--chart-1: oklch(0.386 0.039 163.727);
--chart-2: oklch(0.382 0.055 145.189);
--chart-3: oklch(0.388 0.032 198.661);
--chart-4: oklch(0.413 0.06 145.162);
--chart-5: oklch(0.39 0.044 163.294);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.022 164.652);
--foreground: oklch(0.993 0.002 166.863);
--muted: oklch(0.255 0.02 145.839);
--muted-foreground: oklch(0.717 0.003 146.501);
--popover: oklch(0.175 0.026 163.012);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.175 0.026 163.012);
--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.386 0.039 163.727);
--primary-foreground: oklch(0.888 0.022 166.208);
--secondary: oklch(0.382 0.055 145.189);
--secondary-foreground: oklch(0.886 0.03 146.238);
--accent: oklch(0.388 0.032 198.661);
--accent-foreground: oklch(0.89 0.019 199.328);
--destructive: oklch(0.659 0.208 38.088);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.386 0.039 163.727);
--chart-1: oklch(0.386 0.039 163.727);
--chart-2: oklch(0.382 0.055 145.189);
--chart-3: oklch(0.388 0.032 198.661);
--chart-4: oklch(0.413 0.06 145.162);
--chart-5: oklch(0.39 0.044 163.294);
}