Vitesse Light Soft for shadcn/ui

Vitesse Light Soft is a shadcn/ui theme built around a neutral gray primary color (#3a3b35) with muted light yellow accents (#d3d0bb). The light mode uses a yellow-tinted background (#f1f0e9). Dark mode keeps the neutral gray primary (#3a3b35) on a yellow-tinted background (#f1f0e9).

Color palette

TokenLightDark
Background
#f1f0e9linen
#f1f0e9linen
Foreground
#3a3b35darkslategray
#3a3b35darkslategray
Card
#edece3beige
#edece3beige
Card foreground
#2d2e29darkslategray
#2d2e29darkslategray
Popover
#ebeae0beige
#ebeae0beige
Popover foreground
#20201dblack
#20201dblack
Primary
#3a3b35darkslategray
#3a3b35darkslategray
Primary foreground
#d3d3cflightgrey
#d3d3cflightgrey
Secondary
#bfbfbfsilver
#bfbfbfsilver
Secondary foreground
#262626darkslategray
#262626darkslategray
Muted
#e6e6e0gainsboro
#e6e6e0gainsboro
Muted foreground
#535141darkolivegreen
#535141darkolivegreen
Accent
#d3d0bblightgrey
#d3d0bblightgrey
Accent foreground
#383624darkslategray
#383624darkslategray
Destructive
#c02a0cfirebrick
#c02a0cfirebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e4e3ddgainsboro
#e4e3ddgainsboro
Input
#dddcd4gainsboro
#dddcd4gainsboro
Ring
#3a3b35darkslategray
#3a3b35darkslategray

Contrast

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

Light mode
Text on background9.91:1AAA
Text on card11.52:1AAA
Primary button7.53:1AAA
Secondary button8.25:1AAA
Muted text6.37:1AA
Accent7.87:1AAA
Destructive5.87:1AA
Dark mode
Text on background9.91:1AAA
Text on card11.52:1AAA
Primary button7.53:1AAA
Secondary button8.25:1AAA
Muted text6.37:1AA
Accent7.87:1AAA
Destructive5.87:1AA

CSS variables

Paste this into your globals.css to use Vitesse Light Soft in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.954 0.009 100.478);
  --foreground: oklch(0.349 0.01 114.576);
  --muted: oklch(0.922 0.008 100.463);
  --muted-foreground: oklch(0.431 0.025 101.14);
  --popover: oklch(0.934 0.013 99.544);
  --popover-foreground: oklch(0.242 0.006 114.506);
  --card: oklch(0.941 0.012 99.523);
  --card-foreground: oklch(0.297 0.008 114.549);
  --border: oklch(0.915 0.009 99.479);
  --input: oklch(0.894 0.011 99.517);
  --primary: oklch(0.349 0.01 114.576);
  --primary-foreground: oklch(0.866 0.006 114.201);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.855 0.03 100.837);
  --accent-foreground: oklch(0.328 0.03 101.502);
  --destructive: oklch(0.527 0.189 32.519);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.349 0.01 114.576);
  --chart-1: oklch(0.349 0.01 114.576);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.855 0.03 100.837);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.354 0.015 114.864);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.954 0.009 100.478);
  --foreground: oklch(0.349 0.01 114.576);
  --muted: oklch(0.922 0.008 100.463);
  --muted-foreground: oklch(0.431 0.025 101.14);
  --popover: oklch(0.934 0.013 99.544);
  --popover-foreground: oklch(0.242 0.006 114.506);
  --card: oklch(0.941 0.012 99.523);
  --card-foreground: oklch(0.297 0.008 114.549);
  --border: oklch(0.915 0.009 99.479);
  --input: oklch(0.894 0.011 99.517);
  --primary: oklch(0.349 0.01 114.576);
  --primary-foreground: oklch(0.866 0.006 114.201);
  --secondary: oklch(0.805 0 169.695);
  --secondary-foreground: oklch(0.27 0 180);
  --accent: oklch(0.855 0.03 100.837);
  --accent-foreground: oklch(0.328 0.03 101.502);
  --destructive: oklch(0.527 0.189 32.519);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.349 0.01 114.576);
  --chart-1: oklch(0.349 0.01 114.576);
  --chart-2: oklch(0.805 0 169.695);
  --chart-3: oklch(0.855 0.03 100.837);
  --chart-4: oklch(0.829 0 180);
  --chart-5: oklch(0.354 0.015 114.864);
}