Tedious for shadcn/ui

Tedious is a shadcn/ui theme built around a neutral gray primary color (#a6a5ac) with muted light indigo accents (#b8b4cf). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the neutral gray primary (#a6a5ac) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#000000black
Foreground
#060410black
#f9f9fbghostwhite
Card
#f8f7fdghostwhite
#030303black
Card foreground
#04030cblack
#fcfcfdwhite
Popover
#f8f7fdghostwhite
#030303black
Popover foreground
#04030cblack
#fcfcfdwhite
Primary
#a6a5acdarkgray
#a6a5acdarkgray
Primary foreground
#0f0f10black
#0f0f10black
Secondary
#d2d1dclightgrey
#292735darkslategray
Secondary foreground
#373545darkslategray
#c0bed0silver
Muted
#d5d3e4gainsboro
#1d1b2cblack
Muted foreground
#44434cdarkslategray
#b4b3bcsilver
Accent
#b8b4cfsilver
#33304bdarkslategray
Accent foreground
#222032darkslategray
#d0cddflightgrey
Destructive
#800a0amaroon
#e81111red
Destructive foreground
#fac1c1pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a6a5acdarkgray
#a6a5acdarkgray

Contrast

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

Light mode
Text on background19.69:1AAA
Text on card19.22:1AAA
Primary button7.82:1AAA
Secondary button7.90:1AAA
Muted text6.61:1AA
Accent7.94:1AAA
Destructive6.85:1AA
Dark mode
Text on background19.97:1AAA
Text on card20.16:1AAA
Primary button7.82:1AAA
Secondary button8.06:1AAA
Muted text8.10:1AAA
Accent8.11:1AAA
Destructive4.62:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 292.467);
  --foreground: oklch(0.122 0.029 289.534);
  --muted: oklch(0.873 0.024 292.033);
  --muted-foreground: oklch(0.388 0.014 291.835);
  --popover: oklch(0.978 0.008 292.387);
  --popover-foreground: oklch(0.11 0.025 290.275);
  --card: oklch(0.978 0.008 292.387);
  --card-foreground: oklch(0.11 0.025 290.275);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.724 0.01 292.284);
  --primary-foreground: oklch(0.168 0.003 292.259);
  --secondary: oklch(0.865 0.015 292.225);
  --secondary-foreground: oklch(0.339 0.028 290.949);
  --accent: oklch(0.783 0.038 291.613);
  --accent-foreground: oklch(0.254 0.034 289.896);
  --destructive: oklch(0.382 0.149 28.205);
  --destructive-foreground: oklch(0.863 0.066 18.507);
  --ring: oklch(0.724 0.01 292.284);
  --chart-1: oklch(0.724 0.01 292.284);
  --chart-2: oklch(0.865 0.015 292.225);
  --chart-3: oklch(0.783 0.038 291.613);
  --chart-4: oklch(0.89 0.012 292.295);
  --chart-5: oklch(0.718 0.017 292.082);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.002 292.502);
  --muted: oklch(0.234 0.033 289.728);
  --muted-foreground: oklch(0.771 0.012 292.247);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.992 0.001 292.523);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.001 292.523);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.724 0.01 292.284);
  --primary-foreground: oklch(0.168 0.003 292.259);
  --secondary: oklch(0.28 0.027 290.659);
  --secondary-foreground: oklch(0.809 0.025 291.954);
  --accent: oklch(0.324 0.047 289.595);
  --accent-foreground: oklch(0.856 0.025 291.995);
  --destructive: oklch(0.59 0.236 28.667);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.724 0.01 292.284);
  --chart-1: oklch(0.724 0.01 292.284);
  --chart-2: oklch(0.28 0.027 290.659);
  --chart-3: oklch(0.324 0.047 289.595);
  --chart-4: oklch(0.307 0.031 290.583);
  --chart-5: oklch(0.718 0.017 292.082);
}