Kosher for shadcn/ui

Kosher is a shadcn/ui theme built around a pink primary color (#bc4e6b) with blue accents (#4e6bbc). The light mode uses a neutral background (#fdf6f8). Dark mode keeps the pink primary (#bc4e6b) on a neutral background (#070304).

Color palette

TokenLightDark
Background
#fdf6f8snow
#070304black
Foreground
#140609black
#faf4f6whitesmoke
Card
#fdf2f5lavenderblush
#0b0506black
Card foreground
#100408black
#fcf8f9snow
Popover
#fdf2f5lavenderblush
#0b0506black
Popover foreground
#100408black
#fcf8f9snow
Primary
#bc4e6bindianred
#bc4e6bindianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#6bbc4eyellowgreen
#6bbc4eyellowgreen
Secondary foreground
#182c11black
#182c11black
Muted
#e2e5e1gainsboro
#1b1e1ablack
Muted foreground
#4e594adarkslategray
#aab5a6darkgray
Accent
#4e6bbcsteelblue
#4e6bbcsteelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#a52403firebrick
#fb562dtomato
Destructive foreground
#fee3dcmistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bc4e6bindianred
#bc4e6bindianred

Contrast

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

Light mode
Text on background18.66:1AAA
Text on card18.39:1AAA
Primary button4.75:1AA
Secondary button6.32:1AA
Muted text5.79:1AA
Accent5.06:1AA
Destructive6.05:1AA
Dark mode
Text on background18.87:1AAA
Text on card19.22:1AAA
Primary button4.75:1AA
Secondary button6.32:1AA
Muted text7.90:1AAA
Accent5.06:1AA
Destructive6.46:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.008 359.013);
  --foreground: oklch(0.146 0.028 1.919);
  --muted: oklch(0.918 0.006 137.205);
  --muted-foreground: oklch(0.45 0.027 137.339);
  --popover: oklch(0.97 0.012 359.132);
  --popover-foreground: oklch(0.134 0.025 0.181);
  --card: oklch(0.97 0.012 359.132);
  --card-foreground: oklch(0.134 0.025 0.181);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.573 0.144 6.224);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.718 0.166 138.211);
  --secondary-foreground: oklch(0.269 0.055 137.961);
  --accent: oklch(0.544 0.131 266.995);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.472 0.169 33.501);
  --destructive-foreground: oklch(0.936 0.032 34.305);
  --ring: oklch(0.573 0.144 6.224);
  --chart-1: oklch(0.573 0.144 6.224);
  --chart-2: oklch(0.718 0.166 138.211);
  --chart-3: oklch(0.544 0.131 266.995);
  --chart-4: oklch(0.735 0.158 138.054);
  --chart-5: oklch(0.574 0.153 6.817);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.012 358.682);
  --foreground: oklch(0.973 0.007 358.98);
  --muted: oklch(0.231 0.009 137.279);
  --muted-foreground: oklch(0.76 0.024 137.264);
  --popover: oklch(0.124 0.014 358.707);
  --popover-foreground: oklch(0.982 0.004 358.913);
  --card: oklch(0.124 0.014 358.707);
  --card-foreground: oklch(0.982 0.004 358.913);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.573 0.144 6.224);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.718 0.166 138.211);
  --secondary-foreground: oklch(0.269 0.055 137.961);
  --accent: oklch(0.544 0.131 266.995);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.672 0.207 34.844);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.573 0.144 6.224);
  --chart-1: oklch(0.573 0.144 6.224);
  --chart-2: oklch(0.718 0.166 138.211);
  --chart-3: oklch(0.544 0.131 266.995);
  --chart-4: oklch(0.735 0.158 138.054);
  --chart-5: oklch(0.574 0.153 6.817);
}