Mule is a shadcn/ui theme built around a vivid deep orange primary color (#783407) with vivid deep blue accents (#074b78). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep orange primary (#783407) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030202black |
| Foreground | #150b05black | #f9f7f6whitesmoke |
| Card | #fcfcfcsnow | #070503black |
| Card foreground | #110904black | #fbfaf9snow |
| Popover | #fcfcfcsnow | #070503black |
| Popover foreground | #110904black | #fbfaf9snow |
| Primary | #783407saddlebrown | #783407saddlebrown |
| Primary foreground | #fbd2b7peachpuff | #fbd2b7peachpuff |
| Secondary | #074b78midnightblue | #074b78midnightblue |
| Secondary foreground | #b7e0fbpaleturquoise | #b7e0fbpaleturquoise |
| Muted | #e1e9eflavender | #10181eblack |
| Muted foreground | #4a4d4fdarkslategray | #b0b3b5darkgray |
| Accent | #074b78midnightblue | #074b78midnightblue |
| Accent foreground | #b7e0fbpaleturquoise | #b7e0fbpaleturquoise |
| Destructive | #931510darkred | #e83730crimson |
| Destructive foreground | #fbdbdamistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #783407saddlebrown | #783407saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.40:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 6.50:1 | AA |
| Secondary button | 6.57:1 | AA |
| Muted text | 6.95:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 6.91:1 | AA |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 6.50:1 | AA |
| Secondary button | 6.57:1 | AA |
| Muted text | 8.48:1 | AAA |
| Accent | 6.57:1 | AA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Mule in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.162 0.022 58.573);
--muted: oklch(0.931 0.012 236.621);
--muted-foreground: oklch(0.418 0.005 236.598);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.148 0.019 62.136);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.148 0.019 62.136);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.413 0.108 47.501);
--primary-foreground: oklch(0.892 0.059 55.515);
--secondary: oklch(0.4 0.098 245.588);
--secondary-foreground: oklch(0.885 0.057 237.479);
--accent: oklch(0.4 0.098 245.588);
--accent-foreground: oklch(0.885 0.057 237.479);
--destructive: oklch(0.427 0.161 28.597);
--destructive-foreground: oklch(0.918 0.035 20.169);
--ring: oklch(0.413 0.108 47.501);
--chart-1: oklch(0.413 0.108 47.501);
--chart-2: oklch(0.4 0.098 245.588);
--chart-3: oklch(0.4 0.098 245.588);
--chart-4: oklch(0.432 0.107 245.882);
--chart-5: oklch(0.415 0.111 47.041);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.006 61.172);
--foreground: oklch(0.977 0.003 56.391);
--muted: oklch(0.205 0.017 237.86);
--muted-foreground: oklch(0.765 0.004 236.511);
--popover: oklch(0.116 0.007 61.172);
--popover-foreground: oklch(0.985 0.002 56.406);
--card: oklch(0.116 0.007 61.172);
--card-foreground: oklch(0.985 0.002 56.406);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.413 0.108 47.501);
--primary-foreground: oklch(0.892 0.059 55.515);
--secondary: oklch(0.4 0.098 245.588);
--secondary-foreground: oklch(0.885 0.057 237.479);
--accent: oklch(0.4 0.098 245.588);
--accent-foreground: oklch(0.885 0.057 237.479);
--destructive: oklch(0.611 0.214 27.724);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.413 0.108 47.501);
--chart-1: oklch(0.413 0.108 47.501);
--chart-2: oklch(0.4 0.098 245.588);
--chart-3: oklch(0.4 0.098 245.588);
--chart-4: oklch(0.432 0.107 245.882);
--chart-5: oklch(0.415 0.111 47.041);
}