Noctis Bordo for shadcn/ui

Noctis Bordo is a shadcn/ui theme built around a muted pink primary color (#997582) with muted pink accents (#5c4d52). The light mode uses a pink-tinted background (#322a2d). Dark mode keeps the muted pink primary (#997582) on a pink-tinted background (#322a2d).

Color palette

TokenLightDark
Background
#322a2ddarkslategray
#322a2ddarkslategray
Foreground
#cbbec2silver
#cbbec2silver
Card
#2c2528darkslategray
#2c2528darkslategray
Card foreground
#d6cccflightgrey
#d6cccflightgrey
Popover
#2a2325darkslategray
#2a2325darkslategray
Popover foreground
#e1dadcgainsboro
#e1dadcgainsboro
Primary
#997582gray
#997582gray
Primary foreground
#000000black
#000000black
Secondary
#433d3fdarkslategray
#433d3fdarkslategray
Secondary foreground
#dbd7d8gainsboro
#dbd7d8gainsboro
Muted
#3f3136darkslategray
#3f3136darkslategray
Muted foreground
#c0afb5silver
#c0afb5silver
Accent
#5c4d52dimgray
#5c4d52dimgray
Accent foreground
#efecedwhitesmoke
#efecedwhitesmoke
Destructive
#e84f30tomato
#e84f30tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#3b3b3bdarkslategray
#3b3b3bdarkslategray
Input
#424242darkslategray
#424242darkslategray
Ring
#997582gray
#997582gray

Contrast

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

Light mode
Text on background7.78:1AAA
Text on card9.52:1AAA
Primary button5.23:1AA
Secondary button7.48:1AAA
Muted text5.87:1AA
Accent6.81:1AA
Destructive3.75:1AA Large
Dark mode
Text on background7.78:1AAA
Text on card9.52:1AAA
Primary button5.23:1AA
Secondary button7.48:1AAA
Muted text5.87:1AA
Accent6.81:1AA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.294 0.013 353.826);
  --foreground: oklch(0.813 0.015 357.2);
  --muted: oklch(0.331 0.021 354.323);
  --muted-foreground: oklch(0.77 0.021 353.359);
  --popover: oklch(0.264 0.011 352.786);
  --popover-foreground: oklch(0.895 0.008 356.93);
  --card: oklch(0.274 0.012 352.807);
  --card-foreground: oklch(0.854 0.012 357.057);
  --border: oklch(0.351 0 167.471);
  --input: oklch(0.38 0 180);
  --primary: oklch(0.602 0.049 354.778);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.366 0.01 353.316);
  --secondary-foreground: oklch(0.882 0.005 352.724);
  --accent: oklch(0.436 0.022 353.976);
  --accent-foreground: oklch(0.945 0.004 352.69);
  --destructive: oklch(0.635 0.194 33.207);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.602 0.049 354.778);
  --chart-1: oklch(0.602 0.049 354.778);
  --chart-2: oklch(0.366 0.01 353.316);
  --chart-3: oklch(0.436 0.022 353.976);
  --chart-4: oklch(0.394 0.011 353.331);
  --chart-5: oklch(0.599 0.058 355.229);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.294 0.013 353.826);
  --foreground: oklch(0.813 0.015 357.2);
  --muted: oklch(0.331 0.021 354.323);
  --muted-foreground: oklch(0.77 0.021 353.359);
  --popover: oklch(0.264 0.011 352.786);
  --popover-foreground: oklch(0.895 0.008 356.93);
  --card: oklch(0.274 0.012 352.807);
  --card-foreground: oklch(0.854 0.012 357.057);
  --border: oklch(0.351 0 167.471);
  --input: oklch(0.38 0 180);
  --primary: oklch(0.602 0.049 354.778);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.366 0.01 353.316);
  --secondary-foreground: oklch(0.882 0.005 352.724);
  --accent: oklch(0.436 0.022 353.976);
  --accent-foreground: oklch(0.945 0.004 352.69);
  --destructive: oklch(0.635 0.194 33.207);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.602 0.049 354.778);
  --chart-1: oklch(0.602 0.049 354.778);
  --chart-2: oklch(0.366 0.01 353.316);
  --chart-3: oklch(0.436 0.022 353.976);
  --chart-4: oklch(0.394 0.011 353.331);
  --chart-5: oklch(0.599 0.058 355.229);
}