Vivacious is a shadcn/ui theme built around a teal primary color (#407d6c) with cyan accents (#406e7d). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#407d6c) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030706black |
| Foreground | #000000black | #f9fbfamintcream |
| Card | #f7fdfbmintcream | #050b09black |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #fbfefdwhite | #030706black |
| Popover foreground | #000000black | #f9fbfamintcream |
| Primary | #407d6cseagreen | #407d6cseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #407d4eseagreen | #407d4eseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d8e4dagainsboro | #1b271eblack |
| Muted foreground | #4d564fdarkslategray | #a9b2abdarkgray |
| Accent | #406e7ddimgray | #406e7ddimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ca4f12chocolate | #eb621echocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #407d6cseagreen | #407d6cseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.70:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 4.83:1 | AA |
| Secondary button | 4.95:1 | AA |
| Muted text | 5.81:1 | AA |
| Accent | 5.58:1 | AA |
| Destructive | 4.53:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 4.83:1 | AA |
| Secondary button | 4.95:1 | AA |
| Muted text | 7.08:1 | AAA |
| Accent | 5.58:1 | AA |
| Destructive | 6.32:1 | AA |
Paste this into your globals.css to use Vivacious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 178.675);
--foreground: oklch(0 0 0);
--muted: oklch(0.907 0.019 152.9);
--muted-foreground: oklch(0.444 0.017 152.587);
--popover: oklch(0.995 0.004 178.675);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.007 178.566);
--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.542 0.068 174.222);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.535 0.096 149.72);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.512 0.055 219.46);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.584 0.169 41.773);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.542 0.068 174.222);
--chart-1: oklch(0.542 0.068 174.222);
--chart-2: oklch(0.535 0.096 149.72);
--chart-3: oklch(0.512 0.055 219.46);
--chart-4: oklch(0.565 0.102 149.687);
--chart-5: oklch(0.549 0.074 173.809);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.01 178.855);
--foreground: oklch(0.986 0.002 178.714);
--muted: oklch(0.259 0.025 151.533);
--muted-foreground: oklch(0.755 0.015 152.908);
--popover: oklch(0.122 0.01 178.855);
--popover-foreground: oklch(0.986 0.002 178.714);
--card: oklch(0.139 0.012 178.809);
--card-foreground: oklch(0.993 0.001 178.749);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.542 0.068 174.222);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.535 0.096 149.72);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.512 0.055 219.46);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.662 0.185 42.576);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.542 0.068 174.222);
--chart-1: oklch(0.542 0.068 174.222);
--chart-2: oklch(0.535 0.096 149.72);
--chart-3: oklch(0.512 0.055 219.46);
--chart-4: oklch(0.565 0.102 149.687);
--chart-5: oklch(0.549 0.074 173.809);
}