Lazy for shadcn/ui

Lazy is a shadcn/ui theme built around a neutral gray primary color (#353b3b) with neutral gray accents (#3b3b35). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the neutral gray primary (#353b3b) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#f7fcfdghostwhite
#010304black
Foreground
#010809black
#ffffffwhite
Card
#f3fafbaliceblue
#030707black
Card foreground
#010404black
#ffffffwhite
Popover
#f7fcfdghostwhite
#010304black
Popover foreground
#010809black
#ffffffwhite
Primary
#353b3bdarkslategray
#353b3bdarkslategray
Primary foreground
#ced3d4lightgrey
#ced3d4lightgrey
Secondary
#3b353bdarkslategray
#3b353bdarkslategray
Secondary foreground
#d4ced3lightgrey
#d4ced3lightgrey
Muted
#e7e4e7gainsboro
#1b181bblack
Muted foreground
#5a585adimgray
#a7a5a6darkgray
Accent
#3b3b35darkslategray
#3b3b35darkslategray
Accent foreground
#d3d4celightgrey
#d3d4celightgrey
Destructive
#a22f02saddlebrown
#fd5817orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#353b3bdarkslategray
#353b3bdarkslategray

Contrast

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

Light mode
Text on background19.50:1AAA
Text on card19.53:1AAA
Primary button7.58:1AAA
Secondary button7.72:1AAA
Muted text5.58:1AA
Accent7.53:1AAA
Destructive7.15:1AAA
Dark mode
Text on background20.62:1AAA
Text on card20.26:1AAA
Primary button7.58:1AAA
Secondary button7.72:1AAA
Muted text7.19:1AAA
Accent7.53:1AAA
Destructive6.56:1AA

CSS variables

Paste this into your globals.css to use Lazy in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 207.911);
  --foreground: oklch(0.124 0.016 204.143);
  --muted: oklch(0.922 0.005 329.748);
  --muted-foreground: oklch(0.464 0.003 329.772);
  --popover: oklch(0.987 0.005 207.911);
  --popover-foreground: oklch(0.124 0.016 204.143);
  --card: oklch(0.981 0.008 207.901);
  --card-foreground: oklch(0.098 0.013 204.143);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.345 0.008 207.854);
  --primary-foreground: oklch(0.864 0.005 207.907);
  --secondary: oklch(0.337 0.014 330.172);
  --secondary-foreground: oklch(0.858 0.009 329.81);
  --accent: oklch(0.351 0.011 113.152);
  --accent-foreground: oklch(0.867 0.008 112.706);
  --destructive: oklch(0.476 0.157 37.259);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.345 0.008 207.854);
  --chart-1: oklch(0.345 0.008 207.854);
  --chart-2: oklch(0.337 0.014 330.172);
  --chart-3: oklch(0.351 0.011 113.152);
  --chart-4: oklch(0.366 0.015 330.184);
  --chart-5: oklch(0.348 0.012 207.838);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.008 205.428);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.214 0.007 330.078);
  --muted-foreground: oklch(0.723 0.003 329.735);
  --popover: oklch(0.096 0.008 205.428);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.01 205.428);
  --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.345 0.008 207.854);
  --primary-foreground: oklch(0.864 0.005 207.907);
  --secondary: oklch(0.337 0.014 330.172);
  --secondary-foreground: oklch(0.858 0.009 329.81);
  --accent: oklch(0.351 0.011 113.152);
  --accent-foreground: oklch(0.867 0.008 112.706);
  --destructive: oklch(0.676 0.211 38.25);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.345 0.008 207.854);
  --chart-1: oklch(0.345 0.008 207.854);
  --chart-2: oklch(0.337 0.014 330.172);
  --chart-3: oklch(0.351 0.011 113.152);
  --chart-4: oklch(0.366 0.015 330.184);
  --chart-5: oklch(0.348 0.012 207.838);
}