Vivacious is a shadcn/ui theme built around a muted red primary color (#996c6d) with muted orange accents (#99816c). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#996c6d) on a red-tinted background (#0c0303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0303black |
| Foreground | #0c0303black | #f9f6f6whitesmoke |
| Card | #fcfcfcsnow | #100404black |
| Card foreground | #080202black | #fbf9f9snow |
| Popover | #ffffffwhite | #0c0303black |
| Popover foreground | #0c0303black | #f9f6f6whitesmoke |
| Primary | #996c6dgray | #996c6dgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #996c84gray | #996c84gray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f5eff2whitesmoke | #100a0dblack |
| Muted foreground | #715b67dimgray | #a48e9arosybrown |
| Accent | #99816cgray | #99816cgray |
| Accent foreground | #000000black | #000000black |
| Destructive | #b72310firebrick | #eb2d14orangered |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #996c6dgray | #996c6dgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 4.47:1 | AA Large |
| Secondary button | 4.37:1 | AA Large |
| Muted text | 5.46:1 | AA |
| Accent | 5.67:1 | AA |
| Destructive | 6.25:1 | AA |
| Text on background | 18.95:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 4.47:1 | AA Large |
| Secondary button | 4.37:1 | AA Large |
| Muted text | 6.46:1 | AA |
| Accent | 5.67:1 | AA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Vivacious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.117 0.024 18.123);
--muted: oklch(0.958 0.008 343.649);
--muted-foreground: oklch(0.497 0.034 345.092);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.117 0.024 18.123);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.102 0.021 18.029);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.576 0.058 16.799);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.583 0.066 346.099);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.618 0.042 63.106);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.506 0.185 31.012);
--destructive-foreground: oklch(0.99 0.004 26.468);
--ring: oklch(0.576 0.058 16.799);
--chart-1: oklch(0.576 0.058 16.799);
--chart-2: oklch(0.583 0.066 346.099);
--chart-3: oklch(0.618 0.042 63.106);
--chart-4: oklch(0.61 0.061 345.811);
--chart-5: oklch(0.573 0.068 17.205);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.022 17.857);
--foreground: oklch(0.975 0.003 14.85);
--muted: oklch(0.153 0.013 345.387);
--muted-foreground: oklch(0.67 0.032 344.59);
--popover: oklch(0.118 0.022 17.857);
--popover-foreground: oklch(0.975 0.003 14.85);
--card: oklch(0.131 0.026 18.247);
--card-foreground: oklch(0.983 0.002 14.829);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.576 0.058 16.799);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.583 0.066 346.099);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.618 0.042 63.106);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.607 0.225 30.974);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.576 0.058 16.799);
--chart-1: oklch(0.576 0.058 16.799);
--chart-2: oklch(0.583 0.066 346.099);
--chart-3: oklch(0.618 0.042 63.106);
--chart-4: oklch(0.61 0.061 345.811);
--chart-5: oklch(0.573 0.068 17.205);
}