Mess is a shadcn/ui theme built around an orange primary color (#ce7d36) with muted light orange accents (#d1c9c2). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the orange primary (#ce7d36) on a neutral background (#070503).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf7snow | #070503black |
| Foreground | #000000black | #f9f7f5whitesmoke |
| Card | #fdfaf7snow | #070503black |
| Card foreground | #000000black | #f9f7f5whitesmoke |
| Popover | #fdfaf7snow | #070503black |
| Popover foreground | #000000black | #f9f7f5whitesmoke |
| Primary | #ce7d36peru | #ce7d36peru |
| Primary foreground | #000000black | #000000black |
| Secondary | #e5e3e0gainsboro | #231e1ablack |
| Secondary foreground | #514a43darkslategray | #c2b7aesilver |
| Muted | #e4dbd2gainsboro | #2d231bblack |
| Muted foreground | #55493fdarkolivegreen | #c0b4aasilver |
| Accent | #d1c9c2silver | #3c3025darkslategray |
| Accent foreground | #37302adarkslategray | #d6c9bdsilver |
| Destructive | #b70f06firebrick | #f21307red |
| Destructive foreground | #fff1f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ce7d36peru | #ce7d36peru |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 6.80:1 | AA |
| Muted text | 6.36:1 | AA |
| Accent | 7.93:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 19.03:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 7.57:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Mess in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 64.023);
--foreground: oklch(0 0 0);
--muted: oklch(0.896 0.015 63.869);
--muted-foreground: oklch(0.415 0.023 63.318);
--popover: oklch(0.986 0.005 64.023);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.005 64.023);
--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.664 0.132 58.363);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.917 0.004 64.03);
--secondary-foreground: oklch(0.412 0.014 63.645);
--accent: oklch(0.84 0.013 63.89);
--accent-foreground: oklch(0.315 0.015 63.436);
--destructive: oklch(0.494 0.196 29.555);
--destructive-foreground: oklch(0.968 0.015 21.086);
--ring: oklch(0.664 0.132 58.363);
--chart-1: oklch(0.664 0.132 58.363);
--chart-2: oklch(0.917 0.004 64.03);
--chart-3: oklch(0.84 0.013 63.89);
--chart-4: oklch(0.94 0.003 64.047);
--chart-5: oklch(0.668 0.137 57.847);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.01 70.76);
--foreground: oklch(0.978 0.003 64.048);
--muted: oklch(0.265 0.021 62.929);
--muted-foreground: oklch(0.778 0.02 63.759);
--popover: oklch(0.118 0.01 70.76);
--popover-foreground: oklch(0.978 0.003 64.048);
--card: oklch(0.118 0.01 70.76);
--card-foreground: oklch(0.978 0.003 64.048);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.664 0.132 58.363);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.24 0.01 63.517);
--secondary-foreground: oklch(0.785 0.018 63.797);
--accent: oklch(0.318 0.026 62.876);
--accent-foreground: oklch(0.843 0.023 63.743);
--destructive: oklch(0.609 0.244 29.519);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.664 0.132 58.363);
--chart-1: oklch(0.664 0.132 58.363);
--chart-2: oklch(0.24 0.01 63.517);
--chart-3: oklch(0.318 0.026 62.876);
--chart-4: oklch(0.273 0.012 63.476);
--chart-5: oklch(0.668 0.137 57.847);
}