Likable is a shadcn/ui theme built around a muted pink primary color (#795366) with muted teal accents (#537966). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the muted pink primary (#795366) on a pink-tinted background (#10040a).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #10040ablack |
| Foreground | #0c0408black | #ffffffwhite |
| Card | #fdf7fasnow | #10040ablack |
| Card foreground | #0c0408black | #ffffffwhite |
| Popover | #fdf7fasnow | #10040ablack |
| Popover foreground | #0c0408black | #ffffffwhite |
| Primary | #795366dimgray | #795366dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #537966dimgray | #537966dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #cbe7d9gainsboro | #183426darkslategray |
| Muted foreground | #5a6d63dimgray | #92a59cdarkseagreen |
| Accent | #537966dimgray | #537966dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ad2d10firebrick | #ed5f40tomato |
| Destructive foreground | #fef3f1seashell | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #795366dimgray | #795366dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.14:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 6.48:1 | AA |
| Secondary button | 4.87:1 | AA |
| Muted text | 4.19:1 | AA Large |
| Accent | 4.87:1 | AA |
| Destructive | 6.13:1 | AA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 6.48:1 | AA |
| Secondary button | 4.87:1 | AA |
| Muted text | 5.16:1 | AA |
| Accent | 4.87:1 | AA |
| Destructive | 6.33:1 | AA |
Paste this into your globals.css to use Likable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 345.347);
--foreground: oklch(0.122 0.022 345.21);
--muted: oklch(0.903 0.035 164.071);
--muted-foreground: oklch(0.517 0.028 163.609);
--popover: oklch(0.981 0.008 345.347);
--popover-foreground: oklch(0.122 0.022 345.21);
--card: oklch(0.981 0.008 345.347);
--card-foreground: oklch(0.122 0.022 345.21);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.489 0.058 348.059);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.542 0.053 162.217);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.542 0.053 162.217);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.495 0.169 33.522);
--destructive-foreground: oklch(0.973 0.012 32.664);
--ring: oklch(0.489 0.058 348.059);
--chart-1: oklch(0.489 0.058 348.059);
--chart-2: oklch(0.542 0.053 162.217);
--chart-3: oklch(0.542 0.053 162.217);
--chart-4: oklch(0.571 0.057 162.192);
--chart-5: oklch(0.487 0.068 348.521);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.029 347.167);
--foreground: oklch(1 0 180);
--muted: oklch(0.299 0.043 160.41);
--muted-foreground: oklch(0.705 0.027 164.118);
--popover: oklch(0.135 0.029 347.167);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.135 0.029 347.167);
--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.489 0.058 348.059);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.542 0.053 162.217);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.542 0.053 162.217);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.664 0.182 34.152);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.489 0.058 348.059);
--chart-1: oklch(0.489 0.058 348.059);
--chart-2: oklch(0.542 0.053 162.217);
--chart-3: oklch(0.542 0.053 162.217);
--chart-4: oklch(0.571 0.057 162.192);
--chart-5: oklch(0.487 0.068 348.521);
}