Lysine is a shadcn/ui theme built around a vivid light pink primary color (#fad1ea) with vivid light red accents (#fad1d5). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the vivid light pink primary (#fad1ea) on a pink-tinted background (#0c0408).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fbsnow | #0c0408black |
| Foreground | #0d0209black | #fdfcfdwhite |
| Card | #fdf7fbsnow | #0c0408black |
| Card foreground | #0d0209black | #fdfcfdwhite |
| Popover | #fdf7fbsnow | #0c0408black |
| Popover foreground | #0d0209black | #fdfcfdwhite |
| Primary | #fad1eamistyrose | #fad1eamistyrose |
| Primary foreground | #8b0e59purple | #8b0e59purple |
| Secondary | #f6d1falavender | #f6d1falavender |
| Secondary foreground | #7f0e8bpurple | #7f0e8bpurple |
| Muted | #ede8eelavender | #171117black |
| Muted foreground | #605661dimgray | #a89ea9darkgray |
| Accent | #fad1d5pink | #fad1d5pink |
| Accent foreground | #8b0e1adarkred | #8b0e1adarkred |
| Destructive | #6d2103maroon | #e44607orangered |
| Destructive foreground | #fcbea6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fad1eamistyrose | #fad1eamistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.27:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 6.58:1 | AA |
| Muted text | 5.77:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 6.98:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 6.58:1 | AA |
| Muted text | 7.18:1 | AAA |
| Accent | 6.94:1 | AA |
| Destructive | 4.07:1 | AA Large |
Paste this into your globals.css to use Lysine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 340.42);
--foreground: oklch(0.12 0.032 341.018);
--muted: oklch(0.936 0.01 322.67);
--muted-foreground: oklch(0.468 0.021 322.808);
--popover: oklch(0.981 0.008 340.42);
--popover-foreground: oklch(0.12 0.032 341.018);
--card: oklch(0.981 0.008 340.42);
--card-foreground: oklch(0.12 0.032 341.018);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.902 0.057 341.608);
--primary-foreground: oklch(0.425 0.167 351.246);
--secondary: oklch(0.904 0.069 322.923);
--secondary-foreground: oklch(0.432 0.194 323.243);
--accent: oklch(0.896 0.047 11.283);
--accent-foreground: oklch(0.408 0.156 24.099);
--destructive: oklch(0.364 0.114 38.762);
--destructive-foreground: oklch(0.853 0.079 42.548);
--ring: oklch(0.902 0.057 341.608);
--chart-1: oklch(0.902 0.057 341.608);
--chart-2: oklch(0.904 0.069 322.923);
--chart-3: oklch(0.896 0.047 11.283);
--chart-4: oklch(0.932 0.048 322.83);
--chart-5: oklch(0.902 0.059 341.658);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.022 340.581);
--foreground: oklch(0.992 0.001 340.256);
--muted: oklch(0.189 0.015 322.933);
--muted-foreground: oklch(0.71 0.019 322.736);
--popover: oklch(0.123 0.022 340.581);
--popover-foreground: oklch(0.992 0.001 340.256);
--card: oklch(0.123 0.022 340.581);
--card-foreground: oklch(0.992 0.001 340.256);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.902 0.057 341.608);
--primary-foreground: oklch(0.425 0.167 351.246);
--secondary: oklch(0.904 0.069 322.923);
--secondary-foreground: oklch(0.432 0.194 323.243);
--accent: oklch(0.896 0.047 11.283);
--accent-foreground: oklch(0.408 0.156 24.099);
--destructive: oklch(0.615 0.203 36.93);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.902 0.057 341.608);
--chart-1: oklch(0.902 0.057 341.608);
--chart-2: oklch(0.904 0.069 322.923);
--chart-3: oklch(0.896 0.047 11.283);
--chart-4: oklch(0.932 0.048 322.83);
--chart-5: oklch(0.902 0.059 341.658);
}