Lazy for shadcn/ui

Lazy is a shadcn/ui theme built around a vivid deep yellow primary color (#614a0a) with muted light yellow accents (#dedacf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep yellow primary (#614a0a) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#ffffffwhite
#070603black
Foreground
#151104black
#ffffffwhite
Card
#fcfcfcsnow
#0b0904black
Card foreground
#110d03black
#ffffffwhite
Popover
#fcfcfcsnow
#0b0904black
Popover foreground
#110d03black
#ffffffwhite
Primary
#614a0asaddlebrown
#614a0asaddlebrown
Primary foreground
#f6e1a7palegoldenrod
#f6e1a7palegoldenrod
Secondary
#dedacfgainsboro
#292724darkslategray
Secondary foreground
#484232darkslategray
#c3c1bbsilver
Muted
#ece7daantiquewhite
#252013black
Muted foreground
#555249darkolivegreen
#b6b3aadarkgray
Accent
#dedacfgainsboro
#292724darkslategray
Accent foreground
#484232darkslategray
#c3c1bbsilver
Destructive
#bb1111firebrick
#ec3232crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#614a0asaddlebrown
#614a0asaddlebrown

Contrast

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

Light mode
Text on background18.85:1AAA
Text on card18.97:1AAA
Primary button6.53:1AA
Secondary button7.13:1AAA
Muted text6.33:1AA
Accent7.13:1AAA
Destructive6.57:1AA
Dark mode
Text on background20.23:1AAA
Text on card19.87:1AAA
Primary button6.53:1AA
Secondary button8.26:1AAA
Muted text7.70:1AAA
Accent8.26:1AAA
Destructive4.15:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.178 0.026 91.584);
  --muted: oklch(0.929 0.019 90.264);
  --muted-foreground: oklch(0.439 0.015 90.345);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.162 0.023 92.947);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.162 0.023 92.947);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.422 0.081 86.459);
  --primary-foreground: oklch(0.913 0.077 90.409);
  --secondary: oklch(0.887 0.015 90.244);
  --secondary-foreground: oklch(0.381 0.027 90.43);
  --accent: oklch(0.887 0.015 90.244);
  --accent-foreground: oklch(0.381 0.027 90.43);
  --destructive: oklch(0.503 0.198 28.341);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.422 0.081 86.459);
  --chart-1: oklch(0.422 0.081 86.459);
  --chart-2: oklch(0.887 0.015 90.244);
  --chart-3: oklch(0.887 0.015 90.244);
  --chart-4: oklch(0.909 0.012 90.22);
  --chart-5: oklch(0.425 0.083 86.104);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.012 94.513);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.246 0.025 90.331);
  --muted-foreground: oklch(0.767 0.014 90.247);
  --popover: oklch(0.141 0.014 94.239);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.141 0.014 94.239);
  --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.422 0.081 86.459);
  --primary-foreground: oklch(0.913 0.077 90.409);
  --secondary: oklch(0.274 0.006 90.281);
  --secondary-foreground: oklch(0.811 0.008 90.195);
  --accent: oklch(0.274 0.006 90.281);
  --accent-foreground: oklch(0.811 0.008 90.195);
  --destructive: oklch(0.614 0.221 26.724);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.422 0.081 86.459);
  --chart-1: oklch(0.422 0.081 86.459);
  --chart-2: oklch(0.274 0.006 90.281);
  --chart-3: oklch(0.274 0.006 90.281);
  --chart-4: oklch(0.306 0.007 90.287);
  --chart-5: oklch(0.425 0.083 86.104);
}