Lonely is a shadcn/ui theme built around a vivid pink primary color (#f934a4) with vivid red accents (#f93441). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid pink primary (#f934a4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #000000black |
| Foreground | #080205black | #fdfcfdwhite |
| Card | #fbf4f8lavenderblush | #030303black |
| Card foreground | #040103black | #ffffffwhite |
| Popover | #fbf4f8lavenderblush | #030303black |
| Popover foreground | #040103black | #ffffffwhite |
| Primary | #f934a4deeppink | #f934a4deeppink |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ec34f9magenta | #ec34f9magenta |
| Secondary foreground | #000000black | #000000black |
| Muted | #f4f0f4whitesmoke | #0e0b0fblack |
| Muted foreground | #575158dimgray | #aea7aedarkgray |
| Accent | #f93441crimson | #f93441crimson |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #99190bdarkred | #f03c28orangered |
| Destructive foreground | #fcdcd9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f934a4deeppink | #f934a4deeppink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 3.47:1 | AA Large |
| Secondary button | 6.41:1 | AA |
| Muted text | 6.85:1 | AA |
| Accent | 3.75:1 | AA Large |
| Destructive | 6.58:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 3.47:1 | AA Large |
| Secondary button | 6.41:1 | AA |
| Muted text | 8.32:1 | AAA |
| Accent | 3.75:1 | AA Large |
| Destructive | 3.89:1 | AA Large |
Paste this into your globals.css to use Lonely in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 341.949);
--foreground: oklch(0.106 0.022 341.832);
--muted: oklch(0.96 0.006 323.67);
--muted-foreground: oklch(0.443 0.013 323.793);
--popover: oklch(0.973 0.009 342.022);
--popover-foreground: oklch(0.084 0.017 341.832);
--card: oklch(0.973 0.009 342.022);
--card-foreground: oklch(0.084 0.017 341.832);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.664 0.245 351.777);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.685 0.29 325.057);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.64 0.229 23.732);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.44 0.164 30.519);
--destructive-foreground: oklch(0.921 0.036 25.354);
--ring: oklch(0.664 0.245 351.777);
--chart-1: oklch(0.664 0.245 351.777);
--chart-2: oklch(0.685 0.29 325.057);
--chart-3: oklch(0.64 0.229 23.732);
--chart-4: oklch(0.698 0.278 325.077);
--chart-5: oklch(0.668 0.25 352.118);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.002 341.851);
--muted: oklch(0.155 0.01 323.961);
--muted-foreground: oklch(0.737 0.012 323.719);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.664 0.245 351.777);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.685 0.29 325.057);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.64 0.229 23.732);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.629 0.218 30.37);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.664 0.245 351.777);
--chart-1: oklch(0.664 0.245 351.777);
--chart-2: oklch(0.685 0.29 325.057);
--chart-3: oklch(0.64 0.229 23.732);
--chart-4: oklch(0.698 0.278 325.077);
--chart-5: oklch(0.668 0.25 352.118);
}