Untimely for shadcn/ui

Untimely is a shadcn/ui theme built around an indigo primary color (#a59fd1) with green accents (#9fd1a5). The light mode uses a neutral background (#ffffff). Dark mode keeps the indigo primary (#a59fd1) on an indigo-tinted background (#060510).

Color palette

TokenLightDark
Background
#ffffffwhite
#060510black
Foreground
#020104black
#fcfbfdsnow
Card
#ffffffwhite
#060510black
Card foreground
#020104black
#fcfbfdsnow
Popover
#ffffffwhite
#060510black
Popover foreground
#020104black
#fcfbfdsnow
Primary
#a59fd1lightsteelblue
#a59fd1lightsteelblue
Primary foreground
#171429black
#171429black
Secondary
#d1a59ftan
#d1a59ftan
Secondary foreground
#291714black
#291714black
Muted
#e3dad8gainsboro
#271d1cblack
Muted foreground
#443c3bdarkslategray
#c4bcbbsilver
Accent
#9fd1a5darkseagreen
#9fd1a5darkseagreen
Accent foreground
#142917black
#142917black
Destructive
#790c06maroon
#f2180dred
Destructive foreground
#fbbab6lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a59fd1lightsteelblue
#a59fd1lightsteelblue

Contrast

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

Light mode
Text on background20.81:1AAA
Text on card20.81:1AAA
Primary button7.23:1AAA
Secondary button7.82:1AAA
Muted text7.81:1AAA
Accent8.89:1AAA
Destructive6.84:1AA
Dark mode
Text on background19.66:1AAA
Text on card19.66:1AAA
Primary button7.23:1AAA
Secondary button7.82:1AAA
Muted text8.81:1AAA
Accent8.89:1AAA
Destructive4.26:1AA Large

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.078 0.015 290.683);
  --muted: oklch(0.895 0.011 27.997);
  --muted-foreground: oklch(0.366 0.011 28.113);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.078 0.015 290.683);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.078 0.015 290.683);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.725 0.072 290.589);
  --primary-foreground: oklch(0.206 0.042 288.279);
  --secondary: oklch(0.76 0.052 28.442);
  --secondary-foreground: oklch(0.228 0.031 29.209);
  --accent: oklch(0.813 0.08 148.382);
  --accent-foreground: oklch(0.258 0.044 147.251);
  --destructive: oklch(0.369 0.142 29.4);
  --destructive-foreground: oklch(0.847 0.076 22.222);
  --ring: oklch(0.725 0.072 290.589);
  --chart-1: oklch(0.725 0.072 290.589);
  --chart-2: oklch(0.76 0.052 28.442);
  --chart-3: oklch(0.813 0.08 148.382);
  --chart-4: oklch(0.786 0.046 28.346);
  --chart-5: oklch(0.72 0.078 290.394);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.028 289.694);
  --foreground: oklch(0.99 0.003 292.492);
  --muted: oklch(0.242 0.016 28.404);
  --muted-foreground: oklch(0.801 0.009 27.991);
  --popover: oklch(0.123 0.028 289.694);
  --popover-foreground: oklch(0.99 0.003 292.492);
  --card: oklch(0.123 0.028 289.694);
  --card-foreground: oklch(0.99 0.003 292.492);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.725 0.072 290.589);
  --primary-foreground: oklch(0.206 0.042 288.279);
  --secondary: oklch(0.76 0.052 28.442);
  --secondary-foreground: oklch(0.228 0.031 29.209);
  --accent: oklch(0.813 0.08 148.382);
  --accent-foreground: oklch(0.258 0.044 147.251);
  --destructive: oklch(0.61 0.242 29.485);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.725 0.072 290.589);
  --chart-1: oklch(0.725 0.072 290.589);
  --chart-2: oklch(0.76 0.052 28.442);
  --chart-3: oklch(0.813 0.08 148.382);
  --chart-4: oklch(0.786 0.046 28.346);
  --chart-5: oklch(0.72 0.078 290.394);
}