Untimely for shadcn/ui

Untimely is a shadcn/ui theme built around a muted deep indigo primary color (#383857) with muted deep green accents (#385738). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep indigo primary (#383857) on an indigo-tinted background (#03030c).

Color palette

TokenLightDark
Background
#ffffffwhite
#03030cblack
Foreground
#040411black
#ffffffwhite
Card
#ffffffwhite
#03030cblack
Card foreground
#040411black
#ffffffwhite
Popover
#ffffffwhite
#03030cblack
Popover foreground
#040411black
#ffffffwhite
Primary
#383857darkslategray
#383857darkslategray
Primary foreground
#dadae7gainsboro
#dadae7gainsboro
Secondary
#573838darkslategray
#573838darkslategray
Secondary foreground
#e7dadagainsboro
#e7dadagainsboro
Muted
#e8dedegainsboro
#211717black
Muted foreground
#4e3c3cdarkslategray
#c3b1b1silver
Accent
#385738darkslategray
#385738darkslategray
Accent foreground
#dae7dagainsboro
#dae7dagainsboro
Destructive
#8e3e10saddlebrown
#e76a23chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#383857darkslategray
#383857darkslategray

Contrast

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

Light mode
Text on background20.37:1AAA
Text on card20.37:1AAA
Primary button8.13:1AAA
Secondary button7.63:1AAA
Muted text7.82:1AAA
Accent6.34:1AA
Destructive7.35:1AAA
Dark mode
Text on background20.51:1AAA
Text on card20.51:1AAA
Primary button8.13:1AAA
Secondary button7.63:1AAA
Muted text8.53:1AAA
Accent6.34:1AA
Destructive6.48:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.116 0.032 280.18);
  --muted: oklch(0.908 0.011 17.36);
  --muted-foreground: oklch(0.375 0.025 18.341);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.116 0.032 280.18);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.116 0.032 280.18);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.354 0.054 283.286);
  --primary-foreground: oklch(0.891 0.018 286.023);
  --secondary: oklch(0.377 0.045 19.394);
  --secondary-foreground: oklch(0.898 0.015 17.433);
  --accent: oklch(0.423 0.063 144.358);
  --accent-foreground: oklch(0.915 0.023 145.384);
  --destructive: oklch(0.465 0.122 45.634);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.354 0.054 283.286);
  --chart-1: oklch(0.354 0.054 283.286);
  --chart-2: oklch(0.377 0.045 19.394);
  --chart-3: oklch(0.423 0.063 144.358);
  --chart-4: oklch(0.403 0.049 19.438);
  --chart-5: oklch(0.348 0.062 282.726);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.026 281.181);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.217 0.016 18.495);
  --muted-foreground: oklch(0.776 0.021 17.605);
  --popover: oklch(0.107 0.026 281.181);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.107 0.026 281.181);
  --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.354 0.054 283.286);
  --primary-foreground: oklch(0.891 0.018 286.023);
  --secondary: oklch(0.377 0.045 19.394);
  --secondary-foreground: oklch(0.898 0.015 17.433);
  --accent: oklch(0.423 0.063 144.358);
  --accent-foreground: oklch(0.915 0.023 145.384);
  --destructive: oklch(0.666 0.173 45.86);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.354 0.054 283.286);
  --chart-1: oklch(0.354 0.054 283.286);
  --chart-2: oklch(0.377 0.045 19.394);
  --chart-3: oklch(0.423 0.063 144.358);
  --chart-4: oklch(0.403 0.049 19.438);
  --chart-5: oklch(0.348 0.062 282.726);
}