Vivacious is a shadcn/ui theme built around a vivid teal primary color (#4cf6a3) with neutral gray accents (#e4e7e6). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid teal primary (#4cf6a3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #000000black |
| Foreground | #020e08black | #f8fcfamintcream |
| Card | #f5faf7whitesmoke | #030303black |
| Card foreground | #010905black | #fcfdfcwhite |
| Popover | #f8fcfamintcream | #000000black |
| Popover foreground | #020e08black | #f8fcfamintcream |
| Primary | #4cf6a3mediumaquamarine | #4cf6a3mediumaquamarine |
| Primary foreground | #010f08black | #010f08black |
| Secondary | #e4e7e6gainsboro | #1e2924darkslategray |
| Secondary foreground | #48514ddarkslategray | #b3c7bdsilver |
| Muted | #d8e4degainsboro | #1b2721black |
| Muted foreground | #5a6861dimgray | #97a59edarkgray |
| Accent | #e4e7e6gainsboro | #1e2924darkslategray |
| Accent foreground | #48514ddarkslategray | #b3c7bdsilver |
| Destructive | #811203maroon | #fa462etomato |
| Destructive foreground | #fdc1b9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4cf6a3mediumaquamarine | #4cf6a3mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 13.94:1 | AAA |
| Secondary button | 6.59:1 | AA |
| Muted text | 4.47:1 | AA Large |
| Accent | 6.59:1 | AA |
| Destructive | 6.66:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 13.94:1 | AAA |
| Secondary button | 8.44:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 8.44:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Vivacious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 165.895);
--foreground: oklch(0.146 0.025 165.375);
--muted: oklch(0.908 0.015 165.571);
--muted-foreground: oklch(0.503 0.019 164.938);
--popover: oklch(0.987 0.005 165.895);
--popover-foreground: oklch(0.146 0.025 165.375);
--card: oklch(0.981 0.007 165.832);
--card-foreground: oklch(0.127 0.022 166.252);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.866 0.18 157.604);
--primary-foreground: oklch(0.148 0.029 165.084);
--secondary: oklch(0.925 0.004 165.907);
--secondary-foreground: oklch(0.426 0.014 165.123);
--accent: oklch(0.925 0.004 165.907);
--accent-foreground: oklch(0.426 0.014 165.123);
--destructive: oklch(0.389 0.147 31.208);
--destructive-foreground: oklch(0.864 0.07 27.195);
--ring: oklch(0.866 0.18 157.604);
--chart-1: oklch(0.866 0.18 157.604);
--chart-2: oklch(0.925 0.004 165.907);
--chart-3: oklch(0.925 0.004 165.907);
--chart-4: oklch(0.948 0.003 165.942);
--chart-5: oklch(0.872 0.185 157.343);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.004 165.902);
--muted: oklch(0.26 0.02 163.784);
--muted-foreground: oklch(0.709 0.018 165.322);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.004 165.902);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.002 165.96);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.866 0.18 157.604);
--primary-foreground: oklch(0.148 0.029 165.084);
--secondary: oklch(0.269 0.018 164.116);
--secondary-foreground: oklch(0.811 0.025 165.152);
--accent: oklch(0.269 0.018 164.116);
--accent-foreground: oklch(0.811 0.025 165.152);
--destructive: oklch(0.654 0.219 30.949);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.866 0.18 157.604);
--chart-1: oklch(0.866 0.18 157.604);
--chart-2: oklch(0.269 0.018 164.116);
--chart-3: oklch(0.269 0.018 164.116);
--chart-4: oklch(0.302 0.021 164.016);
--chart-5: oklch(0.872 0.185 157.343);
}