Tomorrow for shadcn/ui

Tomorrow is a shadcn/ui theme built around a pink primary color (#cd7e9e) with blue accents (#7e9ecd). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the pink primary (#cd7e9e) on a pink-tinted background (#0c0407).

Color palette

TokenLightDark
Background
#fcf8fasnow
#0c0407black
Foreground
#0d0207black
#fdfcfcsnow
Card
#faf5f7whitesmoke
#100509black
Card foreground
#090204black
#ffffffwhite
Popover
#faf5f7whitesmoke
#100509black
Popover foreground
#090204black
#ffffffwhite
Primary
#cd7e9epalevioletred
#cd7e9epalevioletred
Primary foreground
#12070cblack
#12070cblack
Secondary
#9ecd7edarkseagreen
#9ecd7edarkseagreen
Secondary foreground
#0c1207black
#0c1207black
Muted
#e9f2e4beige
#131b0dblack
Muted foreground
#4f4f4fdarkslategray
#b0b0b0darkgray
Accent
#7e9ecdcornflowerblue
#7e9ecdcornflowerblue
Accent foreground
#070c12black
#070c12black
Destructive
#c03c0cfirebrick
#f04f14orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cd7e9epalevioletred
#cd7e9epalevioletred

Contrast

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

Light mode
Text on background19.39:1AAA
Text on card19.02:1AAA
Primary button6.68:1AA
Secondary button10.39:1AAA
Muted text7.11:1AAA
Accent7.15:1AAA
Destructive5.39:1AA
Dark mode
Text on background19.83:1AAA
Text on card20.07:1AAA
Primary button6.68:1AA
Secondary button10.39:1AAA
Muted text8.11:1AAA
Accent7.15:1AAA
Destructive3.60: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.983 0.004 350.738);
  --foreground: oklch(0.119 0.029 350.654);
  --muted: oklch(0.95 0.02 132.521);
  --muted-foreground: oklch(0.428 0 180);
  --popover: oklch(0.974 0.006 350.797);
  --popover-foreground: oklch(0.103 0.025 350.137);
  --card: oklch(0.974 0.006 350.797);
  --card-foreground: oklch(0.103 0.025 350.137);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.687 0.104 354.659);
  --primary-foreground: oklch(0.149 0.023 353.743);
  --secondary: oklch(0.796 0.117 133.642);
  --secondary-foreground: oklch(0.173 0.025 133.141);
  --accent: oklch(0.693 0.078 258.322);
  --accent-foreground: oklch(0.151 0.017 257.016);
  --destructive: oklch(0.544 0.176 37.048);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.687 0.104 354.659);
  --chart-1: oklch(0.687 0.104 354.659);
  --chart-2: oklch(0.796 0.117 133.642);
  --chart-3: oklch(0.693 0.078 258.322);
  --chart-4: oklch(0.813 0.107 133.478);
  --chart-5: oklch(0.685 0.111 354.946);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.022 350.504);
  --foreground: oklch(0.991 0.002 350.673);
  --muted: oklch(0.211 0.029 133.538);
  --muted-foreground: oklch(0.757 0 180);
  --popover: oklch(0.135 0.025 352.129);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.135 0.025 352.129);
  --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.687 0.104 354.659);
  --primary-foreground: oklch(0.149 0.023 353.743);
  --secondary: oklch(0.796 0.117 133.642);
  --secondary-foreground: oklch(0.173 0.025 133.141);
  --accent: oklch(0.693 0.078 258.322);
  --accent-foreground: oklch(0.151 0.017 257.016);
  --destructive: oklch(0.645 0.207 37.2);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.687 0.104 354.659);
  --chart-1: oklch(0.687 0.104 354.659);
  --chart-2: oklch(0.796 0.117 133.642);
  --chart-3: oklch(0.693 0.078 258.322);
  --chart-4: oklch(0.813 0.107 133.478);
  --chart-5: oklch(0.685 0.111 354.946);
}