Vast for shadcn/ui

Vast is a shadcn/ui theme built around a muted light cyan primary color (#d1e3e5) with muted light cyan accents (#bacdcf). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the muted light cyan primary (#d1e3e5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#000000black
Foreground
#000000black
#fcfdfdwhite
Card
#f4fafamintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f4fafamintcream
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#d1e3e5gainsboro
#d1e3e5gainsboro
Primary foreground
#305155darkslategray
#305155darkslategray
Secondary
#cfd7d8lightgrey
#253537darkslategray
Secondary foreground
#344041darkslategray
#bccfd2lightsteelblue
Muted
#dde3e4gainsboro
#1b2222black
Muted foreground
#5f6c6ddimgray
#929fa0darkgray
Accent
#bacdcflightsteelblue
#2e4e52darkslategray
Accent foreground
#243233darkslategray
#cee1e3gainsboro
Destructive
#7b170amaroon
#ef4e39tomato
Destructive foreground
#fac4bdlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d1e3e5gainsboro
#d1e3e5gainsboro

Contrast

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

Light mode
Text on background20.25:1AAA
Text on card19.88:1AAA
Primary button6.52:1AA
Secondary button7.36:1AAA
Muted text4.20:1AA Large
Accent8.04:1AAA
Destructive6.97:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button6.52:1AA
Secondary button7.91:1AAA
Muted text5.94:1AA
Accent6.66:1AA
Destructive3.60:1AA Large

CSS variables

Paste this into your globals.css to use Vast in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 204.96);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.912 0.007 204.93);
  --muted-foreground: oklch(0.52 0.016 204.791);
  --popover: oklch(0.98 0.006 204.945);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.006 204.945);
  --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.904 0.019 204.84);
  --primary-foreground: oklch(0.411 0.039 204.76);
  --secondary: oklch(0.874 0.009 204.91);
  --secondary-foreground: oklch(0.361 0.015 204.736);
  --accent: oklch(0.834 0.021 204.82);
  --accent-foreground: oklch(0.304 0.019 204.688);
  --destructive: oklch(0.38 0.136 31.04);
  --destructive-foreground: oklch(0.866 0.063 27.09);
  --ring: oklch(0.904 0.019 204.84);
  --chart-1: oklch(0.904 0.019 204.84);
  --chart-2: oklch(0.874 0.009 204.91);
  --chart-3: oklch(0.834 0.021 204.82);
  --chart-4: oklch(0.897 0.008 204.925);
  --chart-5: oklch(0.905 0.021 204.827);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 204.981);
  --muted: oklch(0.244 0.01 204.747);
  --muted-foreground: oklch(0.692 0.015 204.841);
  --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.904 0.019 204.84);
  --primary-foreground: oklch(0.411 0.039 204.76);
  --secondary: oklch(0.315 0.021 204.686);
  --secondary-foreground: oklch(0.842 0.021 204.82);
  --accent: oklch(0.401 0.038 204.757);
  --accent-foreground: oklch(0.897 0.021 204.83);
  --destructive: oklch(0.645 0.201 30.683);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.904 0.019 204.84);
  --chart-1: oklch(0.904 0.019 204.84);
  --chart-2: oklch(0.315 0.021 204.686);
  --chart-3: oklch(0.401 0.038 204.757);
  --chart-4: oklch(0.348 0.024 204.685);
  --chart-5: oklch(0.905 0.021 204.827);
}