Them Light is a shadcn/ui theme built around a vivid blue primary color (#1e9cf1) with neutral gray accents (#dbdbdc). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#1e9cf1) on a blue-tinted background (#15202b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #15202bblack |
| Foreground | #02090dblack | #fcfdfdwhite |
| Card | #fcfcfcsnow | #15202bblack |
| Card foreground | #010609black | #ffffffwhite |
| Popover | #ffffffwhite | #050b10black |
| Popover foreground | #02090dblack | #fcfdfdwhite |
| Primary | #1e9cf1dodgerblue | #1e9cf1dodgerblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #dbdbdcgainsboro | #1b1f22black |
| Secondary foreground | #424243darkslategray | #b0b9bfsilver |
| Muted | #d8e5eelavender | #111e27black |
| Muted foreground | #666666dimgray | #999999darkgray |
| Accent | #dbdbdcgainsboro | #1b1f22black |
| Accent foreground | #424243darkslategray | #b0b9bfsilver |
| Destructive | #620d04maroon | #f6412ctomato |
| Destructive foreground | #fba69dlightsalmon | #ffffffwhite |
| Border | #f1f3f4whitesmoke | #536471dimgray |
| Input | #f1f3f4whitesmoke | #536471dimgray |
| Ring | #1e9cf1dodgerblue | #1e9cf1dodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 4.47:1 | AA Large |
| Accent | 7.27:1 | AAA |
| Destructive | 6.98:1 | AA |
| Text on background | 16.18:1 | AAA |
| Text on card | 16.49:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Them Light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.131 0.018 228.948);
--muted: oklch(0.915 0.019 236.738);
--muted-foreground: oklch(0.51 0 171.87);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.131 0.018 228.948);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.115 0.016 227.401);
--border: oklch(0.962 0.002 236.467);
--input: oklch(0.962 0.002 236.467);
--primary: oklch(0.67 0.161 245.206);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.892 0.001 236.445);
--secondary-foreground: oklch(0.38 0.001 236.488);
--accent: oklch(0.892 0.001 236.445);
--accent-foreground: oklch(0.38 0.001 236.488);
--destructive: oklch(0.321 0.118 30.945);
--destructive-foreground: oklch(0.807 0.102 26.496);
--ring: oklch(0.67 0.161 245.206);
--chart-1: oklch(0.67 0.161 245.206);
--chart-2: oklch(0.892 0.001 236.445);
--chart-3: oklch(0.892 0.001 236.445);
--chart-4: oklch(0.916 0 236.443);
--chart-5: oklch(0.674 0.165 245.657);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.239 0.026 248.987);
--foreground: oklch(0.992 0.001 236.454);
--muted: oklch(0.228 0.026 238.577);
--muted-foreground: oklch(0.683 0 180);
--popover: oklch(0.145 0.015 234.133);
--popover-foreground: oklch(0.992 0.001 236.454);
--card: oklch(0.239 0.026 248.987);
--card-foreground: oklch(1 0 180);
--border: oklch(0.494 0.029 241.156);
--input: oklch(0.494 0.029 241.156);
--primary: oklch(0.67 0.161 245.206);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.237 0.008 236.936);
--secondary-foreground: oklch(0.781 0.014 236.693);
--accent: oklch(0.237 0.008 236.936);
--accent-foreground: oklch(0.781 0.014 236.693);
--destructive: oklch(0.643 0.221 30.317);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.67 0.161 245.206);
--chart-1: oklch(0.67 0.161 245.206);
--chart-2: oklch(0.237 0.008 236.936);
--chart-3: oklch(0.237 0.008 236.936);
--chart-4: oklch(0.269 0.01 236.972);
--chart-5: oklch(0.674 0.165 245.657);
}