Vast for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.88:1AAA
Text on card19.71:1AAA
Primary button8.28:1AAA
Secondary button10.35:1AAA
Muted text4.18:1AA Large
Accent10.35:1AAA
Destructive5.57:1AA
Dark mode
Text on background19.93:1AAA
Text on card20.16:1AAA
Primary button8.28:1AAA
Secondary button10.35:1AAA
Muted text6.02:1AA
Accent10.35:1AAA
Destructive6.10:1AA

CSS variables

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);
}