Negligee for shadcn/ui

Negligee is a shadcn/ui theme built around a vivid pink primary color (#f41f7f) with vivid red accents (#f42a1f). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid pink primary (#f41f7f) on a pink-tinted background (#0d070a).

Color palette

TokenLightDark
Background
#fcf8fasnow
#0d070ablack
Foreground
#090105black
#fbf9fasnow
Card
#fcf8fasnow
#0d070ablack
Card foreground
#090105black
#fbf9fasnow
Popover
#fcf8fasnow
#0d070ablack
Popover foreground
#090105black
#fbf9fasnow
Primary
#f41f7fdeeppink
#f41f7fdeeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#f41feamagenta
#f41feamagenta
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e4cee3gainsboro
#311b30darkslategray
Muted foreground
#675666dimgray
#a998a8darkgray
Accent
#f42a1forangered
#f42a1forangered
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b03e0cfirebrick
#f16f37tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f41f7fdeeppink
#f41f7fdeeppink

Contrast

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

Light mode
Text on background19.57:1AAA
Text on card19.57:1AAA
Primary button3.91:1AA Large
Secondary button3.36:1AA Large
Muted text4.57:1AA
Accent4.03:1AA Large
Destructive5.93:1AA
Dark mode
Text on background19.02:1AAA
Text on card19.02:1AAA
Primary button3.91:1AA Large
Secondary button3.36:1AA Large
Muted text5.80:1AA
Accent4.03:1AA Large
Destructive7.05:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 347.947);
  --foreground: oklch(0.103 0.027 347.388);
  --muted: oklch(0.875 0.037 327.425);
  --muted-foreground: oklch(0.475 0.033 327.664);
  --popover: oklch(0.982 0.005 347.947);
  --popover-foreground: oklch(0.103 0.027 347.388);
  --card: oklch(0.982 0.005 347.947);
  --card-foreground: oklch(0.103 0.027 347.388);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.634 0.244 1.934);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.68 0.297 330.752);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.623 0.235 29.132);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.52 0.159 39.285);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.634 0.244 1.934);
  --chart-1: oklch(0.634 0.244 1.934);
  --chart-2: oklch(0.68 0.297 330.752);
  --chart-3: oklch(0.623 0.235 29.132);
  --chart-4: oklch(0.688 0.289 330.55);
  --chart-5: oklch(0.639 0.248 2.484);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.013 348.832);
  --foreground: oklch(0.984 0.002 347.864);
  --muted: oklch(0.262 0.049 328.642);
  --muted-foreground: oklch(0.7 0.03 327.429);
  --popover: oklch(0.14 0.013 348.832);
  --popover-foreground: oklch(0.984 0.002 347.864);
  --card: oklch(0.14 0.013 348.832);
  --card-foreground: oklch(0.984 0.002 347.864);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.634 0.244 1.934);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.68 0.297 330.752);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.623 0.235 29.132);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.689 0.175 41.904);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.634 0.244 1.934);
  --chart-1: oklch(0.634 0.244 1.934);
  --chart-2: oklch(0.68 0.297 330.752);
  --chart-3: oklch(0.623 0.235 29.132);
  --chart-4: oklch(0.688 0.289 330.55);
  --chart-5: oklch(0.639 0.248 2.484);
}