Them Light for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.04:1AAA
Text on card19.92:1AAA
Primary button7.09:1AAA
Secondary button7.27:1AAA
Muted text4.47:1AA Large
Accent7.27:1AAA
Destructive6.98:1AA
Dark mode
Text on background16.18:1AAA
Text on card16.49:1AAA
Primary button7.09:1AAA
Secondary button8.30:1AAA
Muted text5.93:1AA
Accent8.30:1AAA
Destructive3.67:1AA Large

CSS variables

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);
}