βui - Tomorrow Dark for shadcn/ui

βui - Tomorrow Dark is a shadcn/ui theme built around a muted light yellow primary color (#d4d1c9) with neutral gray accents (#414648). The light mode uses a neutral background (#1d1f20). Dark mode keeps the muted light yellow primary (#d4d1c9) on a neutral background (#1d1f20).

Color palette

TokenLightDark
Background
#1d1f20black
#1d1f20black
Foreground
#c5c9c6silver
#c5c9c6silver
Card
#181a1bblack
#181a1bblack
Card foreground
#d2d5d3lightgrey
#d2d5d3lightgrey
Popover
#161718black
#161718black
Popover foreground
#dfe2e0gainsboro
#dfe2e0gainsboro
Primary
#d4d1c9lightgrey
#d4d1c9lightgrey
Primary foreground
#3b3830darkslategray
#3b3830darkslategray
Secondary
#40403fdarkslategray
#40403fdarkslategray
Secondary foreground
#d9d9d8gainsboro
#d9d9d8gainsboro
Muted
#242a2edarkslategray
#242a2edarkslategray
Muted foreground
#9eacb3darkgray
#9eacb3darkgray
Accent
#414648darkslategray
#414648darkslategray
Accent foreground
#dcdee0gainsboro
#dcdee0gainsboro
Destructive
#ff0a0ared
#ff0a0ared
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2b2b2bdarkslategray
#2b2b2bdarkslategray
Input
#333333darkslategray
#333333darkslategray
Ring
#d4d1c9lightgrey
#d4d1c9lightgrey

Contrast

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

Light mode
Text on background9.87:1AAA
Text on card11.81:1AAA
Primary button7.67:1AAA
Secondary button7.33:1AAA
Muted text6.20:1AA
Accent7.08:1AAA
Destructive3.96:1AA Large
Dark mode
Text on background9.87:1AAA
Text on card11.81:1AAA
Primary button7.67:1AAA
Secondary button7.33:1AAA
Muted text6.20:1AA
Accent7.08:1AAA
Destructive3.96:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.238 0.004 228.955);
  --foreground: oklch(0.832 0.007 153.739);
  --muted: oklch(0.282 0.011 229.325);
  --muted-foreground: oklch(0.735 0.019 229.102);
  --popover: oklch(0.205 0.003 228.935);
  --popover-foreground: oklch(0.909 0.004 153.81);
  --card: oklch(0.216 0.003 228.943);
  --card-foreground: oklch(0.871 0.005 153.777);
  --border: oklch(0.29 0 180);
  --input: oklch(0.321 0 180);
  --primary: oklch(0.861 0.011 90.216);
  --primary-foreground: oklch(0.342 0.015 90.384);
  --secondary: oklch(0.372 0.002 90.155);
  --secondary-foreground: oklch(0.885 0.001 90.127);
  --accent: oklch(0.391 0.007 229.001);
  --accent-foreground: oklch(0.9 0.003 228.792);
  --destructive: oklch(0.63 0.256 28.983);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.011 90.216);
  --chart-1: oklch(0.861 0.011 90.216);
  --chart-2: oklch(0.372 0.002 90.155);
  --chart-3: oklch(0.391 0.007 229.001);
  --chart-4: oklch(0.401 0.002 90.155);
  --chart-5: oklch(0.863 0.014 90.239);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.238 0.004 228.955);
  --foreground: oklch(0.832 0.007 153.739);
  --muted: oklch(0.282 0.011 229.325);
  --muted-foreground: oklch(0.735 0.019 229.102);
  --popover: oklch(0.205 0.003 228.935);
  --popover-foreground: oklch(0.909 0.004 153.81);
  --card: oklch(0.216 0.003 228.943);
  --card-foreground: oklch(0.871 0.005 153.777);
  --border: oklch(0.29 0 180);
  --input: oklch(0.321 0 180);
  --primary: oklch(0.861 0.011 90.216);
  --primary-foreground: oklch(0.342 0.015 90.384);
  --secondary: oklch(0.372 0.002 90.155);
  --secondary-foreground: oklch(0.885 0.001 90.127);
  --accent: oklch(0.391 0.007 229.001);
  --accent-foreground: oklch(0.9 0.003 228.792);
  --destructive: oklch(0.63 0.256 28.983);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.011 90.216);
  --chart-1: oklch(0.861 0.011 90.216);
  --chart-2: oklch(0.372 0.002 90.155);
  --chart-3: oklch(0.391 0.007 229.001);
  --chart-4: oklch(0.401 0.002 90.155);
  --chart-5: oklch(0.863 0.014 90.239);
}