Tedious for shadcn/ui

Tedious is a shadcn/ui theme built around a green primary color (#43a834) with purple accents (#9834a8). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the green primary (#43a834) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#000000black
Foreground
#081406black
#f5faf4whitesmoke
Card
#f9fcf8mintcream
#030303black
Card foreground
#061005black
#f8fcf8mintcream
Popover
#f9fcf8mintcream
#030303black
Popover foreground
#061005black
#f8fcf8mintcream
Primary
#43a834limegreen
#43a834limegreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#9834a8darkorchid
#9834a8darkorchid
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8e2e9lavender
#1c161dblack
Muted foreground
#594d5bdimgray
#b0a4b2darkgray
Accent
#9834a8darkorchid
#9834a8darkorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#ae430asaddlebrown
#f37735tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#43a834limegreen
#43a834limegreen

Contrast

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

Light mode
Text on background18.53:1AAA
Text on card18.69:1AAA
Primary button3.05:1AA Large
Secondary button6.20:1AA
Muted text6.24:1AA
Accent6.20:1AA
Destructive5.82:1AA
Dark mode
Text on background19.86:1AAA
Text on card19.96:1AAA
Primary button3.05:1AA Large
Secondary button6.20:1AA
Muted text7.45:1AAA
Accent6.20:1AA
Destructive7.52:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 141.584);
  --foreground: oklch(0.174 0.034 140.467);
  --muted: oklch(0.919 0.012 321.63);
  --muted-foreground: oklch(0.438 0.026 321.756);
  --popover: oklch(0.987 0.006 141.575);
  --popover-foreground: oklch(0.158 0.03 140.172);
  --card: oklch(0.987 0.006 141.575);
  --card-foreground: oklch(0.158 0.03 140.172);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.648 0.18 141.152);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.517 0.193 322.053);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.517 0.193 322.053);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.522 0.151 42.449);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.648 0.18 141.152);
  --chart-1: oklch(0.648 0.18 141.152);
  --chart-2: oklch(0.517 0.193 322.053);
  --chart-3: oklch(0.517 0.193 322.053);
  --chart-4: oklch(0.543 0.203 322.048);
  --chart-5: oklch(0.655 0.187 141.184);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.981 0.01 141.564);
  --muted: oklch(0.21 0.018 321.821);
  --muted-foreground: oklch(0.733 0.023 321.68);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.987 0.007 141.574);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.007 141.574);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.648 0.18 141.152);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.517 0.193 322.053);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.517 0.193 322.053);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.705 0.171 45.824);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.648 0.18 141.152);
  --chart-1: oklch(0.648 0.18 141.152);
  --chart-2: oklch(0.517 0.193 322.053);
  --chart-3: oklch(0.517 0.193 322.053);
  --chart-4: oklch(0.543 0.203 322.048);
  --chart-5: oklch(0.655 0.187 141.184);
}