Lively is a shadcn/ui theme built around a muted light teal primary color (#c5cecd) with muted light yellow accents (#cecdc5). The light mode uses a neutral background (#fbfefe). Dark mode keeps the muted light teal primary (#c5cecd) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #030707black |
| Foreground | #04100fblack | #f5fafamintcream |
| Card | #f6fdfdmintcream | #040b0bblack |
| Card foreground | #030c0bblack | #f8fcfbmintcream |
| Popover | #f6fdfdmintcream | #040b0bblack |
| Popover foreground | #030c0bblack | #f8fcfbmintcream |
| Primary | #c5cecdlightgrey | #c5cecdlightgrey |
| Primary foreground | #2c3534darkslategray | #2c3534darkslategray |
| Secondary | #cdc5cethistle | #cdc5cethistle |
| Secondary foreground | #342c35darkslategray | #342c35darkslategray |
| Muted | #f4f1f4whitesmoke | #0e0b0eblack |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #cecdc5lightgrey | #cecdc5lightgrey |
| Accent foreground | #35342cdarkslategray | #35342cdarkslategray |
| Destructive | #772203maroon | #f94b0borangered |
| Destructive foreground | #fdc4aflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5cecdlightgrey | #c5cecdlightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.07:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 7.86:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 7.75:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 3.48:1 | AA Large |
Paste this into your globals.css to use Lively in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 191.17);
--foreground: oklch(0.161 0.019 189.146);
--muted: oklch(0.96 0.005 323.161);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(0.99 0.007 191.09);
--popover-foreground: oklch(0.144 0.016 189.896);
--card: oklch(0.99 0.007 191.09);
--card-foreground: oklch(0.144 0.016 189.896);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.845 0.011 190.975);
--primary-foreground: oklch(0.32 0.012 190.426);
--secondary: oklch(0.832 0.016 323.225);
--secondary-foreground: oklch(0.306 0.019 323.414);
--accent: oklch(0.848 0.012 102.443);
--accent-foreground: oklch(0.323 0.014 102.874);
--destructive: oklch(0.385 0.124 37.444);
--destructive-foreground: oklch(0.866 0.071 40.896);
--ring: oklch(0.845 0.011 190.975);
--chart-1: oklch(0.845 0.011 190.975);
--chart-2: oklch(0.832 0.016 323.225);
--chart-3: oklch(0.848 0.012 102.443);
--chart-4: oklch(0.857 0.014 323.209);
--chart-5: oklch(0.847 0.014 190.886);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.012 190.492);
--foreground: oklch(0.981 0.006 191.116);
--muted: oklch(0.155 0.009 323.383);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.142 0.013 190.253);
--popover-foreground: oklch(0.988 0.004 191.161);
--card: oklch(0.142 0.013 190.253);
--card-foreground: oklch(0.988 0.004 191.161);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.845 0.011 190.975);
--primary-foreground: oklch(0.32 0.012 190.426);
--secondary: oklch(0.832 0.016 323.225);
--secondary-foreground: oklch(0.306 0.019 323.414);
--accent: oklch(0.848 0.012 102.443);
--accent-foreground: oklch(0.323 0.014 102.874);
--destructive: oklch(0.655 0.219 36.288);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.845 0.011 190.975);
--chart-1: oklch(0.845 0.011 190.975);
--chart-2: oklch(0.832 0.016 323.225);
--chart-3: oklch(0.848 0.012 102.443);
--chart-4: oklch(0.857 0.014 323.209);
--chart-5: oklch(0.847 0.014 190.886);
}