Lazy is a shadcn/ui theme built around a deep yellow primary color (#3c3310) with muted light yellow accents (#d5d2c8). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the deep yellow primary (#3c3310) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbf8snow | #030302black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #fbfbf8snow | #030302black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #fbfbf8snow | #030302black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #3c3310darkolivegreen | #3c3310darkolivegreen |
| Primary foreground | #cfb24adarkkhaki | #cfb24adarkkhaki |
| Secondary | #d5d2c8lightgrey | #383529darkslategray |
| Secondary foreground | #3d3a2edarkslategray | #d2cec1lightgrey |
| Muted | #eae3cdantiquewhite | #322c15darkslategray |
| Muted foreground | #4e4b41darkslategray | #bebbb1silver |
| Accent | #d5d2c8lightgrey | #383529darkslategray |
| Accent foreground | #3d3a2edarkslategray | #d2cec1lightgrey |
| Destructive | #c02f07firebrick | #f85f35tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c3310darkolivegreen | #3c3310darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 6.81:1 | AA |
| Accent | 7.55:1 | AAA |
| Destructive | 5.75:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 6.04:1 | AA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 7.26:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 6.68:1 | AA |
Paste this into your globals.css to use Lazy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.003 93.901);
--foreground: oklch(0 0 0);
--muted: oklch(0.916 0.03 94.192);
--muted-foreground: oklch(0.412 0.017 94.25);
--popover: oklch(0.987 0.003 93.901);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.003 93.901);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.323 0.053 93.738);
--primary-foreground: oklch(0.769 0.127 93.691);
--secondary: oklch(0.864 0.015 94.044);
--secondary-foreground: oklch(0.347 0.02 94.37);
--accent: oklch(0.864 0.015 94.044);
--accent-foreground: oklch(0.347 0.02 94.37);
--destructive: oklch(0.531 0.186 34.104);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.323 0.053 93.738);
--chart-1: oklch(0.323 0.053 93.738);
--chart-2: oklch(0.864 0.015 94.044);
--chart-3: oklch(0.864 0.015 94.044);
--chart-4: oklch(0.886 0.012 94.012);
--chart-5: oklch(0.326 0.055 93.587);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.008 96.926);
--foreground: oklch(0.993 0.001 93.879);
--muted: oklch(0.293 0.037 94.378);
--muted-foreground: oklch(0.792 0.014 94.053);
--popover: oklch(0.097 0.008 96.926);
--popover-foreground: oklch(0.993 0.001 93.879);
--card: oklch(0.097 0.008 96.926);
--card-foreground: oklch(0.993 0.001 93.879);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.323 0.053 93.738);
--primary-foreground: oklch(0.769 0.127 93.691);
--secondary: oklch(0.328 0.021 94.405);
--secondary-foreground: oklch(0.852 0.019 94.09);
--accent: oklch(0.328 0.021 94.405);
--accent-foreground: oklch(0.852 0.019 94.09);
--destructive: oklch(0.679 0.195 36.018);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.323 0.053 93.738);
--chart-1: oklch(0.323 0.053 93.738);
--chart-2: oklch(0.328 0.021 94.405);
--chart-3: oklch(0.328 0.021 94.405);
--chart-4: oklch(0.36 0.024 94.414);
--chart-5: oklch(0.326 0.055 93.587);
}