Tedious for shadcn/ui

Tedious is a shadcn/ui theme built around a deep blue primary color (#324362) with deep orange accents (#625032). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the deep blue primary (#324362) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#fbfcfewhite
#010204black
Foreground
#010204black
#fcfcfdwhite
Card
#f7f9fdghostwhite
#030407black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfcfewhite
#010204black
Popover foreground
#010204black
#fcfcfdwhite
Primary
#324362darkslategray
#324362darkslategray
Primary foreground
#dae0ecgainsboro
#dae0ecgainsboro
Secondary
#625032darkolivegreen
#625032darkolivegreen
Secondary foreground
#ece5daantiquewhite
#ece5daantiquewhite
Muted
#e9e6e2gainsboro
#1d1a16black
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#625032darkolivegreen
#625032darkolivegreen
Accent foreground
#ece5daantiquewhite
#ece5daantiquewhite
Destructive
#d42111firebrick
#ec2513orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#324362darkslategray
#324362darkslategray

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card19.93:1AAA
Primary button7.46:1AAA
Secondary button6.15:1AA
Muted text6.81:1AA
Accent6.15:1AA
Destructive5.19:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.46:1AAA
Primary button7.46:1AAA
Secondary button6.15:1AA
Muted text8.23:1AAA
Accent6.15:1AA
Destructive4.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 261.514);
  --foreground: oklch(0.086 0.01 254.229);
  --muted: oklch(0.927 0.007 81.512);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(0.991 0.003 261.514);
  --popover-foreground: oklch(0.086 0.01 254.229);
  --card: oklch(0.982 0.005 261.513);
  --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.384 0.058 260.969);
  --primary-foreground: oklch(0.906 0.018 261.498);
  --secondary: oklch(0.443 0.052 80.469);
  --secondary-foreground: oklch(0.925 0.017 81.498);
  --accent: oklch(0.443 0.052 80.469);
  --accent-foreground: oklch(0.925 0.017 81.498);
  --destructive: oklch(0.559 0.213 30.089);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.384 0.058 260.969);
  --chart-1: oklch(0.384 0.058 260.969);
  --chart-2: oklch(0.443 0.052 80.469);
  --chart-3: oklch(0.443 0.052 80.469);
  --chart-4: oklch(0.474 0.056 80.434);
  --chart-5: oklch(0.382 0.063 260.898);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.009 255.185);
  --foreground: oklch(0.992 0.002 261.514);
  --muted: oklch(0.221 0.009 81.42);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0.087 0.009 255.185);
  --popover-foreground: oklch(0.992 0.002 261.514);
  --card: oklch(0.11 0.011 255.185);
  --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.384 0.058 260.969);
  --primary-foreground: oklch(0.906 0.018 261.498);
  --secondary: oklch(0.443 0.052 80.469);
  --secondary-foreground: oklch(0.925 0.017 81.498);
  --accent: oklch(0.443 0.052 80.469);
  --accent-foreground: oklch(0.925 0.017 81.498);
  --destructive: oklch(0.604 0.231 30.092);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.384 0.058 260.969);
  --chart-1: oklch(0.384 0.058 260.969);
  --chart-2: oklch(0.443 0.052 80.469);
  --chart-3: oklch(0.443 0.052 80.469);
  --chart-4: oklch(0.474 0.056 80.434);
  --chart-5: oklch(0.382 0.063 260.898);
}