Quiet Light for VSC for shadcn/ui

Quiet Light for VSC is a shadcn/ui theme built around a blue primary color (#4b84ce) with neutral gray accents (#cfcfcf). The light mode uses a neutral background (#f5f5f5). Dark mode keeps the blue primary (#4b84ce) on a neutral background (#f5f5f5).

Color palette

TokenLightDark
Background
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Foreground
#333333darkslategray
#333333darkslategray
Card
#f0f0f0whitesmoke
#f0f0f0whitesmoke
Card foreground
#262626darkslategray
#262626darkslategray
Popover
#edededwhitesmoke
#edededwhitesmoke
Popover foreground
#1a1a1ablack
#1a1a1ablack
Primary
#4b84cesteelblue
#4b84cesteelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#acbdd2lightsteelblue
#acbdd2lightsteelblue
Secondary foreground
#1b2532darkslategray
#1b2532darkslategray
Muted
#e9e2e2gainsboro
#e9e2e2gainsboro
Muted foreground
#564343darkslategray
#564343darkslategray
Accent
#cfcfcflightgrey
#cfcfcflightgrey
Accent foreground
#363636darkslategray
#363636darkslategray
Destructive
#d01411firebrick
#d01411firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e8e8lavender
#e8e8e8lavender
Input
#e0e0e0gainsboro
#e0e0e0gainsboro
Ring
#4b84cesteelblue
#4b84cesteelblue

Contrast

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

Light mode
Text on background11.56:1AAA
Text on card13.24:1AAA
Primary button3.84:1AA Large
Secondary button8.06:1AAA
Muted text7.22:1AAA
Accent7.72:1AAA
Destructive5.55:1AA
Dark mode
Text on background11.56:1AAA
Text on card13.24:1AAA
Primary button3.84:1AA Large
Secondary button8.06:1AAA
Muted text7.22:1AAA
Accent7.72:1AAA
Destructive5.55:1AA

CSS variables

Paste this into your globals.css to use Quiet Light for VSC in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.97 0 180);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.947 0 180);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.954 0 180);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.931 0 180);
  --input: oklch(0.908 0 180);
  --primary: oklch(0.607 0.128 255.84);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.792 0.036 255.152);
  --secondary-foreground: oklch(0.26 0.028 255.34);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.544 0.215 28.783);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.607 0.128 255.84);
  --chart-1: oklch(0.607 0.128 255.84);
  --chart-2: oklch(0.792 0.036 255.152);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.817 0.031 255.127);
  --chart-5: oklch(0.607 0.135 255.929);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.97 0 180);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.947 0 180);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.954 0 180);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.931 0 180);
  --input: oklch(0.908 0 180);
  --primary: oklch(0.607 0.128 255.84);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.792 0.036 255.152);
  --secondary-foreground: oklch(0.26 0.028 255.34);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.544 0.215 28.783);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.607 0.128 255.84);
  --chart-1: oklch(0.607 0.128 255.84);
  --chart-2: oklch(0.792 0.036 255.152);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.817 0.031 255.127);
  --chart-5: oklch(0.607 0.135 255.929);
}