Overdue for shadcn/ui

Overdue is a shadcn/ui theme built around a neutral gray primary color (#767674) with neutral gray accents (#767674). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the neutral gray primary (#767674) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcf7snow
#000000black
Foreground
#040301black
#ffffffwhite
Card
#fbfaf3floralwhite
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fdfcf7snow
#000000black
Popover foreground
#040301black
#ffffffwhite
Primary
#767674gray
#767674gray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#767574gray
#767574gray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f4f2f1whitesmoke
#0e0c0bblack
Muted foreground
#4c423ddarkslategray
#c2b7b3silver
Accent
#767674gray
#767674gray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b02907firebrick
#e13509orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#767674gray
#767674gray

Contrast

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

Light mode
Text on background20.00:1AAA
Text on card20.06:1AAA
Primary button4.54:1AA
Secondary button4.59:1AA
Muted text8.70:1AAA
Accent4.53:1AA
Destructive6.61:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button4.54:1AA
Secondary button4.59:1AA
Muted text9.94:1AAA
Accent4.53:1AA
Destructive4.45:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 95.104);
  --foreground: oklch(0.101 0.013 99.499);
  --muted: oklch(0.961 0.003 44.952);
  --muted-foreground: oklch(0.388 0.017 44.601);
  --popover: oklch(0.989 0.006 95.104);
  --popover-foreground: oklch(0.101 0.013 99.499);
  --card: oklch(0.984 0.009 95.139);
  --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.566 0.003 95.094);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.563 0.002 44.94);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.566 0.004 120.146);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.497 0.176 33.603);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.566 0.003 95.094);
  --chart-1: oklch(0.566 0.003 95.094);
  --chart-2: oklch(0.563 0.002 44.94);
  --chart-3: oklch(0.566 0.004 120.146);
  --chart-4: oklch(0.589 0.002 44.94);
  --chart-5: oklch(0.572 0.012 95.261);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.157 0.005 44.711);
  --muted-foreground: oklch(0.787 0.014 44.81);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.566 0.003 95.094);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.563 0.002 44.94);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.566 0.004 120.146);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.595 0.213 33.336);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.566 0.003 95.094);
  --chart-1: oklch(0.566 0.003 95.094);
  --chart-2: oklch(0.563 0.002 44.94);
  --chart-3: oklch(0.566 0.004 120.146);
  --chart-4: oklch(0.589 0.002 44.94);
  --chart-5: oklch(0.572 0.012 95.261);
}