Lazy for shadcn/ui

Lazy is a shadcn/ui theme built around a muted orange primary color (#9b8778) with muted yellow accents (#9b9978). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted orange primary (#9b8778) on an orange-tinted background (#0f0a05).

Color palette

TokenLightDark
Background
#fefcfbsnow
#0f0a05black
Foreground
#090501black
#fdfcfcsnow
Card
#fefcfbsnow
#0f0a05black
Card foreground
#090501black
#fdfcfcsnow
Popover
#fefcfbsnow
#0f0a05black
Popover foreground
#090501black
#fdfcfcsnow
Primary
#9b8778gray
#9b8778gray
Primary foreground
#000000black
#000000black
Secondary
#9b787agray
#9b787agray
Secondary foreground
#000000black
#000000black
Muted
#e8cfd0gainsboro
#301719black
Muted foreground
#675657dimgray
#a99899rosybrown
Accent
#9b9978gray
#9b9978gray
Accent foreground
#000000black
#000000black
Destructive
#66120amaroon
#df2716crimson
Destructive foreground
#f7b2ablightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9b8778gray
#9b8778gray

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.88:1AAA
Primary button6.15:1AA
Secondary button5.37:1AA
Muted text4.67:1AA
Accent7.22:1AAA
Destructive7.19:1AAA
Dark mode
Text on background19.26:1AAA
Text on card19.26:1AAA
Primary button6.15:1AA
Secondary button5.37:1AA
Muted text6.03:1AA
Accent7.22:1AAA
Destructive4.74:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 60.253);
  --foreground: oklch(0.118 0.017 71.1);
  --muted: oklch(0.875 0.028 13.1);
  --muted-foreground: oklch(0.47 0.022 13.437);
  --popover: oklch(0.993 0.002 60.253);
  --popover-foreground: oklch(0.118 0.017 71.1);
  --card: oklch(0.993 0.002 60.253);
  --card-foreground: oklch(0.118 0.017 71.1);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.638 0.033 59.554);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.608 0.044 13.979);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.676 0.046 104.168);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.334 0.119 29.832);
  --destructive-foreground: oklch(0.826 0.082 24.823);
  --ring: oklch(0.638 0.033 59.554);
  --chart-1: oklch(0.638 0.033 59.554);
  --chart-2: oklch(0.608 0.044 13.979);
  --chart-3: oklch(0.676 0.046 104.168);
  --chart-4: oklch(0.635 0.041 13.791);
  --chart-5: oklch(0.64 0.039 59.397);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.148 0.014 63.943);
  --foreground: oklch(0.993 0.001 60.267);
  --muted: oklch(0.241 0.04 16.27);
  --muted-foreground: oklch(0.695 0.02 13.035);
  --popover: oklch(0.148 0.014 63.943);
  --popover-foreground: oklch(0.993 0.001 60.267);
  --card: oklch(0.148 0.014 63.943);
  --card-foreground: oklch(0.993 0.001 60.267);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.638 0.033 59.554);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.608 0.044 13.979);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.676 0.046 104.168);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.582 0.219 30.069);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.638 0.033 59.554);
  --chart-1: oklch(0.638 0.033 59.554);
  --chart-2: oklch(0.608 0.044 13.979);
  --chart-3: oklch(0.676 0.046 104.168);
  --chart-4: oklch(0.635 0.041 13.791);
  --chart-5: oklch(0.64 0.039 59.397);
}