Well-lit is a shadcn/ui theme built around a muted light green primary color (#bad8c8) with muted light teal accents (#bad8d7). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted light green primary (#bad8c8) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #010402black |
| Foreground | #04100ablack | #fcfdfcwhite |
| Card | #f7fdfamintcream | #030705black |
| Card foreground | #030c07black | #ffffffwhite |
| Popover | #fbfefcwhite | #010402black |
| Popover foreground | #04100ablack | #fcfdfcwhite |
| Primary | #bad8c8silver | #bad8c8silver |
| Primary foreground | #233e30darkslategray | #233e30darkslategray |
| Secondary | #bbd8basilver | #bbd8basilver |
| Secondary foreground | #243e23darkslategray | #243e23darkslategray |
| Muted | #cce7cblightgrey | #193418darkgreen |
| Muted foreground | #566d55dimgray | #93aa92darkseagreen |
| Accent | #bad8d7powderblue | #bad8d7powderblue |
| Accent foreground | #233e3ddarkslategray | #233e3ddarkslategray |
| Destructive | #d60000red | #ff2e2ecrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bad8c8silver | #bad8c8silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 4.26:1 | AA Large |
| Accent | 7.63:1 | AAA |
| Destructive | 5.43:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 5.41:1 | AA |
| Accent | 7.63:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Well-lit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 163.343);
--foreground: oklch(0.16 0.024 161.344);
--muted: oklch(0.9 0.048 144.269);
--muted-foreground: oklch(0.508 0.045 144.027);
--popover: oklch(0.994 0.004 163.343);
--popover-foreground: oklch(0.16 0.024 161.344);
--card: oklch(0.989 0.008 163.239);
--card-foreground: oklch(0.143 0.021 163.125);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.857 0.039 162.251);
--primary-foreground: oklch(0.337 0.042 159.716);
--secondary: oklch(0.854 0.051 144.223);
--secondary-foreground: oklch(0.334 0.057 143.453);
--accent: oklch(0.861 0.032 194.108);
--accent-foreground: oklch(0.342 0.033 192.994);
--destructive: oklch(0.551 0.226 29.234);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.857 0.039 162.251);
--chart-1: oklch(0.857 0.039 162.251);
--chart-2: oklch(0.854 0.051 144.223);
--chart-3: oklch(0.861 0.032 194.108);
--chart-4: oklch(0.875 0.044 144.29);
--chart-5: oklch(0.859 0.043 162.123);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 163.499);
--foreground: oklch(0.993 0.002 163.397);
--muted: oklch(0.296 0.06 143.218);
--muted-foreground: oklch(0.713 0.042 144.234);
--popover: oklch(0.097 0.01 163.499);
--popover-foreground: oklch(0.993 0.002 163.397);
--card: oklch(0.122 0.013 163.499);
--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.857 0.039 162.251);
--primary-foreground: oklch(0.337 0.042 159.716);
--secondary: oklch(0.854 0.051 144.223);
--secondary-foreground: oklch(0.334 0.057 143.453);
--accent: oklch(0.861 0.032 194.108);
--accent-foreground: oklch(0.342 0.033 192.994);
--destructive: oklch(0.645 0.24 27.317);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.857 0.039 162.251);
--chart-1: oklch(0.857 0.039 162.251);
--chart-2: oklch(0.854 0.051 144.223);
--chart-3: oklch(0.861 0.032 194.108);
--chart-4: oklch(0.875 0.044 144.29);
--chart-5: oklch(0.859 0.043 162.123);
}