Mariachi is a shadcn/ui theme built around a vivid deep purple primary color (#790486) with vivid deep teal accents (#048679). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the vivid deep purple primary (#790486) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #000000black |
| Foreground | #040104black | #ffffffwhite |
| Card | #faf5faghostwhite | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbf8fcghostwhite | #000000black |
| Popover foreground | #040104black | #ffffffwhite |
| Primary | #790486purple | #790486purple |
| Primary foreground | #f7bffdlavender | #f7bffdlavender |
| Secondary | #867904olive | #867904olive |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e3e1d4gainsboro | #2b2a1cdarkslategray |
| Muted foreground | #53524bdarkslategray | #b4b3acdarkgray |
| Accent | #048679teal | #048679teal |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #612a0asaddlebrown | #ea702achocolate |
| Destructive foreground | #f6c4a7navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #790486purple | #790486purple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 4.44:1 | AA Large |
| Muted text | 5.98:1 | AA |
| Accent | 4.50:1 | AA |
| Destructive | 7.24:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.37:1 | AA |
| Secondary button | 4.44:1 | AA Large |
| Muted text | 6.89:1 | AA |
| Accent | 4.50:1 | AA |
| Destructive | 6.84:1 | AA |
Paste this into your globals.css to use Mariachi in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 322.651);
--foreground: oklch(0.084 0.022 324.635);
--muted: oklch(0.908 0.018 101.598);
--muted-foreground: oklch(0.438 0.011 101.69);
--popover: oklch(0.983 0.006 322.651);
--popover-foreground: oklch(0.084 0.022 324.635);
--card: oklch(0.974 0.009 322.664);
--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.414 0.193 323.029);
--primary-foreground: oklch(0.873 0.103 323.073);
--secondary: oklch(0.569 0.118 101.831);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.556 0.098 183.025);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.357 0.091 46.203);
--destructive-foreground: oklch(0.857 0.07 51.542);
--ring: oklch(0.414 0.193 323.029);
--chart-1: oklch(0.414 0.193 323.029);
--chart-2: oklch(0.569 0.118 101.831);
--chart-3: oklch(0.556 0.098 183.025);
--chart-4: oklch(0.614 0.127 101.758);
--chart-5: oklch(0.417 0.196 322.97);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.281 0.023 102.449);
--muted-foreground: oklch(0.766 0.01 101.492);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.414 0.193 323.029);
--primary-foreground: oklch(0.873 0.103 323.073);
--secondary: oklch(0.569 0.118 101.831);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.556 0.098 183.025);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.68 0.17 46.496);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.414 0.193 323.029);
--chart-1: oklch(0.414 0.193 323.029);
--chart-2: oklch(0.569 0.118 101.831);
--chart-3: oklch(0.556 0.098 183.025);
--chart-4: oklch(0.614 0.127 101.758);
--chart-5: oklch(0.417 0.196 322.97);
}