Vector is a shadcn/ui theme built around a light teal primary color (#ade1e1) with light blue accents (#adc7e1). The light mode uses a neutral background (#fbfefe). Dark mode keeps the light teal primary (#ade1e1) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #000000black |
| Foreground | #010505black | #fcfdfdwhite |
| Card | #f7fdfdmintcream | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fdfdmintcream | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #ade1e1powderblue | #ade1e1powderblue |
| Primary foreground | #184343darkslategray | #184343darkslategray |
| Secondary | #ade1c7powderblue | #ade1c7powderblue |
| Secondary foreground | #18432edarkslategray | #18432edarkslategray |
| Muted | #cbe7d9gainsboro | #183426darkslategray |
| Muted foreground | #566c61dimgray | #93a99edarkseagreen |
| Accent | #adc7e1lightsteelblue | #adc7e1lightsteelblue |
| Accent foreground | #182e43darkslategray | #182e43darkslategray |
| Destructive | #b72801firebrick | #fe582atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ade1e1powderblue | #ade1e1powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.18:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 4.28:1 | AA Large |
| Accent | 7.95:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.62:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 5.39:1 | AA |
| Accent | 7.95:1 | AAA |
| Destructive | 6.63:1 | AA |
Paste this into your globals.css to use Vector in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 197.11);
--foreground: oklch(0.102 0.014 195.124);
--muted: oklch(0.903 0.035 164.1);
--muted-foreground: oklch(0.509 0.031 163.461);
--popover: oklch(0.989 0.006 197.061);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.006 197.061);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.874 0.054 196.206);
--primary-foreground: oklch(0.355 0.047 195.235);
--secondary: oklch(0.867 0.065 162.974);
--secondary-foreground: oklch(0.347 0.061 158.882);
--accent: oklch(0.818 0.047 248.401);
--accent-foreground: oklch(0.294 0.048 249.777);
--destructive: oklch(0.508 0.183 33.817);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.874 0.054 196.206);
--chart-1: oklch(0.874 0.054 196.206);
--chart-2: oklch(0.867 0.065 162.974);
--chart-3: oklch(0.818 0.047 248.401);
--chart-4: oklch(0.884 0.057 163.336);
--chart-5: oklch(0.877 0.057 196.158);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 197.147);
--muted: oklch(0.298 0.042 160.536);
--muted-foreground: oklch(0.714 0.028 164.06);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.874 0.054 196.206);
--primary-foreground: oklch(0.355 0.047 195.235);
--secondary: oklch(0.867 0.065 162.974);
--secondary-foreground: oklch(0.347 0.061 158.882);
--accent: oklch(0.818 0.047 248.401);
--accent-foreground: oklch(0.294 0.048 249.777);
--destructive: oklch(0.679 0.21 35.628);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.874 0.054 196.206);
--chart-1: oklch(0.874 0.054 196.206);
--chart-2: oklch(0.867 0.065 162.974);
--chart-3: oklch(0.818 0.047 248.401);
--chart-4: oklch(0.884 0.057 163.336);
--chart-5: oklch(0.877 0.057 196.158);
}