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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.55:1 | AAA |
| Text on card | 20.55:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 16.96:1 | AAA |
| Muted text | 4.97:1 | AA |
| Accent | 6.32:1 | AA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 16.96:1 | AAA |
| Muted text | 5.78:1 | AA |
| Accent | 6.32:1 | AA |
| Destructive | 3.66:1 | AA Large |
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);
}