Fatigues for shadcn/ui

Fatigues is a shadcn/ui theme built around a vivid deep teal primary color (#107e6c) with muted light teal accents (#cfdddb). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the vivid deep teal primary (#107e6c) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#f7fdfcmintcream
#030707black
Foreground
#051512black
#f5faf9mintcream
Card
#f7fdfcmintcream
#030707black
Card foreground
#051512black
#f5faf9mintcream
Popover
#f7fdfcmintcream
#030707black
Popover foreground
#051512black
#f5faf9mintcream
Primary
#107e6cteal
#107e6cteal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cfdddbgainsboro
#272f2edarkslategray
Secondary foreground
#334844darkslategray
#bfcac8silver
Muted
#e0ebe9lavender
#141f1dblack
Muted foreground
#585f5edimgray
#a0a7a6darkgray
Accent
#cfdddbgainsboro
#272f2edarkslategray
Accent foreground
#334844darkslategray
#bfcac8silver
Destructive
#b53512firebrick
#ed6a45tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#107e6cteal
#107e6cteal

Contrast

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

Light mode
Text on background18.14:1AAA
Text on card18.14:1AAA
Primary button4.94:1AA
Secondary button6.99:1AA
Muted text5.35:1AA
Accent6.99:1AA
Destructive6.02:1AA
Dark mode
Text on background19.18:1AAA
Text on card19.18:1AAA
Primary button4.94:1AA
Secondary button8.12:1AAA
Muted text6.90:1AA
Accent8.12:1AAA
Destructive6.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 185.292);
  --foreground: oklch(0.179 0.023 182.008);
  --muted: oklch(0.931 0.012 185.121);
  --muted-foreground: oklch(0.48 0.009 184.934);
  --popover: oklch(0.989 0.006 185.292);
  --popover-foreground: oklch(0.179 0.023 182.008);
  --card: oklch(0.989 0.006 185.292);
  --card-foreground: oklch(0.179 0.023 182.008);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.533 0.095 177.374);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.887 0.015 184.997);
  --secondary-foreground: oklch(0.382 0.027 183.485);
  --accent: oklch(0.887 0.015 184.997);
  --accent-foreground: oklch(0.382 0.027 183.485);
  --destructive: oklch(0.518 0.17 35.097);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.533 0.095 177.374);
  --chart-1: oklch(0.533 0.095 177.374);
  --chart-2: oklch(0.887 0.015 184.997);
  --chart-3: oklch(0.887 0.015 184.997);
  --chart-4: oklch(0.908 0.012 185.092);
  --chart-5: oklch(0.539 0.097 177.096);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.012 185.172);
  --foreground: oklch(0.981 0.006 185.286);
  --muted: oklch(0.228 0.016 183.523);
  --muted-foreground: oklch(0.722 0.009 185.139);
  --popover: oklch(0.123 0.012 185.172);
  --popover-foreground: oklch(0.981 0.006 185.286);
  --card: oklch(0.123 0.012 185.172);
  --card-foreground: oklch(0.981 0.006 185.286);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.533 0.095 177.374);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.298 0.011 184.455);
  --secondary-foreground: oklch(0.829 0.012 185.075);
  --accent: oklch(0.298 0.011 184.455);
  --accent-foreground: oklch(0.829 0.012 185.075);
  --destructive: oklch(0.677 0.17 36.329);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.533 0.095 177.374);
  --chart-1: oklch(0.533 0.095 177.374);
  --chart-2: oklch(0.298 0.011 184.455);
  --chart-3: oklch(0.298 0.011 184.455);
  --chart-4: oklch(0.33 0.013 184.418);
  --chart-5: oklch(0.539 0.097 177.096);
}