Kielbasa for shadcn/ui

Kielbasa is a shadcn/ui theme built around a near-black primary color (#010304) with neutral gray accents (#e0e0e1). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the near-black primary (#010304) on a neutral background (#040507).

Color palette

TokenLightDark
Background
#fbfdfewhite
#040507black
Foreground
#030608black
#ffffffwhite
Card
#fbfdfewhite
#040507black
Card foreground
#030608black
#ffffffwhite
Popover
#fbfdfewhite
#040507black
Popover foreground
#030608black
#ffffffwhite
Primary
#010304black
#010304black
Primary foreground
#6ca7cbcornflowerblue
#6ca7cbcornflowerblue
Secondary
#e0e0e1gainsboro
#212426darkslategray
Secondary foreground
#474848darkslategray
#b8bec1silver
Muted
#e1e6ealavender
#151a1eblack
Muted foreground
#4b5053darkslategray
#acb1b4darkgray
Accent
#e0e0e1gainsboro
#212426darkslategray
Accent foreground
#474848darkslategray
#b8bec1silver
Destructive
#911408darkred
#f34939tomato
Destructive foreground
#fcd3cfpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#010304black
#010304black

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.88:1AAA
Primary button7.90:1AAA
Secondary button6.97:1AA
Muted text6.52:1AA
Accent6.97:1AA
Destructive6.68:1AA
Dark mode
Text on background20.36:1AAA
Text on card20.36:1AAA
Primary button7.90:1AAA
Secondary button8.28:1AAA
Muted text8.06:1AAA
Accent8.28:1AAA
Destructive3.59:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 234.539);
  --foreground: oklch(0.115 0.011 228.389);
  --muted: oklch(0.923 0.007 234.613);
  --muted-foreground: oklch(0.428 0.008 234.782);
  --popover: oklch(0.992 0.002 234.539);
  --popover-foreground: oklch(0.115 0.011 228.389);
  --card: oklch(0.992 0.002 234.539);
  --card-foreground: oklch(0.115 0.011 228.389);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.092 0.008 228.615);
  --primary-foreground: oklch(0.701 0.082 236.87);
  --secondary: oklch(0.908 0.001 234.515);
  --secondary-foreground: oklch(0.399 0.001 234.559);
  --accent: oklch(0.908 0.001 234.515);
  --accent-foreground: oklch(0.399 0.001 234.559);
  --destructive: oklch(0.421 0.16 30.1);
  --destructive-foreground: oklch(0.9 0.047 24.17);
  --ring: oklch(0.092 0.008 228.615);
  --chart-1: oklch(0.092 0.008 228.615);
  --chart-2: oklch(0.908 0.001 234.515);
  --chart-3: oklch(0.908 0.001 234.515);
  --chart-4: oklch(0.931 0 234.512);
  --chart-5: oklch(0.092 0.009 228.276);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.116 0.007 230.594);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.216 0.01 235.215);
  --muted-foreground: oklch(0.757 0.007 234.639);
  --popover: oklch(0.116 0.007 230.594);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.116 0.007 230.594);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.092 0.008 228.615);
  --primary-foreground: oklch(0.701 0.082 236.87);
  --secondary: oklch(0.259 0.006 234.835);
  --secondary-foreground: oklch(0.797 0.008 234.653);
  --accent: oklch(0.259 0.006 234.835);
  --accent-foreground: oklch(0.797 0.008 234.653);
  --destructive: oklch(0.648 0.21 29.245);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.092 0.008 228.615);
  --chart-1: oklch(0.092 0.008 228.615);
  --chart-2: oklch(0.259 0.006 234.835);
  --chart-3: oklch(0.259 0.006 234.835);
  --chart-4: oklch(0.291 0.007 234.853);
  --chart-5: oklch(0.092 0.009 228.276);
}