Lazy is a shadcn/ui theme built around a near-black primary color (#020203) with near-black accents (#020302). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#020203) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010204black |
| Foreground | #060a14black | #f6f7f9whitesmoke |
| Card | #fcfcfcsnow | #020408black |
| Card foreground | #050810black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #010204black |
| Popover foreground | #060a14black | #f6f7f9whitesmoke |
| Primary | #020203black | #020203black |
| Primary foreground | #8994aelightslategray | #8994aelightslategray |
| Secondary | #030202black | #030202black |
| Secondary foreground | #ae8994rosybrown | #ae8994rosybrown |
| Muted | #eee7e9linen | #181113black |
| Muted foreground | #5a4e52dimgray | #b1a5a8darkgray |
| Accent | #020302black | #020302black |
| Accent foreground | #94ae89darkseagreen | #94ae89darkseagreen |
| Destructive | #da540bchocolate | #f57d3dcoral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #020203black | #020203black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 6.81:1 | AA |
| Secondary button | 6.71:1 | AA |
| Muted text | 6.51:1 | AA |
| Accent | 8.52:1 | AAA |
| Destructive | 4.00:1 | AA Large |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 6.81:1 | AA |
| Secondary button | 6.71:1 | AA |
| Muted text | 7.82:1 | AAA |
| Accent | 8.52:1 | AAA |
| Destructive | 7.89:1 | AAA |
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.146 0.022 263.761);
--muted: oklch(0.934 0.009 356.933);
--muted-foreground: oklch(0.438 0.017 357.725);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.022 263.761);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.134 0.019 261.896);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.089 0.004 265.113);
--primary-foreground: oklch(0.667 0.041 266.947);
--secondary: oklch(0.089 0.005 356.577);
--secondary-foreground: oklch(0.668 0.048 358.665);
--accent: oklch(0.094 0.006 135.443);
--accent-foreground: oklch(0.722 0.061 136.356);
--destructive: oklch(0.616 0.182 41.827);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.089 0.004 265.113);
--chart-1: oklch(0.089 0.004 265.113);
--chart-2: oklch(0.089 0.005 356.577);
--chart-3: oklch(0.094 0.006 135.443);
--chart-4: oklch(0.142 0.007 357.196);
--chart-5: oklch(0.089 0.004 264.722);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.011 259.797);
--foreground: oklch(0.976 0.003 267.405);
--muted: oklch(0.186 0.014 358.687);
--muted-foreground: oklch(0.733 0.014 357.221);
--popover: oklch(0.084 0.011 259.797);
--popover-foreground: oklch(0.976 0.003 267.405);
--card: oklch(0.106 0.014 259.797);
--card-foreground: oklch(0.984 0.002 267.41);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.089 0.004 265.113);
--primary-foreground: oklch(0.667 0.041 266.947);
--secondary: oklch(0.089 0.005 356.577);
--secondary-foreground: oklch(0.668 0.048 358.665);
--accent: oklch(0.094 0.006 135.443);
--accent-foreground: oklch(0.722 0.061 136.356);
--destructive: oklch(0.717 0.165 46.41);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.089 0.004 265.113);
--chart-1: oklch(0.089 0.004 265.113);
--chart-2: oklch(0.089 0.005 356.577);
--chart-3: oklch(0.094 0.006 135.443);
--chart-4: oklch(0.142 0.007 357.196);
--chart-5: oklch(0.089 0.004 264.722);
}