Tomorrow for shadcn/ui

Tomorrow is a shadcn/ui theme built around a light blue primary color (#c5d3f7) with muted light blue accents (#d1d5e0). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the light blue primary (#c5d3f7) on a neutral background (#030407).

Color palette

TokenLightDark
Background
#f8f9fcghostwhite
#030407black
Foreground
#030408black
#ffffffwhite
Card
#f4f6fbghostwhite
#05060ablack
Card foreground
#010204black
#ffffffwhite
Popover
#f4f6fbghostwhite
#05060ablack
Popover foreground
#010204black
#ffffffwhite
Primary
#c5d3f7lightblue
#c5d3f7lightblue
Primary foreground
#112e78midnightblue
#112e78midnightblue
Secondary
#d1d5e0lightgrey
#1e2024black
Secondary foreground
#333a4ddarkslategray
#b5b8c0silver
Muted
#f0f1f5whitesmoke
#0a0c0fblack
Muted foreground
#4b505ddarkslategray
#a2a7b4darkgray
Accent
#d1d5e0lightgrey
#1e2024black
Accent foreground
#333a4ddarkslategray
#b5b8c0silver
Destructive
#971107darkred
#f53224orangered
Destructive foreground
#fdd6d3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c5d3f7lightblue
#c5d3f7lightblue

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.19:1AAA
Primary button8.32:1AAA
Secondary button7.74:1AAA
Muted text7.14:1AAA
Accent7.74:1AAA
Destructive6.56:1AA
Dark mode
Text on background20.46:1AAA
Text on card20.21:1AAA
Primary button8.32:1AAA
Secondary button8.21:1AAA
Muted text8.14:1AAA
Accent8.21:1AAA
Destructive3.92:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 268.761);
  --foreground: oklch(0.106 0.013 262.11);
  --muted: oklch(0.959 0.005 268.754);
  --muted-foreground: oklch(0.432 0.023 268.337);
  --popover: oklch(0.973 0.006 268.744);
  --popover-foreground: oklch(0.084 0.01 262.11);
  --card: oklch(0.973 0.006 268.744);
  --card-foreground: oklch(0.084 0.01 262.11);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.868 0.052 268.269);
  --primary-foreground: oklch(0.334 0.131 264.081);
  --secondary: oklch(0.874 0.016 268.657);
  --secondary-foreground: oklch(0.35 0.033 267.871);
  --accent: oklch(0.874 0.016 268.657);
  --accent-foreground: oklch(0.35 0.033 267.871);
  --destructive: oklch(0.432 0.167 29.775);
  --destructive-foreground: oklch(0.908 0.044 22.817);
  --ring: oklch(0.868 0.052 268.269);
  --chart-1: oklch(0.868 0.052 268.269);
  --chart-2: oklch(0.874 0.016 268.657);
  --chart-3: oklch(0.874 0.016 268.657);
  --chart-4: oklch(0.9 0.013 268.689);
  --chart-5: oklch(0.867 0.054 268.243);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.009 264.251);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.153 0.008 268.348);
  --muted-foreground: oklch(0.728 0.02 268.577);
  --popover: oklch(0.125 0.011 264.258);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.125 0.011 264.258);
  --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.868 0.052 268.269);
  --primary-foreground: oklch(0.334 0.131 264.081);
  --secondary: oklch(0.244 0.008 268.547);
  --secondary-foreground: oklch(0.782 0.012 268.681);
  --accent: oklch(0.244 0.008 268.547);
  --accent-foreground: oklch(0.782 0.012 268.681);
  --destructive: oklch(0.629 0.23 29.425);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.868 0.052 268.269);
  --chart-1: oklch(0.868 0.052 268.269);
  --chart-2: oklch(0.244 0.008 268.547);
  --chart-3: oklch(0.244 0.008 268.547);
  --chart-4: oklch(0.274 0.009 268.53);
  --chart-5: oklch(0.867 0.054 268.243);
}