βui - Tomorrow Light for shadcn/ui

βui - Tomorrow Light is a shadcn/ui theme built around a red primary color (#953232) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#953232) on a neutral background (#ffffff).

Color palette

TokenLightDark
Background
#ffffffwhite
#ffffffwhite
Foreground
#282a2edarkslategray
#282a2edarkslategray
Card
#fafafasnow
#fafafasnow
Card foreground
#1c1e21black
#1c1e21black
Popover
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Popover foreground
#111113black
#111113black
Primary
#953232brown
#953232brown
Primary foreground
#fefbfbsnow
#fefbfbsnow
Secondary
#d2acactan
#d2acactan
Secondary foreground
#321b1bblack
#321b1bblack
Muted
#e9e2e2gainsboro
#e9e2e2gainsboro
Muted foreground
#564343darkslategray
#564343darkslategray
Accent
#d9d9d9gainsboro
#d9d9d9gainsboro
Accent foreground
#404040darkslategray
#404040darkslategray
Destructive
#6b0b01maroon
#6b0b01maroon
Destructive foreground
#ffa89flightpink
#ffa89flightpink
Border
#f2f2f2whitesmoke
#f2f2f2whitesmoke
Input
#ebebeblinen
#ebebeblinen
Ring
#953232brown
#953232brown

Contrast

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

Light mode
Text on background14.37:1AAA
Text on card15.99:1AAA
Primary button7.34:1AAA
Secondary button7.84:1AAA
Muted text7.22:1AAA
Accent7.32:1AAA
Destructive6.80:1AA
Dark mode
Text on background14.37:1AAA
Text on card15.99:1AAA
Primary button7.34:1AAA
Secondary button7.84:1AAA
Muted text7.22:1AAA
Accent7.32:1AAA
Destructive6.80:1AA

CSS variables

Paste this into your globals.css to use βui - Tomorrow Light in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.286 0.008 264.442);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.977 0 180);
  --popover-foreground: oklch(0.179 0.004 264.476);
  --card: oklch(0.985 0 180);
  --card-foreground: oklch(0.234 0.006 264.454);
  --border: oklch(0.962 0 180);
  --input: oklch(0.939 0 180);
  --primary: oklch(0.462 0.134 23.977);
  --primary-foreground: oklch(0.991 0.003 17.203);
  --secondary: oklch(0.779 0.045 18.157);
  --secondary-foreground: oklch(0.252 0.037 19.95);
  --accent: oklch(0.885 0 180);
  --accent-foreground: oklch(0.371 0 168.69);
  --destructive: oklch(0.337 0.129 31.394);
  --destructive-foreground: oklch(0.814 0.104 26.518);
  --ring: oklch(0.462 0.134 23.977);
  --chart-1: oklch(0.462 0.134 23.977);
  --chart-2: oklch(0.779 0.045 18.157);
  --chart-3: oklch(0.885 0 180);
  --chart-4: oklch(0.806 0.039 17.989);
  --chart-5: oklch(0.464 0.141 24.48);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.286 0.008 264.442);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.977 0 180);
  --popover-foreground: oklch(0.179 0.004 264.476);
  --card: oklch(0.985 0 180);
  --card-foreground: oklch(0.234 0.006 264.454);
  --border: oklch(0.962 0 180);
  --input: oklch(0.939 0 180);
  --primary: oklch(0.462 0.134 23.977);
  --primary-foreground: oklch(0.991 0.003 17.203);
  --secondary: oklch(0.779 0.045 18.157);
  --secondary-foreground: oklch(0.252 0.037 19.95);
  --accent: oklch(0.885 0 180);
  --accent-foreground: oklch(0.371 0 168.69);
  --destructive: oklch(0.337 0.129 31.394);
  --destructive-foreground: oklch(0.814 0.104 26.518);
  --ring: oklch(0.462 0.134 23.977);
  --chart-1: oklch(0.462 0.134 23.977);
  --chart-2: oklch(0.779 0.045 18.157);
  --chart-3: oklch(0.885 0 180);
  --chart-4: oklch(0.806 0.039 17.989);
  --chart-5: oklch(0.464 0.141 24.48);
}