Livid is a shadcn/ui theme built around a vivid light teal primary color (#9fffd0) with vivid light pink accents (#ff9fcd). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid light teal primary (#9fffd0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #000000black |
| Foreground | #010905black | #f8fcfamintcream |
| Card | #f8fcfamintcream | #000000black |
| Card foreground | #010905black | #f8fcfamintcream |
| Popover | #f8fcfamintcream | #000000black |
| Popover foreground | #010905black | #f8fcfamintcream |
| Primary | #9fffd0aquamarine | #9fffd0aquamarine |
| Primary foreground | #000503black | #000503black |
| Secondary | #ff9fcdlightpink | #ff9fcdlightpink |
| Secondary foreground | #6b0134maroon | #6b0134maroon |
| Muted | #e5e0e3gainsboro | #1f1a1cblack |
| Muted foreground | #513e47darkslategray | #c1aeb7silver |
| Accent | #ff9fcdlightpink | #ff9fcdlightpink |
| Accent foreground | #6b0134maroon | #6b0134maroon |
| Destructive | #8b3304saddlebrown | #f85f0dorangered |
| Destructive foreground | #fdd8c4peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9fffd0aquamarine | #9fffd0aquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 17.22:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 7.58:1 | AAA |
| Accent | 6.57:1 | AA |
| Destructive | 6.14:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 17.22:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 8.21:1 | AAA |
| Accent | 6.57:1 | AA |
| Destructive | 6.60:1 | AA |
Paste this into your globals.css to use Livid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 165.871);
--foreground: oklch(0.126 0.021 166.247);
--muted: oklch(0.913 0.006 346.202);
--muted-foreground: oklch(0.387 0.029 347.933);
--popover: oklch(0.987 0.005 165.871);
--popover-foreground: oklch(0.126 0.021 166.247);
--card: oklch(0.987 0.005 165.871);
--card-foreground: oklch(0.126 0.021 166.247);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.926 0.112 162.18);
--primary-foreground: oklch(0.103 0.021 166.303);
--secondary: oklch(0.811 0.126 349.865);
--secondary-foreground: oklch(0.341 0.137 1.046);
--accent: oklch(0.811 0.126 349.865);
--accent-foreground: oklch(0.341 0.137 1.046);
--destructive: oklch(0.441 0.129 42.354);
--destructive-foreground: oklch(0.908 0.05 50.003);
--ring: oklch(0.926 0.112 162.18);
--chart-1: oklch(0.926 0.112 162.18);
--chart-2: oklch(0.811 0.126 349.865);
--chart-3: oklch(0.811 0.126 349.865);
--chart-4: oklch(0.839 0.106 349.143);
--chart-5: oklch(0.929 0.115 162.064);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.005 165.885);
--muted: oklch(0.223 0.009 347.075);
--muted-foreground: oklch(0.77 0.025 346.845);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.005 165.885);
--card: oklch(0 0 0);
--card-foreground: oklch(0.987 0.005 165.885);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.926 0.112 162.18);
--primary-foreground: oklch(0.103 0.021 166.303);
--secondary: oklch(0.811 0.126 349.865);
--secondary-foreground: oklch(0.341 0.137 1.046);
--accent: oklch(0.811 0.126 349.865);
--accent-foreground: oklch(0.341 0.137 1.046);
--destructive: oklch(0.676 0.202 41.548);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.926 0.112 162.18);
--chart-1: oklch(0.926 0.112 162.18);
--chart-2: oklch(0.811 0.126 349.865);
--chart-3: oklch(0.811 0.126 349.865);
--chart-4: oklch(0.839 0.106 349.143);
--chart-5: oklch(0.929 0.115 162.064);
}