LOLLIGHTMODE is a shadcn/ui theme built around a muted light blue primary color (#d7dae0) with muted blue accents (#49515f). The light mode uses a blue-tinted background (#282c34). Dark mode switches to an indigo primary (#4046bf) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #282c34darkslategray | #ffffffwhite |
| Foreground | #abb2bfdarkgray | #363636darkslategray |
| Card | #23272edarkslategray | #ffffffwhite |
| Card foreground | #b9bfcasilver | #3a3a3adarkslategray |
| Popover | #21252bdarkslategray | #ffffffwhite |
| Popover foreground | #c8cdd5lightgrey | #000000black |
| Primary | #d7dae0gainsboro | #4046bfslateblue |
| Primary foreground | #3a3f4bdarkslategray | #ffffffwhite |
| Secondary | #3e3f42darkslategray | #000000black |
| Secondary foreground | #d8d8dagainsboro | #ffffffwhite |
| Muted | #31363fdarkslategray | #ebebeblinen |
| Muted foreground | #afb5c0silver | #797a86gray |
| Accent | #49515fdarkslategray | #f0f0f1whitesmoke |
| Accent foreground | #ebeceflavender | #000000black |
| Destructive | #f63423orangered | #e52054crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #393a3cdarkslategray | #cccccclightgrey |
| Input | #404244darkslategray | #cccccclightgrey |
| Ring | #d7dae0gainsboro | #cccccclightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.57:1 | AA |
| Text on card | 8.10:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 6.80:1 | AA |
| Destructive | 3.86:1 | AA Large |
| Text on background | 12.08:1 | AAA |
| Text on card | 11.37:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 21.00:1 | AAA |
| Muted text | 3.57:1 | AA Large |
| Accent | 18.38:1 | AAA |
| Destructive | 4.50:1 | AA |
Paste this into your globals.css to use LOLLIGHTMODE in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.292 0.016 264.298);
--foreground: oklch(0.762 0.021 262.984);
--muted: oklch(0.332 0.017 264.31);
--muted-foreground: oklch(0.771 0.017 264.466);
--popover: oklch(0.262 0.013 264.313);
--popover-foreground: oklch(0.846 0.013 263.02);
--card: oklch(0.272 0.014 264.308);
--card-foreground: oklch(0.804 0.017 263.005);
--border: oklch(0.348 0.004 264.509);
--input: oklch(0.377 0.005 264.508);
--primary: oklch(0.887 0.009 264.517);
--primary-foreground: oklch(0.369 0.021 264.27);
--secondary: oklch(0.368 0.005 264.508);
--secondary-foreground: oklch(0.883 0.002 264.543);
--accent: oklch(0.432 0.026 264.255);
--accent-foreground: oklch(0.944 0.004 264.536);
--destructive: oklch(0.632 0.23 29.947);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.887 0.009 264.517);
--chart-1: oklch(0.887 0.009 264.517);
--chart-2: oklch(0.368 0.005 264.508);
--chart-3: oklch(0.432 0.026 264.255);
--chart-4: oklch(0.396 0.005 264.507);
--chart-5: oklch(0.886 0.011 264.508);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.331 0 180);
--muted: oklch(0.941 0 180);
--muted-foreground: oklch(0.583 0.018 281.691);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0.347 0 194.036);
--border: oklch(0.845 0 164.055);
--input: oklch(0.845 0 164.055);
--primary: oklch(0.467 0.186 274.273);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0 0 0);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.954 0.002 282.175);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.596 0.224 14.421);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.845 0 164.055);
--chart-1: oklch(0.467 0.186 274.273);
--chart-2: oklch(0 0 0);
--chart-3: oklch(0.954 0.002 282.175);
--chart-4: oklch(0.132 0 165.964);
--chart-5: oklch(0.462 0.196 273.437);
}