Kosher for shadcn/ui

Kosher is a shadcn/ui theme built around a vivid light pink primary color (#fdafe2) with vivid light blue accents (#afe2fd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light pink primary (#fdafe2) on a pink-tinted background (#0d070b).

Color palette

TokenLightDark
Background
#ffffffwhite
#0d070bblack
Foreground
#080206black
#fdfcfdwhite
Card
#ffffffwhite
#0d070bblack
Card foreground
#080206black
#fdfcfdwhite
Popover
#ffffffwhite
#0d070bblack
Popover foreground
#080206black
#fdfcfdwhite
Primary
#fdafe2pink
#fdafe2pink
Primary foreground
#78024fpurple
#78024fpurple
Secondary
#e2fdafpalegoldenrod
#e2fdafpalegoldenrod
Secondary foreground
#0d1400black
#0d1400black
Muted
#dce3cegainsboro
#29311cdarkslategray
Muted foreground
#5b5f54dimgray
#a7aba0darkgray
Accent
#afe2fdpaleturquoise
#afe2fdpaleturquoise
Accent foreground
#024f78teal
#024f78teal
Destructive
#ad0805darkred
#f93c39tomato
Destructive foreground
#fee7e6mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fdafe2pink
#fdafe2pink

Contrast

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

Light mode
Text on background20.55:1AAA
Text on card20.55:1AAA
Primary button6.46:1AA
Secondary button16.96:1AAA
Muted text4.97:1AA
Accent6.32:1AA
Destructive6.31:1AA
Dark mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button6.46:1AA
Secondary button16.96:1AAA
Muted text5.78:1AA
Accent6.32:1AA
Destructive3.66:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.107 0.021 338.313);
  --muted: oklch(0.906 0.03 122.732);
  --muted-foreground: oklch(0.477 0.017 122.791);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.107 0.021 338.313);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.107 0.021 338.313);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.844 0.111 340.544);
  --primary-foreground: oklch(0.379 0.157 349.14);
  --secondary: oklch(0.957 0.104 124.019);
  --secondary-foreground: oklch(0.178 0.043 124.096);
  --accent: oklch(0.886 0.065 231.928);
  --accent-foreground: oklch(0.408 0.094 241.306);
  --destructive: oklch(0.473 0.19 29.126);
  --destructive-foreground: oklch(0.946 0.026 18.791);
  --ring: oklch(0.844 0.111 340.544);
  --chart-1: oklch(0.844 0.111 340.544);
  --chart-2: oklch(0.957 0.104 124.019);
  --chart-3: oklch(0.886 0.065 231.928);
  --chart-4: oklch(0.964 0.085 123.655);
  --chart-5: oklch(0.843 0.115 340.622);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.014 339.264);
  --foreground: oklch(0.992 0.001 338.001);
  --muted: oklch(0.299 0.038 124.342);
  --muted-foreground: oklch(0.735 0.016 122.549);
  --popover: oklch(0.141 0.014 339.264);
  --popover-foreground: oklch(0.992 0.001 338.001);
  --card: oklch(0.141 0.014 339.264);
  --card-foreground: oklch(0.992 0.001 338.001);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.844 0.111 340.544);
  --primary-foreground: oklch(0.379 0.157 349.14);
  --secondary: oklch(0.957 0.104 124.019);
  --secondary-foreground: oklch(0.178 0.043 124.096);
  --accent: oklch(0.886 0.065 231.928);
  --accent-foreground: oklch(0.408 0.094 241.306);
  --destructive: oklch(0.646 0.225 26.924);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.844 0.111 340.544);
  --chart-1: oklch(0.844 0.111 340.544);
  --chart-2: oklch(0.957 0.104 124.019);
  --chart-3: oklch(0.886 0.065 231.928);
  --chart-4: oklch(0.964 0.085 123.655);
  --chart-5: oklch(0.843 0.115 340.622);
}