Veel Colors is a shadcn/ui theme built around a vivid indigo primary color (#4119f4) with vivid indigo accents (#280acf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid indigo primary (#4119f4) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020402black |
| Foreground | #1f1f1fblack | #f7faf4whitesmoke |
| Card | #ffffffwhite | #121212black |
| Card foreground | #1f1f1fblack | #f7faf4whitesmoke |
| Popover | #ffffffwhite | #121212black |
| Popover foreground | #1f1f1fblack | #f7faf4whitesmoke |
| Primary | #4119f4blue | #4119f4blue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #eee6fflavender | #eee6fflavender |
| Secondary foreground | #4119f4blue | #1f1f1fblack |
| Muted | #d9d9d9gainsboro | #0e1115black |
| Muted foreground | #595959dimgray | #a2a3a4darkgray |
| Accent | #280acfmediumblue | #280acfmediumblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ff4d4ftomato | #ff4d4ftomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #d9d9d9gainsboro | #474747darkslategray |
| Input | #d9d9d9gainsboro | #474747darkslategray |
| Ring | #4119f4blue | #4119f4blue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.48:1 | AAA |
| Text on card | 16.48:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 6.51:1 | AA |
| Muted text | 4.96:1 | AA |
| Accent | 10.32:1 | AAA |
| Destructive | 3.26:1 | AA Large |
| Text on background | 19.55:1 | AAA |
| Text on card | 17.78:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 13.65:1 | AAA |
| Muted text | 7.47:1 | AAA |
| Accent | 10.32:1 | AAA |
| Destructive | 3.26:1 | AA Large |
Paste this into your globals.css to use Veel Colors in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.239 0 180);
--muted: oklch(0.885 0 172.405);
--muted-foreground: oklch(0.464 0 169.695);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.239 0 180);
--card: oklch(1 0 180);
--card-foreground: oklch(0.239 0 180);
--border: oklch(0.885 0 172.405);
--input: oklch(0.885 0 172.405);
--primary: oklch(0.471 0.283 274.669);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.939 0.034 300.31);
--secondary-foreground: oklch(0.471 0.283 274.669);
--accent: oklch(0.403 0.257 270.747);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.673 0.214 24.468);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.471 0.283 274.669);
--chart-1: oklch(0.471 0.283 274.669);
--chart-2: oklch(0.543 0.252 285.684);
--chart-3: oklch(0.673 0.214 24.468);
--chart-4: oklch(0.802 0.165 75.995);
--chart-5: oklch(0.726 0.218 138.489);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.012 130.673);
--foreground: oklch(0.982 0.009 131.798);
--muted: oklch(0.177 0.01 256.797);
--muted-foreground: oklch(0.715 0.002 256.662);
--popover: oklch(0.182 0 169.695);
--popover-foreground: oklch(0.982 0.009 131.798);
--card: oklch(0.182 0 169.695);
--card-foreground: oklch(0.982 0.009 131.798);
--border: oklch(0.398 0 170.538);
--input: oklch(0.398 0 170.538);
--primary: oklch(0.471 0.283 274.669);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.939 0.034 300.31);
--secondary-foreground: oklch(0.239 0 180);
--accent: oklch(0.403 0.257 270.747);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.673 0.214 24.468);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.471 0.283 274.669);
--chart-1: oklch(0.471 0.283 274.669);
--chart-2: oklch(0.543 0.252 285.684);
--chart-3: oklch(0.673 0.214 24.468);
--chart-4: oklch(0.802 0.165 75.995);
--chart-5: oklch(0.726 0.218 138.489);
}