Tired for shadcn/ui

Tired is a shadcn/ui theme built around a muted deep green primary color (#090c09) with muted deep red accents (#0c0909). The light mode uses a neutral background (#fbfefb). Dark mode keeps the muted deep green primary (#090c09) on a neutral background (#020803).

Color palette

TokenLightDark
Background
#fbfefbwhite
#020803black
Foreground
#000000black
#f8fcf9mintcream
Card
#fbfefbwhite
#020803black
Card foreground
#000000black
#f8fcf9mintcream
Popover
#fbfefbwhite
#020803black
Popover foreground
#000000black
#f8fcf9mintcream
Primary
#090c09black
#090c09black
Primary foreground
#95b199darkseagreen
#95b199darkseagreen
Secondary
#09090cblack
#09090cblack
Secondary foreground
#9995b1darkgray
#9995b1darkgray
Muted
#e6e5eblavender
#14141ablack
Muted foreground
#444257darkslategray
#aaa8bddarkgray
Accent
#0c0909black
#0c0909black
Accent foreground
#b19995rosybrown
#b19995rosybrown
Destructive
#862409saddlebrown
#f14b1eorangered
Destructive foreground
#fbd1c5peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#090c09black
#090c09black

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button8.46:1AAA
Secondary button6.91:1AA
Muted text7.74:1AAA
Accent7.42:1AAA
Destructive6.61:1AA
Dark mode
Text on background19.52:1AAA
Text on card19.52:1AAA
Primary button8.46:1AAA
Secondary button6.91:1AA
Muted text7.90:1AAA
Accent7.42:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 149.076);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.924 0.009 291.603);
  --muted-foreground: oklch(0.39 0.036 289.96);
  --popover: oklch(0.994 0.005 149.076);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.005 149.076);
  --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.148 0.008 148.702);
  --primary-foreground: oklch(0.733 0.046 148.365);
  --secondary: oklch(0.14 0.007 291.155);
  --secondary-foreground: oklch(0.683 0.04 290.642);
  --accent: oklch(0.143 0.005 27.267);
  --accent-foreground: oklch(0.702 0.029 26.774);
  --destructive: oklch(0.415 0.138 34.948);
  --destructive-foreground: oklch(0.894 0.05 35.954);
  --ring: oklch(0.148 0.008 148.702);
  --chart-1: oklch(0.148 0.008 148.702);
  --chart-2: oklch(0.14 0.007 291.155);
  --chart-3: oklch(0.143 0.005 27.267);
  --chart-4: oklch(0.173 0.011 290.541);
  --chart-5: oklch(0.149 0.009 148.618);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.021 147.959);
  --foreground: oklch(0.986 0.005 149.072);
  --muted: oklch(0.194 0.013 290.494);
  --muted-foreground: oklch(0.74 0.031 290.987);
  --popover: oklch(0.122 0.021 147.959);
  --popover-foreground: oklch(0.986 0.005 149.072);
  --card: oklch(0.122 0.021 147.959);
  --card-foreground: oklch(0.986 0.005 149.072);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.148 0.008 148.702);
  --primary-foreground: oklch(0.733 0.046 148.365);
  --secondary: oklch(0.14 0.007 291.155);
  --secondary-foreground: oklch(0.683 0.04 290.642);
  --accent: oklch(0.143 0.005 27.267);
  --accent-foreground: oklch(0.702 0.029 26.774);
  --destructive: oklch(0.643 0.209 35.203);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.148 0.008 148.702);
  --chart-1: oklch(0.148 0.008 148.702);
  --chart-2: oklch(0.14 0.007 291.155);
  --chart-3: oklch(0.143 0.005 27.267);
  --chart-4: oklch(0.173 0.011 290.541);
  --chart-5: oklch(0.149 0.009 148.618);
}