Insidious for shadcn/ui

Insidious is a shadcn/ui theme built around a muted pink primary color (#ac8691) with muted light pink accents (#e3dedf). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the muted pink primary (#ac8691) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fcf8f9snow
#040102black
Foreground
#040102black
#f8f6f7whitesmoke
Card
#faf5f6whitesmoke
#080204black
Card foreground
#000000black
#fbf9fasnow
Popover
#faf5f6whitesmoke
#080204black
Popover foreground
#000000black
#fbf9fasnow
Primary
#ac8691rosybrown
#ac8691rosybrown
Primary foreground
#000000black
#000000black
Secondary
#e3dedfgainsboro
#151414black
Secondary foreground
#4d4245darkslategray
#b0abacdarkgray
Muted
#e8cad3thistle
#351720black
Muted foreground
#69595edimgray
#a6969bdarkgray
Accent
#e3dedfgainsboro
#151414black
Accent foreground
#4d4245darkslategray
#b0abacdarkgray
Destructive
#c52602firebrick
#e32c02orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ac8691rosybrown
#ac8691rosybrown

Contrast

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

Light mode
Text on background19.72:1AAA
Text on card19.40:1AAA
Primary button6.56:1AA
Secondary button7.23:1AAA
Muted text4.32:1AA Large
Accent7.23:1AAA
Destructive5.75:1AA
Dark mode
Text on background19.29:1AAA
Text on card19.59:1AAA
Primary button6.56:1AA
Secondary button8.12:1AAA
Muted text5.74:1AA
Accent8.12:1AAA
Destructive4.53:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 356.784);
  --foreground: oklch(0.081 0.019 356.278);
  --muted: oklch(0.866 0.035 357.809);
  --muted-foreground: oklch(0.481 0.021 357.904);
  --popover: oklch(0.974 0.006 356.849);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.974 0.006 356.849);
  --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.659 0.05 358.751);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.905 0.006 356.839);
  --secondary-foreground: oklch(0.391 0.017 357.849);
  --accent: oklch(0.905 0.006 356.839);
  --accent-foreground: oklch(0.391 0.017 357.849);
  --destructive: oklch(0.533 0.198 32.545);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.659 0.05 358.751);
  --chart-1: oklch(0.659 0.05 358.751);
  --chart-2: oklch(0.905 0.006 356.839);
  --chart-3: oklch(0.905 0.006 356.839);
  --chart-4: oklch(0.929 0.004 356.789);
  --chart-5: oklch(0.656 0.058 359.093);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.013 356.407);
  --foreground: oklch(0.976 0.003 356.735);
  --muted: oklch(0.253 0.049 2.104);
  --muted-foreground: oklch(0.689 0.019 357.456);
  --popover: oklch(0.106 0.017 356.407);
  --popover-foreground: oklch(0.984 0.002 356.709);
  --card: oklch(0.106 0.017 356.407);
  --card-foreground: oklch(0.984 0.002 356.709);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.659 0.05 358.751);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.192 0.002 356.971);
  --secondary-foreground: oklch(0.746 0.006 356.888);
  --accent: oklch(0.192 0.002 356.971);
  --accent-foreground: oklch(0.746 0.006 356.888);
  --destructive: oklch(0.592 0.221 32.346);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.659 0.05 358.751);
  --chart-1: oklch(0.659 0.05 358.751);
  --chart-2: oklch(0.192 0.002 356.971);
  --chart-3: oklch(0.192 0.002 356.971);
  --chart-4: oklch(0.225 0.003 357.011);
  --chart-5: oklch(0.656 0.058 359.093);
}