Night Wolf (dark gray) (No Italics) for shadcn/ui

Night Wolf (dark gray) (No Italics) is a shadcn/ui theme built around a vivid purple primary color (#ff52ff) with neutral gray accents (#424242). The light mode uses a neutral background (#1c1c1c). Dark mode keeps the vivid purple primary (#ff52ff) on a neutral background (#1c1c1c).

Color palette

TokenLightDark
Background
#1c1c1cblack
#1c1c1cblack
Foreground
#cfcfcflightgrey
#cfcfcflightgrey
Card
#171717black
#171717black
Card foreground
#dbdbdbgainsboro
#dbdbdbgainsboro
Popover
#141414black
#141414black
Popover foreground
#e8e8e8lavender
#e8e8e8lavender
Primary
#ff52ffviolet
#ff52ffviolet
Primary foreground
#1f001fblack
#1f001fblack
Secondary
#532d53darkslategray
#532d53darkslategray
Secondary foreground
#e4cde4gainsboro
#e4cde4gainsboro
Muted
#2b2222darkslategray
#2b2222darkslategray
Muted foreground
#b09b9brosybrown
#b09b9brosybrown
Accent
#424242darkslategray
#424242darkslategray
Accent foreground
#dbdbdbgainsboro
#dbdbdbgainsboro
Destructive
#f84525orangered
#f84525orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#292929darkslategray
#292929darkslategray
Input
#303030darkslategray
#303030darkslategray
Ring
#ff52ffviolet
#ff52ffviolet

Contrast

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

Light mode
Text on background10.93:1AAA
Text on card12.95:1AAA
Primary button7.31:1AAA
Secondary button7.60:1AAA
Muted text5.93:1AA
Accent7.22:1AAA
Destructive3.57:1AA Large
Dark mode
Text on background10.93:1AAA
Text on card12.95:1AAA
Primary button7.31:1AAA
Secondary button7.60:1AAA
Muted text5.93:1AA
Accent7.22:1AAA
Destructive3.57:1AA Large

CSS variables

Paste this into your globals.css to use Night Wolf (dark gray) (No Italics) in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.227 0 164.055);
  --foreground: oklch(0.853 0 168.69);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0.193 0 164.055);
  --popover-foreground: oklch(0.931 0 180);
  --card: oklch(0.204 0 180);
  --card-foreground: oklch(0.892 0 180);
  --border: oklch(0.28 0 180);
  --input: oklch(0.311 0 180);
  --primary: oklch(0.737 0.276 327.931);
  --primary-foreground: oklch(0.167 0.077 328.363);
  --secondary: oklch(0.36 0.08 327.079);
  --secondary-foreground: oklch(0.875 0.04 325.912);
  --accent: oklch(0.38 0 180);
  --accent-foreground: oklch(0.892 0 180);
  --destructive: oklch(0.65 0.22 32.329);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.737 0.276 327.931);
  --chart-1: oklch(0.737 0.276 327.931);
  --chart-2: oklch(0.36 0.08 327.079);
  --chart-3: oklch(0.38 0 180);
  --chart-4: oklch(0.388 0.088 327.103);
  --chart-5: oklch(0.74 0.281 327.965);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.227 0 164.055);
  --foreground: oklch(0.853 0 168.69);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0.193 0 164.055);
  --popover-foreground: oklch(0.931 0 180);
  --card: oklch(0.204 0 180);
  --card-foreground: oklch(0.892 0 180);
  --border: oklch(0.28 0 180);
  --input: oklch(0.311 0 180);
  --primary: oklch(0.737 0.276 327.931);
  --primary-foreground: oklch(0.167 0.077 328.363);
  --secondary: oklch(0.36 0.08 327.079);
  --secondary-foreground: oklch(0.875 0.04 325.912);
  --accent: oklch(0.38 0 180);
  --accent-foreground: oklch(0.892 0 180);
  --destructive: oklch(0.65 0.22 32.329);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.737 0.276 327.931);
  --chart-1: oklch(0.737 0.276 327.931);
  --chart-2: oklch(0.36 0.08 327.079);
  --chart-3: oklch(0.38 0 180);
  --chart-4: oklch(0.388 0.088 327.103);
  --chart-5: oklch(0.74 0.281 327.965);
}