Artery is a shadcn/ui theme built around a muted deep blue primary color (#111318) with muted deep yellow accents (#181611). The light mode uses a neutral background (#f6f8fd). Dark mode keeps the muted deep blue primary (#111318) on a blue-tinted background (#06080f).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f8fdghostwhite | #06080fblack |
| Foreground | #03050cblack | #fcfcfdwhite |
| Card | #f6f8fdghostwhite | #06080fblack |
| Card foreground | #03050cblack | #fcfcfdwhite |
| Popover | #f6f8fdghostwhite | #06080fblack |
| Popover foreground | #03050cblack | #fcfcfdwhite |
| Primary | #111318black | #111318black |
| Primary foreground | #a0a6bbdarkgray | #a0a6bbdarkgray |
| Secondary | #181611black | #181611black |
| Secondary foreground | #bbb5a0darkgray | #bbb5a0darkgray |
| Muted | #e5e3dcgainsboro | #23211ablack |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #181611black | #181611black |
| Accent foreground | #bbb5a0darkgray | #bbb5a0darkgray |
| Destructive | #941210darkred | #d91a17crimson |
| Destructive foreground | #fbdbdamistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #111318black | #111318black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 8.79:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 8.79:1 | AAA |
| Destructive | 6.92:1 | AA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 8.79:1 | AAA |
| Muted text | 7.86:1 | AAA |
| Accent | 8.79:1 | AAA |
| Destructive | 5.11:1 | AA |
Paste this into your globals.css to use Artery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 272.577);
--foreground: oklch(0.117 0.019 264.886);
--muted: oklch(0.915 0.009 92.753);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.979 0.007 272.577);
--popover-foreground: oklch(0.117 0.019 264.886);
--card: oklch(0.979 0.007 272.577);
--card-foreground: oklch(0.117 0.019 264.886);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.185 0.011 271.94);
--primary-foreground: oklch(0.727 0.032 272.158);
--secondary: oklch(0.201 0.011 93.07);
--secondary-foreground: oklch(0.772 0.03 92.991);
--accent: oklch(0.201 0.011 93.07);
--accent-foreground: oklch(0.772 0.03 92.991);
--destructive: oklch(0.426 0.163 28.302);
--destructive-foreground: oklch(0.917 0.036 18.991);
--ring: oklch(0.185 0.011 271.94);
--chart-1: oklch(0.185 0.011 271.94);
--chart-2: oklch(0.201 0.011 93.07);
--chart-3: oklch(0.201 0.011 93.07);
--chart-4: oklch(0.237 0.014 93.099);
--chart-5: oklch(0.184 0.013 271.784);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.017 268.023);
--foreground: oklch(0.991 0.001 272.643);
--muted: oklch(0.247 0.012 93.057);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.134 0.017 268.023);
--popover-foreground: oklch(0.991 0.001 272.643);
--card: oklch(0.134 0.017 268.023);
--card-foreground: oklch(0.991 0.001 272.643);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.185 0.011 271.94);
--primary-foreground: oklch(0.727 0.032 272.158);
--secondary: oklch(0.201 0.011 93.07);
--secondary-foreground: oklch(0.772 0.03 92.991);
--accent: oklch(0.201 0.011 93.07);
--accent-foreground: oklch(0.772 0.03 92.991);
--destructive: oklch(0.564 0.22 28.58);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.185 0.011 271.94);
--chart-1: oklch(0.185 0.011 271.94);
--chart-2: oklch(0.201 0.011 93.07);
--chart-3: oklch(0.201 0.011 93.07);
--chart-4: oklch(0.237 0.014 93.099);
--chart-5: oklch(0.184 0.013 271.784);
}