Veltliner White Damselfly for shadcn/ui

Veltliner White Damselfly is a shadcn/ui theme built around a muted light yellow primary color (#d6d7c1) with muted light indigo accents (#c2c1d7). The light mode uses a neutral background (#fefefb). Dark mode keeps the muted light yellow primary (#d6d7c1) on a neutral background (#040401).

Color palette

TokenLightDark
Background
#fefefbwhite
#040401black
Foreground
#111202black
#fdfdfcwhite
Card
#fdfdf7snow
#070803black
Card foreground
#0d0e02black
#ffffffwhite
Popover
#fefefbwhite
#040401black
Popover foreground
#111202black
#fdfdfcwhite
Primary
#d6d7c1lightgrey
#d6d7c1lightgrey
Primary foreground
#3d3e28darkslategray
#3d3e28darkslategray
Secondary
#c2c1d7lightsteelblue
#c2c1d7lightsteelblue
Secondary foreground
#29283edarkslategray
#29283edarkslategray
Muted
#dedee3gainsboro
#1c1c21black
Muted foreground
#454450darkslategray
#b0afbbdarkgray
Accent
#c2c1d7lightsteelblue
#c2c1d7lightsteelblue
Accent foreground
#29283edarkslategray
#29283edarkslategray
Destructive
#830f07maroon
#f32112red
Destructive foreground
#fcc4c0pink
#ffffffwhite
Border
#eeeeecwhitesmoke
#23231fblack
Input
#eeeeecwhitesmoke
#23231fblack
Ring
#d6d7c1lightgrey
#d6d7c1lightgrey

Contrast

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

Light mode
Text on background18.70:1AAA
Text on card19.04:1AAA
Primary button7.48:1AAA
Secondary button8.10:1AAA
Muted text7.13:1AAA
Accent8.10:1AAA
Destructive6.78:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.12:1AAA
Primary button7.48:1AAA
Secondary button8.10:1AAA
Muted text7.81:1AAA
Accent8.10:1AAA
Destructive4.18:1AA Large

CSS variables

Paste this into your globals.css to use Veltliner White Damselfly in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.996 0.004 109.56);
  --foreground: oklch(0.177 0.034 112.37);
  --muted: oklch(0.902 0.007 289.341);
  --muted-foreground: oklch(0.392 0.02 288.506);
  --popover: oklch(0.996 0.004 109.56);
  --popover-foreground: oklch(0.177 0.034 112.37);
  --card: oklch(0.993 0.009 109.642);
  --card-foreground: oklch(0.157 0.029 111.994);
  --border: oklch(0.949 0.003 109.534);
  --input: oklch(0.949 0.003 109.534);
  --primary: oklch(0.873 0.03 110.115);
  --primary-foreground: oklch(0.357 0.036 111.319);
  --secondary: oklch(0.818 0.031 288.75);
  --secondary-foreground: oklch(0.288 0.041 286.601);
  --accent: oklch(0.818 0.031 288.75);
  --accent-foreground: oklch(0.288 0.041 286.601);
  --destructive: oklch(0.39 0.149 29.755);
  --destructive-foreground: oklch(0.869 0.064 23.188);
  --ring: oklch(0.873 0.03 110.115);
  --chart-1: oklch(0.873 0.03 110.115);
  --chart-2: oklch(0.818 0.031 288.75);
  --chart-3: oklch(0.818 0.031 288.75);
  --chart-4: oklch(0.846 0.026 288.887);
  --chart-5: oklch(0.876 0.034 110.196);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.102 0.012 110.926);
  --foreground: oklch(0.994 0.002 109.511);
  --muted: oklch(0.23 0.009 288.698);
  --muted-foreground: oklch(0.759 0.017 289.061);
  --popover: oklch(0.102 0.012 110.926);
  --popover-foreground: oklch(0.994 0.002 109.511);
  --card: oklch(0.129 0.015 110.926);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.255 0.007 110.006);
  --input: oklch(0.255 0.007 110.006);
  --primary: oklch(0.873 0.03 110.115);
  --primary-foreground: oklch(0.357 0.036 111.319);
  --secondary: oklch(0.818 0.031 288.75);
  --secondary-foreground: oklch(0.288 0.041 286.601);
  --accent: oklch(0.818 0.031 288.75);
  --accent-foreground: oklch(0.288 0.041 286.601);
  --destructive: oklch(0.614 0.239 29.742);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.873 0.03 110.115);
  --chart-1: oklch(0.873 0.03 110.115);
  --chart-2: oklch(0.818 0.031 288.75);
  --chart-3: oklch(0.818 0.031 288.75);
  --chart-4: oklch(0.846 0.026 288.887);
  --chart-5: oklch(0.876 0.034 110.196);
}