Well-lit is a shadcn/ui theme built around a light blue primary color (#b6d1ec) with light indigo accents (#b6b6ec). The light mode uses a neutral background (#f8fafb). Dark mode keeps the light blue primary (#b6d1ec) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fafbghostwhite | #000000black |
| Foreground | #010509black | #ffffffwhite |
| Card | #f5f7fawhitesmoke | #030303black |
| Card foreground | #010304black | #ffffffwhite |
| Popover | #f5f7fawhitesmoke | #030303black |
| Popover foreground | #010304black | #ffffffwhite |
| Primary | #b6d1eclightblue | #b6d1eclightblue |
| Primary foreground | #173859darkslategray | #173859darkslategray |
| Secondary | #b6ececpaleturquoise | #b6ececpaleturquoise |
| Secondary foreground | #175959darkslategray | #175959darkslategray |
| Muted | #d6dcdcgainsboro | #232929darkslategray |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #b6b6eclightsteelblue | #b6b6eclightsteelblue |
| Accent foreground | #171759midnightblue | #171759midnightblue |
| Destructive | #7b200amaroon | #ef5934tomato |
| Destructive foreground | #fac9bdpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b6d1eclightblue | #b6d1eclightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 7.63:1 | AAA |
| Secondary button | 6.21:1 | AA |
| Muted text | 6.07:1 | AA |
| Accent | 8.36:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.63:1 | AAA |
| Secondary button | 6.21:1 | AA |
| Muted text | 7.02:1 | AAA |
| Accent | 8.36:1 | AAA |
| Destructive | 6.14:1 | AA |
Paste this into your globals.css to use Well-lit in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.003 247.85);
--foreground: oklch(0.111 0.016 237.74);
--muted: oklch(0.889 0.007 197.037);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(0.976 0.004 247.865);
--popover-foreground: oklch(0.088 0.012 237.74);
--card: oklch(0.976 0.004 247.865);
--card-foreground: oklch(0.088 0.012 237.74);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.85 0.048 248.389);
--primary-foreground: oklch(0.334 0.07 250.736);
--secondary: oklch(0.907 0.055 196.221);
--secondary-foreground: oklch(0.425 0.064 195.017);
--accent: oklch(0.795 0.076 284.53);
--accent-foreground: oklch(0.258 0.115 274.757);
--destructive: oklch(0.389 0.128 34.427);
--destructive-foreground: oklch(0.875 0.058 34.382);
--ring: oklch(0.85 0.048 248.389);
--chart-1: oklch(0.85 0.048 248.389);
--chart-2: oklch(0.907 0.055 196.221);
--chart-3: oklch(0.795 0.076 284.53);
--chart-4: oklch(0.922 0.046 196.375);
--chart-5: oklch(0.849 0.05 248.418);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.276 0.009 196.66);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.85 0.048 248.389);
--primary-foreground: oklch(0.334 0.07 250.736);
--secondary: oklch(0.907 0.055 196.221);
--secondary-foreground: oklch(0.425 0.064 195.017);
--accent: oklch(0.795 0.076 284.53);
--accent-foreground: oklch(0.258 0.115 274.757);
--destructive: oklch(0.657 0.191 35.054);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.85 0.048 248.389);
--chart-1: oklch(0.85 0.048 248.389);
--chart-2: oklch(0.907 0.055 196.221);
--chart-3: oklch(0.795 0.076 284.53);
--chart-4: oklch(0.922 0.046 196.375);
--chart-5: oklch(0.849 0.05 248.418);
}