Dainty – Tomorrow Night Eighties for shadcn/ui

Dainty – Tomorrow Night Eighties is a shadcn/ui theme built around a blue primary color (#6da1d5) with neutral gray accents (#545454). The light mode uses a neutral background (#2e2e2e). Dark mode keeps the blue primary (#6da1d5) on a neutral background (#2e2e2e).

Color palette

TokenLightDark
Background
#2e2e2edarkslategray
#2e2e2edarkslategray
Foreground
#dededegainsboro
#dededegainsboro
Card
#292929darkslategray
#292929darkslategray
Card foreground
#ebebeblinen
#ebebeblinen
Popover
#262626darkslategray
#262626darkslategray
Popover foreground
#f7f7f7whitesmoke
#f7f7f7whitesmoke
Primary
#6da1d5cornflowerblue
#6da1d5cornflowerblue
Primary foreground
#03080cblack
#03080cblack
Secondary
#2d4053darkslategray
#2d4053darkslategray
Secondary foreground
#cdd9e4gainsboro
#cdd9e4gainsboro
Muted
#3f3131darkslategray
#3f3131darkslategray
Muted foreground
#c0afafsilver
#c0afafsilver
Accent
#545454dimgray
#545454dimgray
Accent foreground
#edededwhitesmoke
#edededwhitesmoke
Destructive
#f33e35tomato
#f33e35tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#3b3b3bdarkslategray
#3b3b3bdarkslategray
Input
#424242darkslategray
#424242darkslategray
Ring
#6da1d5cornflowerblue
#6da1d5cornflowerblue

Contrast

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

Light mode
Text on background10.10:1AAA
Text on card12.23:1AAA
Primary button7.35:1AAA
Secondary button7.46:1AAA
Muted text5.87:1AA
Accent6.45:1AA
Destructive3.77:1AA Large
Dark mode
Text on background10.10:1AAA
Text on card12.23:1AAA
Primary button7.35:1AAA
Secondary button7.46:1AAA
Muted text5.87:1AA
Accent6.45:1AA
Destructive3.77:1AA Large

CSS variables

Paste this into your globals.css to use Dainty – Tomorrow Night Eighties in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.301 0 189.462);
  --foreground: oklch(0.9 0 188.746);
  --muted: oklch(0.33 0.02 18.192);
  --muted-foreground: oklch(0.769 0.02 17.59);
  --popover: oklch(0.27 0 180);
  --popover-foreground: oklch(0.977 0 180);
  --card: oklch(0.28 0 180);
  --card-foreground: oklch(0.939 0 180);
  --border: oklch(0.351 0 167.471);
  --input: oklch(0.38 0 180);
  --primary: oklch(0.692 0.095 249.338);
  --primary-foreground: oklch(0.128 0.014 240.591);
  --secondary: oklch(0.363 0.041 249.026);
  --secondary-foreground: oklch(0.879 0.02 248.057);
  --accent: oklch(0.446 0 180);
  --accent-foreground: oklch(0.947 0 180);
  --destructive: oklch(0.637 0.219 28.202);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.692 0.095 249.338);
  --chart-1: oklch(0.692 0.095 249.338);
  --chart-2: oklch(0.363 0.041 249.026);
  --chart-3: oklch(0.446 0 180);
  --chart-4: oklch(0.391 0.045 249.054);
  --chart-5: oklch(0.692 0.1 249.445);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.301 0 189.462);
  --foreground: oklch(0.9 0 188.746);
  --muted: oklch(0.33 0.02 18.192);
  --muted-foreground: oklch(0.769 0.02 17.59);
  --popover: oklch(0.27 0 180);
  --popover-foreground: oklch(0.977 0 180);
  --card: oklch(0.28 0 180);
  --card-foreground: oklch(0.939 0 180);
  --border: oklch(0.351 0 167.471);
  --input: oklch(0.38 0 180);
  --primary: oklch(0.692 0.095 249.338);
  --primary-foreground: oklch(0.128 0.014 240.591);
  --secondary: oklch(0.363 0.041 249.026);
  --secondary-foreground: oklch(0.879 0.02 248.057);
  --accent: oklch(0.446 0 180);
  --accent-foreground: oklch(0.947 0 180);
  --destructive: oklch(0.637 0.219 28.202);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.692 0.095 249.338);
  --chart-1: oklch(0.692 0.095 249.338);
  --chart-2: oklch(0.363 0.041 249.026);
  --chart-3: oklch(0.446 0 180);
  --chart-4: oklch(0.391 0.045 249.054);
  --chart-5: oklch(0.692 0.1 249.445);
}