Messy is a shadcn/ui theme built around a teal primary color (#3ee0cd) with muted light teal accents (#ced9d8). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#3ee0cd) on a teal-tinted background (#05100e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05100eblack |
| Foreground | #031210black | #f6f9f8whitesmoke |
| Card | #ffffffwhite | #05100eblack |
| Card foreground | #031210black | #f6f9f8whitesmoke |
| Popover | #ffffffwhite | #05100eblack |
| Popover foreground | #031210black | #f6f9f8whitesmoke |
| Primary | #3ee0cdturquoise | #3ee0cdturquoise |
| Primary foreground | #0b463fdarkslategray | #0b463fdarkslategray |
| Secondary | #ced9d8lightgrey | #262c2bdarkslategray |
| Secondary foreground | #344240darkslategray | #bec6c5silver |
| Muted | #d7e0dfgainsboro | #1f2827darkslategray |
| Muted foreground | #506865dimgray | #97afacdarkgray |
| Accent | #ced9d8lightgrey | #262c2bdarkslategray |
| Accent foreground | #344240darkslategray | #bec6c5silver |
| Destructive | #c51c02firebrick | #fd2d0dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3ee0cdturquoise | #3ee0cdturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 7.26:1 | AAA |
| Muted text | 4.44:1 | AA Large |
| Accent | 7.26:1 | AAA |
| Destructive | 5.93:1 | AA |
| Text on background | 18.27:1 | AAA |
| Text on card | 18.27:1 | AAA |
| Primary button | 6.47:1 | AA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 6.47:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.79:1 | AA Large |
Paste this into your globals.css to use Messy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.165 0.023 186.246);
--muted: oklch(0.899 0.01 188.642);
--muted-foreground: oklch(0.496 0.029 187.481);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.165 0.023 186.246);
--card: oklch(1 0 180);
--card-foreground: oklch(0.165 0.023 186.246);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.82 0.132 183.43);
--primary-foreground: oklch(0.357 0.058 183.244);
--secondary: oklch(0.877 0.011 188.601);
--secondary-foreground: oklch(0.365 0.018 187.671);
--accent: oklch(0.877 0.011 188.601);
--accent-foreground: oklch(0.365 0.018 187.671);
--destructive: oklch(0.527 0.203 31.146);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.82 0.132 183.43);
--chart-1: oklch(0.82 0.132 183.43);
--chart-2: oklch(0.877 0.011 188.601);
--chart-3: oklch(0.877 0.011 188.601);
--chart-4: oklch(0.899 0.009 188.663);
--chart-5: oklch(0.828 0.135 183.238);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.16 0.018 186.801);
--foreground: oklch(0.979 0.003 188.834);
--muted: oklch(0.269 0.013 187.714);
--muted-foreground: oklch(0.735 0.027 188.032);
--popover: oklch(0.16 0.018 186.801);
--popover-foreground: oklch(0.979 0.003 188.834);
--card: oklch(0.16 0.018 186.801);
--card-foreground: oklch(0.979 0.003 188.834);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.82 0.132 183.43);
--primary-foreground: oklch(0.357 0.058 183.244);
--secondary: oklch(0.286 0.008 188.224);
--secondary-foreground: oklch(0.82 0.01 188.633);
--accent: oklch(0.286 0.008 188.224);
--accent-foreground: oklch(0.82 0.01 188.633);
--destructive: oklch(0.638 0.242 31.205);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.82 0.132 183.43);
--chart-1: oklch(0.82 0.132 183.43);
--chart-2: oklch(0.286 0.008 188.224);
--chart-3: oklch(0.286 0.008 188.224);
--chart-4: oklch(0.318 0.009 188.197);
--chart-5: oklch(0.828 0.135 183.238);
}