Disguise for shadcn/ui

Disguise is a shadcn/ui theme built around a deep teal primary color (#182f2e) with muted teal accents (#a4c1c0). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the deep teal primary (#182f2e) on a teal-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#f7fdfdmintcream
#050a0ablack
Foreground
#020808black
#f8fcfbmintcream
Card
#f7fdfdmintcream
#050a0ablack
Card foreground
#020808black
#f8fcfbmintcream
Popover
#f7fdfdmintcream
#050a0ablack
Popover foreground
#020808black
#f8fcfbmintcream
Primary
#182f2edarkslategray
#182f2edarkslategray
Primary foreground
#a7d2d1lightsteelblue
#a7d2d1lightsteelblue
Secondary
#c7d1d0lightgrey
#313534darkslategray
Secondary foreground
#2e3837darkslategray
#cacecdlightgrey
Muted
#e0e6e6gainsboro
#191f1fblack
Muted foreground
#4b4e4edarkslategray
#b1b4b4darkgray
Accent
#a4c1c0silver
#425252darkslategray
Accent foreground
#151e1eblack
#e0e6e6gainsboro
Destructive
#740b01maroon
#fd2512orangered
Destructive foreground
#feb0a9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#182f2edarkslategray
#182f2edarkslategray

Contrast

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

Light mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button8.58:1AAA
Secondary button7.73:1AAA
Muted text6.66:1AA
Accent8.87:1AAA
Destructive6.69:1AA
Dark mode
Text on background19.22:1AAA
Text on card19.22:1AAA
Primary button8.58:1AAA
Secondary button7.85:1AAA
Muted text7.97:1AAA
Accent6.49:1AA
Destructive3.86:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.007 194.658);
  --foreground: oklch(0.126 0.015 193.355);
  --muted: oklch(0.921 0.007 194.643);
  --muted-foreground: oklch(0.421 0.004 194.613);
  --popover: oklch(0.99 0.007 194.658);
  --popover-foreground: oklch(0.126 0.015 193.355);
  --card: oklch(0.99 0.007 194.658);
  --card-foreground: oklch(0.126 0.015 193.355);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.287 0.029 192.916);
  --primary-foreground: oklch(0.833 0.045 193.806);
  --secondary: oklch(0.852 0.01 194.571);
  --secondary-foreground: oklch(0.33 0.012 194.099);
  --accent: oklch(0.789 0.031 194.055);
  --accent-foreground: oklch(0.227 0.014 193.661);
  --destructive: oklch(0.357 0.139 30.756);
  --destructive-foreground: oklch(0.83 0.092 25.016);
  --ring: oklch(0.287 0.029 192.916);
  --chart-1: oklch(0.287 0.029 192.916);
  --chart-2: oklch(0.852 0.01 194.571);
  --chart-3: oklch(0.789 0.031 194.055);
  --chart-4: oklch(0.875 0.008 194.609);
  --chart-5: oklch(0.29 0.031 192.787);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.011 193.81);
  --foreground: oklch(0.987 0.003 194.724);
  --muted: oklch(0.234 0.01 194.015);
  --muted-foreground: oklch(0.768 0.003 194.706);
  --popover: oklch(0.14 0.011 193.81);
  --popover-foreground: oklch(0.987 0.003 194.724);
  --card: oklch(0.14 0.011 193.81);
  --card-foreground: oklch(0.987 0.003 194.724);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.287 0.029 192.916);
  --primary-foreground: oklch(0.833 0.045 193.806);
  --secondary: oklch(0.324 0.004 194.546);
  --secondary-foreground: oklch(0.848 0.003 194.716);
  --accent: oklch(0.425 0.02 193.908);
  --accent-foreground: oklch(0.92 0.007 194.655);
  --destructive: oklch(0.635 0.245 30.089);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.287 0.029 192.916);
  --chart-1: oklch(0.287 0.029 192.916);
  --chart-2: oklch(0.324 0.004 194.546);
  --chart-3: oklch(0.425 0.02 193.908);
  --chart-4: oklch(0.354 0.005 194.539);
  --chart-5: oklch(0.29 0.031 192.787);
}