Mustache is a shadcn/ui theme built around an orange primary color (#956850) with violet accents (#685095). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the orange primary (#956850) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #040202black |
| Foreground | #0c0603black | #ffffffwhite |
| Card | #fdfcfcsnow | #040202black |
| Card foreground | #0c0603black | #ffffffwhite |
| Popover | #fdfcfcsnow | #040202black |
| Popover foreground | #0c0603black | #ffffffwhite |
| Primary | #956850sienna | #956850sienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #509568mediumseagreen | #509568mediumseagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ebefecwhitesmoke | #101411black |
| Muted foreground | #526057dimgray | #9fada4darkgray |
| Accent | #685095rebeccapurple | #685095rebeccapurple |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #720e03maroon | #ef1d06red |
| Destructive foreground | #fdb3aalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #956850sienna | #956850sienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.69:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 4.77:1 | AA |
| Secondary button | 3.58:1 | AA Large |
| Muted text | 5.72:1 | AA |
| Accent | 6.59:1 | AA |
| Destructive | 6.83:1 | AA |
| Text on background | 20.68:1 | AAA |
| Text on card | 20.68:1 | AAA |
| Primary button | 4.77:1 | AA |
| Secondary button | 3.58:1 | AA Large |
| Muted text | 7.94:1 | AAA |
| Accent | 6.59:1 | AA |
| Destructive | 4.33:1 | AA Large |
Paste this into your globals.css to use Mustache in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 50.643);
--foreground: oklch(0.132 0.016 59.24);
--muted: oklch(0.949 0.006 157.844);
--muted-foreground: oklch(0.475 0.023 156.928);
--popover: oklch(0.992 0.001 50.643);
--popover-foreground: oklch(0.132 0.016 59.24);
--card: oklch(0.992 0.001 50.643);
--card-foreground: oklch(0.132 0.016 59.24);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.559 0.068 49.193);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.613 0.098 153.904);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.488 0.109 298.405);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.356 0.135 30.944);
--destructive-foreground: oklch(0.834 0.088 26.194);
--ring: oklch(0.559 0.068 49.193);
--chart-1: oklch(0.559 0.068 49.193);
--chart-2: oklch(0.613 0.098 153.904);
--chart-3: oklch(0.488 0.109 298.405);
--chart-4: oklch(0.642 0.103 153.877);
--chart-5: oklch(0.561 0.075 49.019);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.091 0.007 56.006);
--foreground: oklch(1 0 180);
--muted: oklch(0.186 0.009 156.871);
--muted-foreground: oklch(0.733 0.021 157.379);
--popover: oklch(0.091 0.007 56.006);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.091 0.007 56.006);
--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.559 0.068 49.193);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.613 0.098 153.904);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.488 0.109 298.405);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.605 0.237 30.316);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.559 0.068 49.193);
--chart-1: oklch(0.559 0.068 49.193);
--chart-2: oklch(0.613 0.098 153.904);
--chart-3: oklch(0.488 0.109 298.405);
--chart-4: oklch(0.642 0.103 153.877);
--chart-5: oklch(0.561 0.075 49.019);
}