Vast for shadcn/ui

Vast is a shadcn/ui theme built around a light teal primary color (#d5f1ec) with light yellow accents (#f1ecd5). The light mode uses a neutral background (#fbfefd). Dark mode keeps the light teal primary (#d5f1ec) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefdwhite
#000000black
Foreground
#000000black
#ffffffwhite
Card
#f7fdfcmintcream
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdfcmintcream
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#d5f1eclavender
#d5f1eclavender
Primary foreground
#0b231eblack
#0b231eblack
Secondary
#ecd5f1lavender
#ecd5f1lavender
Secondary foreground
#612470rebeccapurple
#612470rebeccapurple
Muted
#e4dbe6gainsboro
#221924black
Muted foreground
#676567dimgray
#9a989adarkgray
Accent
#f1ecd5antiquewhite
#f1ecd5antiquewhite
Accent foreground
#231e0bblack
#231e0bblack
Destructive
#7f1605maroon
#f6472ctomato
Destructive foreground
#fcc3balightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d5f1eclavender
#d5f1eclavender

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.42:1AAA
Primary button13.85:1AAA
Secondary button7.67:1AAA
Muted text4.27:1AA Large
Accent13.98:1AAA
Destructive6.75:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button13.85:1AAA
Secondary button7.67:1AAA
Muted text5.95:1AA
Accent13.98:1AAA
Destructive3.57: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.995 0.004 183.085);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.901 0.019 319.45);
  --muted-foreground: oklch(0.509 0.004 319.446);
  --popover: oklch(0.989 0.007 182.985);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.007 182.985);
  --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.937 0.031 182.26);
  --primary-foreground: oklch(0.234 0.031 178.579);
  --secondary: oklch(0.899 0.046 319.458);
  --secondary-foreground: oklch(0.384 0.134 319.037);
  --accent: oklch(0.94 0.031 95.389);
  --accent-foreground: oklch(0.235 0.032 95.652);
  --destructive: oklch(0.388 0.142 31.628);
  --destructive-foreground: oklch(0.866 0.067 28.525);
  --ring: oklch(0.937 0.031 182.26);
  --chart-1: oklch(0.937 0.031 182.26);
  --chart-2: oklch(0.899 0.046 319.458);
  --chart-3: oklch(0.94 0.031 95.389);
  --chart-4: oklch(0.927 0.033 319.454);
  --chart-5: oklch(0.938 0.033 182.207);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.229 0.026 319.464);
  --muted-foreground: oklch(0.682 0.003 319.446);
  --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.937 0.031 182.26);
  --primary-foreground: oklch(0.234 0.031 178.579);
  --secondary: oklch(0.899 0.046 319.458);
  --secondary-foreground: oklch(0.384 0.134 319.037);
  --accent: oklch(0.94 0.031 95.389);
  --accent-foreground: oklch(0.235 0.032 95.652);
  --destructive: oklch(0.65 0.215 31.648);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.937 0.031 182.26);
  --chart-1: oklch(0.937 0.031 182.26);
  --chart-2: oklch(0.899 0.046 319.458);
  --chart-3: oklch(0.94 0.031 95.389);
  --chart-4: oklch(0.927 0.033 319.454);
  --chart-5: oklch(0.938 0.033 182.207);
}