Mariachi is a shadcn/ui theme built around a red primary color (#c9403b) with orange accents (#c9873b). The light mode uses a neutral background (#fdf7f6). Dark mode keeps the red primary (#c9403b) on a neutral background (#080202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f6snow | #080202black |
| Foreground | #040101black | #faf9f9snow |
| Card | #fdf2f2lavenderblush | #0c0403black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fdf2f2lavenderblush | #0c0403black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #c9403bindianred | #c9403bindianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c93b7dmediumvioletred | #c93b7dmediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6ccd8thistle | #331925black |
| Muted foreground | #585054dimgray | #afa7abdarkgray |
| Accent | #c9873bperu | #c9873bperu |
| Accent foreground | #000000black | #000000black |
| Destructive | #bc3c01firebrick | #ef4c01orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c9403bindianred | #c9403bindianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 4.90:1 | AA |
| Secondary button | 4.76:1 | AA |
| Muted text | 5.18:1 | AA |
| Accent | 7.00:1 | AAA |
| Destructive | 5.55:1 | AA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 4.90:1 | AA |
| Secondary button | 4.76:1 | AA |
| Muted text | 6.82:1 | AA |
| Accent | 7.00:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Mariachi in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 19.71);
--foreground: oklch(0.081 0.017 25.21);
--muted: oklch(0.87 0.033 347.908);
--muted-foreground: oklch(0.441 0.013 347.668);
--popover: oklch(0.97 0.011 19.765);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.97 0.011 19.765);
--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.568 0.175 26.341);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.579 0.187 356.149);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.677 0.122 66.463);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.537 0.173 38.654);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.568 0.175 26.341);
--chart-1: oklch(0.568 0.175 26.341);
--chart-2: oklch(0.579 0.187 356.149);
--chart-3: oklch(0.677 0.122 66.463);
--chart-4: oklch(0.599 0.179 355.051);
--chart-5: oklch(0.57 0.183 26.73);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.105 0.017 23.674);
--foreground: oklch(0.984 0.001 19.621);
--muted: oklch(0.255 0.045 351.371);
--muted-foreground: oklch(0.735 0.011 347.311);
--popover: oklch(0.12 0.02 23.67);
--popover-foreground: oklch(0.992 0.001 19.613);
--card: oklch(0.12 0.02 23.67);
--card-foreground: oklch(0.992 0.001 19.613);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.568 0.175 26.341);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.579 0.187 356.149);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.677 0.122 66.463);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.64 0.209 38.076);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.568 0.175 26.341);
--chart-1: oklch(0.568 0.175 26.341);
--chart-2: oklch(0.579 0.187 356.149);
--chart-3: oklch(0.677 0.122 66.463);
--chart-4: oklch(0.599 0.179 355.051);
--chart-5: oklch(0.57 0.183 26.73);
}