Revascularisation is a shadcn/ui theme built around a neutral gray primary color (#2c302f) with neutral gray accents (#302f2c). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#2c302f) on a teal-tinted background (#030c0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030c0ablack |
| Foreground | #010404black | #fcfdfdwhite |
| Card | #ffffffwhite | #030c0ablack |
| Card foreground | #010404black | #fcfdfdwhite |
| Popover | #ffffffwhite | #030c0ablack |
| Popover foreground | #010404black | #fcfdfdwhite |
| Primary | #2c302fdarkslategray | #2c302fdarkslategray |
| Primary foreground | #c4cac9silver | #c4cac9silver |
| Secondary | #2f2c30darkslategray | #2f2c30darkslategray |
| Secondary foreground | #c9c4casilver | #c9c4casilver |
| Muted | #eee5f0lavender | #180f1ablack |
| Muted foreground | #4b424cdarkslategray | #bbb3bdsilver |
| Accent | #302f2cdarkslategray | #302f2cdarkslategray |
| Accent foreground | #cac9c4silver | #cac9c4silver |
| Destructive | #ae4309saddlebrown | #e4570cchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2c302fdarkslategray | #2c302fdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 7.84:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 5.80:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.03:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 9.18:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Revascularisation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.101 0.014 184.024);
--muted: oklch(0.932 0.018 320.008);
--muted-foreground: oklch(0.393 0.02 320.036);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.101 0.014 184.024);
--card: oklch(1 0 180);
--card-foreground: oklch(0.101 0.014 184.024);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.305 0.007 183.727);
--primary-foreground: oklch(0.833 0.006 184.108);
--secondary: oklch(0.297 0.01 320.021);
--secondary-foreground: oklch(0.826 0.009 320.001);
--accent: oklch(0.306 0.007 96.43);
--accent-foreground: oklch(0.834 0.006 96.261);
--destructive: oklch(0.523 0.153 42.273);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.305 0.007 183.727);
--chart-1: oklch(0.305 0.007 183.727);
--chart-2: oklch(0.297 0.01 320.021);
--chart-3: oklch(0.306 0.007 96.43);
--chart-4: oklch(0.327 0.011 320.022);
--chart-5: oklch(0.308 0.01 183.385);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.016 183.497);
--foreground: oklch(0.994 0.002 184.264);
--muted: oklch(0.185 0.026 320.093);
--muted-foreground: oklch(0.775 0.017 320.011);
--popover: oklch(0.143 0.016 183.497);
--popover-foreground: oklch(0.994 0.002 184.264);
--card: oklch(0.143 0.016 183.497);
--card-foreground: oklch(0.994 0.002 184.264);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.305 0.007 183.727);
--primary-foreground: oklch(0.833 0.006 184.108);
--secondary: oklch(0.297 0.01 320.021);
--secondary-foreground: oklch(0.826 0.009 320.001);
--accent: oklch(0.306 0.007 96.43);
--accent-foreground: oklch(0.834 0.006 96.261);
--destructive: oklch(0.636 0.189 41.749);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.305 0.007 183.727);
--chart-1: oklch(0.305 0.007 183.727);
--chart-2: oklch(0.297 0.01 320.021);
--chart-3: oklch(0.306 0.007 96.43);
--chart-4: oklch(0.327 0.011 320.022);
--chart-5: oklch(0.308 0.01 183.385);
}