Lively is a shadcn/ui theme built around a vivid deep blue primary color (#07518d) with vivid deep orange accents (#8d4307). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the vivid deep blue primary (#07518d) on a blue-tinted background (#040b10).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfdwhite | #040b10black |
| Foreground | #000000black | #f8fafcghostwhite |
| Card | #fbfdfdwhite | #040b10black |
| Card foreground | #000000black | #f8fafcghostwhite |
| Popover | #fbfdfdwhite | #040b10black |
| Popover foreground | #000000black | #f8fafcghostwhite |
| Primary | #07518dteal | #07518dteal |
| Primary foreground | #cae5fclavender | #cae5fclavender |
| Secondary | #8d4307saddlebrown | #8d4307saddlebrown |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f6f2eewhitesmoke | #110c09black |
| Muted foreground | #5c5c5cdimgray | #a3a3a3darkgray |
| Accent | #8d4307saddlebrown | #8d4307saddlebrown |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9d1d01darkred | #ef2d01orangered |
| Destructive foreground | #ffdad1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #07518dteal | #07518dteal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.53:1 | AAA |
| Text on card | 20.53:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 6.00:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 6.18:1 | AA |
| Text on background | 18.93:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 7.69:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Lively in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 242.217);
--foreground: oklch(0 0 0);
--muted: oklch(0.963 0.007 62.099);
--muted-foreground: oklch(0.474 0 198.435);
--popover: oklch(0.992 0.002 242.217);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0.002 242.217);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.427 0.118 250.493);
--primary-foreground: oklch(0.91 0.043 242.83);
--secondary: oklch(0.47 0.118 51.477);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.47 0.118 51.477);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.452 0.166 32.922);
--destructive-foreground: oklch(0.916 0.043 32.748);
--ring: oklch(0.427 0.118 250.493);
--chart-1: oklch(0.427 0.118 250.493);
--chart-2: oklch(0.47 0.118 51.477);
--chart-3: oklch(0.47 0.118 51.477);
--chart-4: oklch(0.503 0.127 51.162);
--chart-5: oklch(0.429 0.121 250.868);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.144 0.016 239.042);
--foreground: oklch(0.984 0.003 242.233);
--muted: oklch(0.16 0.011 61.632);
--muted-foreground: oklch(0.716 0 165.964);
--popover: oklch(0.144 0.016 239.042);
--popover-foreground: oklch(0.984 0.003 242.233);
--card: oklch(0.144 0.016 239.042);
--card-foreground: oklch(0.984 0.003 242.233);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.427 0.118 250.493);
--primary-foreground: oklch(0.91 0.043 242.83);
--secondary: oklch(0.47 0.118 51.477);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.47 0.118 51.477);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.613 0.23 32.234);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.427 0.118 250.493);
--chart-1: oklch(0.427 0.118 250.493);
--chart-2: oklch(0.47 0.118 51.477);
--chart-3: oklch(0.47 0.118 51.477);
--chart-4: oklch(0.503 0.127 51.162);
--chart-5: oklch(0.429 0.121 250.868);
}