Messy is a shadcn/ui theme built around a light violet primary color (#d5c4f3) with light green accents (#c4f3d5). The light mode uses a neutral background (#fcfbfd). Dark mode keeps the light violet primary (#d5c4f3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfdsnow | #000000black |
| Foreground | #06020dblack | #fcfcfdwhite |
| Card | #fcfbfdsnow | #000000black |
| Card foreground | #06020dblack | #fcfcfdwhite |
| Popover | #fcfbfdsnow | #000000black |
| Popover foreground | #06020dblack | #fcfcfdwhite |
| Primary | #d5c4f3thistle | #d5c4f3thistle |
| Primary foreground | #37176dmidnightblue | #37176dmidnightblue |
| Secondary | #f3d5c4peachpuff | #f3d5c4peachpuff |
| Secondary foreground | #6d3717saddlebrown | #6d3717saddlebrown |
| Muted | #e2dddagainsboro | #25201dblack |
| Muted foreground | #585351dimgray | #aeaaa7darkgray |
| Accent | #c4f3d5powderblue | #c4f3d5powderblue |
| Accent foreground | #05190dblack | #05190dblack |
| Destructive | #8f220adarkred | #db350forangered |
| Destructive foreground | #fcd7cfbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5c4f3thistle | #d5c4f3thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 6.84:1 | AA |
| Muted text | 5.61:1 | AA |
| Accent | 14.82:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 6.84:1 | AA |
| Muted text | 6.98:1 | AA |
| Accent | 14.82:1 | AAA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Messy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 302.888);
--foreground: oklch(0.11 0.031 303.585);
--muted: oklch(0.9 0.007 52.477);
--muted-foreground: oklch(0.446 0.007 52.374);
--popover: oklch(0.991 0.003 302.888);
--popover-foreground: oklch(0.11 0.031 303.585);
--card: oklch(0.991 0.003 302.888);
--card-foreground: oklch(0.11 0.031 303.585);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.85 0.066 301.736);
--primary-foreground: oklch(0.31 0.138 293.35);
--secondary: oklch(0.893 0.04 52.002);
--secondary-foreground: oklch(0.401 0.089 48.119);
--accent: oklch(0.922 0.062 157.165);
--accent-foreground: oklch(0.193 0.037 154.185);
--destructive: oklch(0.43 0.148 33.435);
--destructive-foreground: oklch(0.909 0.042 32.745);
--ring: oklch(0.85 0.066 301.736);
--chart-1: oklch(0.85 0.066 301.736);
--chart-2: oklch(0.893 0.04 52.002);
--chart-3: oklch(0.922 0.062 157.165);
--chart-4: oklch(0.916 0.031 52.136);
--chart-5: oklch(0.848 0.069 301.676);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 302.908);
--muted: oklch(0.249 0.009 52.087);
--muted-foreground: oklch(0.741 0.006 52.469);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 302.908);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 302.908);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.85 0.066 301.736);
--primary-foreground: oklch(0.31 0.138 293.35);
--secondary: oklch(0.893 0.04 52.002);
--secondary-foreground: oklch(0.401 0.089 48.119);
--accent: oklch(0.922 0.062 157.165);
--accent-foreground: oklch(0.193 0.037 154.185);
--destructive: oklch(0.585 0.207 33.115);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.85 0.066 301.736);
--chart-1: oklch(0.85 0.066 301.736);
--chart-2: oklch(0.893 0.04 52.002);
--chart-3: oklch(0.922 0.062 157.165);
--chart-4: oklch(0.916 0.031 52.136);
--chart-5: oklch(0.848 0.069 301.676);
}