snowplow-light for shadcn/ui

snowplow-light is a shadcn/ui theme built around a violet primary color (#6638b8) with muted light blue accents (#f3f4f6). The light mode uses a neutral background (#f9fafb). Dark mode switches to a muted light purple primary (#e7dbeb) on a purple-tinted background (#09040b).

Color palette

TokenLightDark
Background
#f9fafbghostwhite
#09040bblack
Foreground
#111827black
#fdfbfdsnow
Card
#ffffffwhite
#09040bblack
Card foreground
#111827black
#fdfbfdsnow
Popover
#ffffffwhite
#09040bblack
Popover foreground
#111827black
#fdfbfdsnow
Primary
#6638b8rebeccapurple
#e7dbebgainsboro
Primary foreground
#ffffffwhite
#54365edarkslateblue
Secondary
#ffffffwhite
#dfebdbgainsboro
Secondary foreground
#111827black
#141d11black
Muted
#e5e7eblavender
#0e130cblack
Muted foreground
#6b7280slategray
#b9bdb7silver
Accent
#f3f4f6whitesmoke
#dfebdbgainsboro
Accent foreground
#111827black
#141d11black
Destructive
#d43b11firebrick
#ec4213orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1b171cblack
Input
#ffffffwhite
#1b171cblack
Ring
#c2ade6lightsteelblue
#e7dbebgainsboro

Contrast

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

Light mode
Text on background16.97:1AAA
Text on card17.73:1AAA
Primary button7.43:1AAA
Secondary button17.73:1AAA
Muted text3.90:1AA Large
Accent16.11:1AAA
Destructive4.71:1AA
Dark mode
Text on background19.68:1AAA
Text on card19.68:1AAA
Primary button7.62:1AAA
Secondary button14.00:1AAA
Muted text9.88:1AAA
Accent14.00:1AAA
Destructive3.92:1AA Large

CSS variables

Paste this into your globals.css to use snowplow-light in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.002 247.839);
  --foreground: oklch(0.21 0.032 264.665);
  --muted: oklch(0.928 0.006 264.531);
  --muted-foreground: oklch(0.551 0.023 264.364);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.21 0.032 264.665);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.21 0.032 264.665);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(1 0 180);
  --primary: oklch(0.471 0.19 294.423);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.21 0.032 264.665);
  --accent: oklch(0.967 0.003 264.542);
  --accent-foreground: oklch(0.21 0.032 264.665);
  --destructive: oklch(0.579 0.196 34.714);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.785 0.083 301.386);
  --chart-1: oklch(0.906 0.024 317.72);
  --chart-2: oklch(0.926 0.024 137.807);
  --chart-3: oklch(0.926 0.024 137.807);
  --chart-4: oklch(0.946 0.017 137.794);
  --chart-5: oklch(0.905 0.026 317.716);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.02 319.102);
  --foreground: oklch(0.991 0.003 317.758);
  --muted: oklch(0.178 0.016 137.943);
  --muted-foreground: oklch(0.793 0.009 137.782);
  --popover: oklch(0.124 0.02 319.102);
  --popover-foreground: oklch(0.991 0.003 317.758);
  --card: oklch(0.124 0.02 319.102);
  --card-foreground: oklch(0.991 0.003 317.758);
  --border: oklch(0.211 0.011 317.674);
  --input: oklch(0.211 0.011 317.674);
  --primary: oklch(0.906 0.024 317.72);
  --primary-foreground: oklch(0.385 0.075 317.377);
  --secondary: oklch(0.926 0.024 137.807);
  --secondary-foreground: oklch(0.218 0.027 138.032);
  --accent: oklch(0.926 0.024 137.807);
  --accent-foreground: oklch(0.218 0.027 138.032);
  --destructive: oklch(0.626 0.213 34.626);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.906 0.024 317.72);
  --chart-1: oklch(0.906 0.024 317.72);
  --chart-2: oklch(0.926 0.024 137.807);
  --chart-3: oklch(0.926 0.024 137.807);
  --chart-4: oklch(0.946 0.017 137.794);
  --chart-5: oklch(0.905 0.026 317.716);
}