Timely for shadcn/ui

Timely is a shadcn/ui theme built around a cyan primary color (#4b8091) with muted light cyan accents (#ced7d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#4b8091) on a neutral background (#020708).

Color palette

TokenLightDark
Background
#ffffffwhite
#020708black
Foreground
#000000black
#fcfdfdwhite
Card
#ffffffwhite
#020708black
Card foreground
#000000black
#fcfdfdwhite
Popover
#ffffffwhite
#020708black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#4b8091steelblue
#4b8091steelblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ced7d9lightgrey
#111617black
Secondary foreground
#333f42darkslategray
#a1b4badarkgray
Muted
#e3eff3lavender
#0c191cblack
Muted foreground
#4f4f4fdarkslategray
#b0b0b0darkgray
Accent
#ced7d9lightgrey
#111617black
Accent foreground
#333f42darkslategray
#a1b4badarkgray
Destructive
#c52516firebrick
#e62f1ecrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4b8091steelblue
#4b8091steelblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button4.36:1AA Large
Secondary button7.41:1AAA
Muted text6.97:1AA
Accent7.41:1AAA
Destructive5.74:1AA
Dark mode
Text on background19.90:1AAA
Text on card19.90:1AAA
Primary button4.36:1AA Large
Secondary button8.46:1AAA
Muted text8.28:1AAA
Accent8.46:1AAA
Destructive4.38:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.944 0.014 217.835);
  --muted-foreground: oklch(0.428 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.57 0.062 219.511);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.872 0.01 217.813);
  --secondary-foreground: oklch(0.357 0.017 218.144);
  --accent: oklch(0.872 0.01 217.813);
  --accent-foreground: oklch(0.357 0.017 218.144);
  --destructive: oklch(0.534 0.197 30.02);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.57 0.062 219.511);
  --chart-1: oklch(0.57 0.062 219.511);
  --chart-2: oklch(0.872 0.01 217.813);
  --chart-3: oklch(0.872 0.01 217.813);
  --chart-4: oklch(0.895 0.008 217.797);
  --chart-5: oklch(0.574 0.067 219.789);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.013 213.06);
  --foreground: oklch(0.993 0.001 217.746);
  --muted: oklch(0.202 0.019 219.018);
  --muted-foreground: oklch(0.757 0 180);
  --popover: oklch(0.12 0.013 213.06);
  --popover-foreground: oklch(0.993 0.001 217.746);
  --card: oklch(0.12 0.013 213.06);
  --card-foreground: oklch(0.993 0.001 217.746);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.57 0.062 219.511);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.196 0.008 218.064);
  --secondary-foreground: oklch(0.757 0.022 217.959);
  --accent: oklch(0.196 0.008 218.064);
  --accent-foreground: oklch(0.757 0.022 217.959);
  --destructive: oklch(0.6 0.22 29.978);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.57 0.062 219.511);
  --chart-1: oklch(0.57 0.062 219.511);
  --chart-2: oklch(0.196 0.008 218.064);
  --chart-3: oklch(0.196 0.008 218.064);
  --chart-4: oklch(0.231 0.01 218.118);
  --chart-5: oklch(0.574 0.067 219.789);
}