Neighbouring Old Gungeon Red for shadcn/ui

Neighbouring Old Gungeon Red is a shadcn/ui theme built around a vivid blue primary color (#2563eb) with near-white accents (#f4f4f5). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#006ae6) on a blue-tinted background (#0f1014).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f1014black
Foreground
#09090bblack
#f5f5f5whitesmoke
Card
#ffffffwhite
#15171cblack
Card foreground
#09090bblack
#f5f5f5whitesmoke
Popover
#ffffffwhite
#15171cblack
Popover foreground
#09090bblack
#f5f5f5whitesmoke
Primary
#2563ebroyalblue
#006ae6dodgerblue
Primary foreground
#f8fafcghostwhite
#ffffffwhite
Secondary
#f1f5f9whitesmoke
#1a1a1ablack
Secondary foreground
#0f172ablack
#ffffffwhite
Muted
#f4f4f5whitesmoke
#1b1c22black
Muted foreground
#71717adimgray
#636674dimgray
Accent
#f4f4f5whitesmoke
#15171cblack
Accent foreground
#18181bblack
#ffffffwhite
Destructive
#ef4444tomato
#7f1d1dmaroon
Destructive foreground
#fafafasnow
#fafafasnow
Border
#e4e4e7gainsboro
#1e2027black
Input
#e4e4e7gainsboro
#363843darkslategray
Ring
#18181bblack
#c4c4c4silver

Contrast

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

Light mode
Text on background19.89:1AAA
Text on card19.89:1AAA
Primary button4.94:1AA
Secondary button16.30:1AAA
Muted text4.39:1AA Large
Accent16.12:1AAA
Destructive3.60:1AA Large
Dark mode
Text on background17.43:1AAA
Text on card16.44:1AAA
Primary button4.99:1AA
Secondary button17.40:1AAA
Muted text2.98:1Fail
Accent17.92:1AAA
Destructive9.59:1AAA

CSS variables

Paste this into your globals.css to use Neighbouring Old Gungeon Red in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.141 0.004 285.824);
  --muted: oklch(0.968 0.001 286.375);
  --muted-foreground: oklch(0.552 0.014 285.942);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.141 0.004 285.824);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.141 0.004 285.824);
  --border: oklch(0.92 0.004 286.32);
  --input: oklch(0.92 0.004 286.32);
  --primary: oklch(0.546 0.215 262.872);
  --primary-foreground: oklch(0.984 0.003 247.859);
  --secondary: oklch(0.968 0.007 247.895);
  --secondary-foreground: oklch(0.208 0.04 265.727);
  --accent: oklch(0.968 0.001 286.375);
  --accent-foreground: oklch(0.21 0.006 285.883);
  --destructive: oklch(0.637 0.208 25.326);
  --destructive-foreground: oklch(0.985 0 180);
  --ring: oklch(0.21 0.006 285.883);
  --chart-1: oklch(0.546 0.215 262.872);
  --chart-2: oklch(0.968 0.007 247.895);
  --chart-3: oklch(0.968 0.001 286.375);
  --chart-4: oklch(0.993 0.002 247.838);
  --chart-5: oklch(0.546 0.222 262.835);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.174 0.008 274.386);
  --foreground: oklch(0.97 0 187.595);
  --muted: oklch(0.228 0.012 277.953);
  --muted-foreground: oklch(0.513 0.022 275.994);
  --popover: oklch(0.205 0.01 268.177);
  --popover-foreground: oklch(0.97 0 187.595);
  --card: oklch(0.205 0.01 268.177);
  --card-foreground: oklch(0.97 0 187.595);
  --border: oklch(0.245 0.014 272.778);
  --input: oklch(0.343 0.019 277.202);
  --primary: oklch(0.551 0.205 258.169);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.218 0 180);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.205 0.01 268.177);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.396 0.133 25.721);
  --destructive-foreground: oklch(0.985 0 180);
  --ring: oklch(0.821 0 180);
  --chart-1: oklch(0.551 0.205 258.169);
  --chart-2: oklch(0.218 0 180);
  --chart-3: oklch(0.205 0.01 268.177);
  --chart-4: oklch(0.251 0 180);
  --chart-5: oklch(0.552 0.21 258.409);
}