Disguised for shadcn/ui

Disguised is a shadcn/ui theme built around a teal primary color (#4be2a6) with pink accents (#e24b87). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#4be2a6) on a teal-tinted background (#060f0b).

Color palette

TokenLightDark
Background
#fbfefdwhite
#060f0bblack
Foreground
#000000black
#f5faf8mintcream
Card
#fbfefdwhite
#060f0bblack
Card foreground
#000000black
#f5faf8mintcream
Popover
#fbfefdwhite
#060f0bblack
Popover foreground
#000000black
#f5faf8mintcream
Primary
#4be2a6mediumaquamarine
#4be2a6mediumaquamarine
Primary foreground
#000000black
#000000black
Secondary
#e24b87palevioletred
#e24b87palevioletred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ebe0e4gainsboro
#1f1418black
Muted foreground
#625b5edimgray
#a49da0darkgray
Accent
#e24b87palevioletred
#e24b87palevioletred
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#c54a07chocolate
#e25508chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4be2a6mediumaquamarine
#4be2a6mediumaquamarine

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.70:1AAA
Primary button12.69:1AAA
Secondary button3.75:1AA Large
Muted text5.12:1AA
Accent3.75:1AA Large
Destructive4.83:1AA
Dark mode
Text on background18.46:1AAA
Text on card18.46:1AAA
Primary button12.69:1AAA
Secondary button3.75:1AA Large
Muted text6.75:1AA
Accent3.75:1AA Large
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 170.509);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.916 0.014 351.058);
  --muted-foreground: oklch(0.478 0.011 351.253);
  --popover: oklch(0.995 0.004 170.509);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.995 0.004 170.509);
  --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.818 0.154 162.552);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.637 0.193 359.599);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.637 0.193 359.599);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.568 0.17 41.521);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.818 0.154 162.552);
  --chart-1: oklch(0.818 0.154 162.552);
  --chart-2: oklch(0.637 0.193 359.599);
  --chart-3: oklch(0.637 0.193 359.599);
  --chart-4: oklch(0.658 0.181 358.45);
  --chart-5: oklch(0.825 0.158 162.231);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.016 168.764);
  --foreground: oklch(0.981 0.006 170.433);
  --muted: oklch(0.207 0.021 353.336);
  --muted-foreground: oklch(0.703 0.01 351.013);
  --popover: oklch(0.156 0.016 168.764);
  --popover-foreground: oklch(0.981 0.006 170.433);
  --card: oklch(0.156 0.016 168.764);
  --card-foreground: oklch(0.981 0.006 170.433);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.818 0.154 162.552);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.637 0.193 359.599);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.637 0.193 359.599);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.63 0.19 41.227);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.818 0.154 162.552);
  --chart-1: oklch(0.818 0.154 162.552);
  --chart-2: oklch(0.637 0.193 359.599);
  --chart-3: oklch(0.637 0.193 359.599);
  --chart-4: oklch(0.658 0.181 358.45);
  --chart-5: oklch(0.825 0.158 162.231);
}