Vast is a shadcn/ui theme built around a vivid light blue primary color (#ebf1ff) with vivid light yellow accents (#fff9eb). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light blue primary (#ebf1ff) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040916black | #f8f9fbghostwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #030711black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #030711black | #fcfcfdwhite |
| Primary | #ebf1ffaliceblue | #ebf1ffaliceblue |
| Primary foreground | #0338b5mediumblue | #0338b5mediumblue |
| Secondary | #fff9ebseashell | #fff9ebseashell |
| Secondary foreground | #503901saddlebrown | #503901saddlebrown |
| Muted | #e2e0dagainsboro | #25231dblack |
| Muted foreground | #6e6859dimgray | #a6a091darkgray |
| Accent | #fff9ebseashell | #fff9ebseashell |
| Accent foreground | #503901saddlebrown | #503901saddlebrown |
| Destructive | #c82914firebrick | #ed5945tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebf1ffaliceblue | #ebf1ffaliceblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 10.35:1 | AAA |
| Muted text | 4.18:1 | AA Large |
| Accent | 10.35:1 | AAA |
| Destructive | 5.57:1 | AA |
| Text on background | 19.93:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 10.35:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 10.35:1 | AAA |
| Destructive | 6.10:1 | AA |
Paste this into your globals.css to use Vast in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.142 0.03 261.061);
--muted: oklch(0.906 0.009 87.468);
--muted-foreground: oklch(0.518 0.025 87.57);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.131 0.025 259.276);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.131 0.025 259.276);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.957 0.02 267.29);
--primary-foreground: oklch(0.41 0.202 263.081);
--secondary: oklch(0.982 0.019 87.51);
--secondary-foreground: oklch(0.361 0.074 81.884);
--accent: oklch(0.982 0.019 87.51);
--accent-foreground: oklch(0.361 0.074 81.884);
--destructive: oklch(0.54 0.197 31.024);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.957 0.02 267.29);
--chart-1: oklch(0.957 0.02 267.29);
--chart-2: oklch(0.982 0.019 87.51);
--chart-3: oklch(0.982 0.019 87.51);
--chart-4: oklch(0.996 0.005 87.445);
--chart-5: oklch(0.957 0.02 267.286);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.003 267.402);
--muted: oklch(0.256 0.012 87.568);
--muted-foreground: oklch(0.707 0.023 87.549);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.991 0.001 267.411);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.001 267.411);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.957 0.02 267.29);
--primary-foreground: oklch(0.41 0.202 263.081);
--secondary: oklch(0.982 0.019 87.51);
--secondary-foreground: oklch(0.361 0.074 81.884);
--accent: oklch(0.982 0.019 87.51);
--accent-foreground: oklch(0.361 0.074 81.884);
--destructive: oklch(0.656 0.186 30.297);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.957 0.02 267.29);
--chart-1: oklch(0.957 0.02 267.29);
--chart-2: oklch(0.982 0.019 87.51);
--chart-3: oklch(0.982 0.019 87.51);
--chart-4: oklch(0.996 0.005 87.445);
--chart-5: oklch(0.957 0.02 267.286);
}