mamo is a shadcn/ui theme built around a vivid blue primary color (#0098fd) with near-white accents (#ebebeb). The light mode uses a neutral background (#ffffff). Dark mode switches to a purple primary (#77397f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #131514black | #fbf8fcghostwhite |
| Card | #f9f9f9ghostwhite | #000000black |
| Card foreground | #131514black | #fbf8fcghostwhite |
| Popover | #f9f9f9ghostwhite | #000000black |
| Popover foreground | #131514black | #fbf8fcghostwhite |
| Primary | #0098fddodgerblue | #77397frebeccapurple |
| Primary foreground | #ffffffwhite | #f8f1f9whitesmoke |
| Secondary | #aaca3fyellowgreen | #417f39darkolivegreen |
| Secondary foreground | #1f3305darkgreen | #ffffffwhite |
| Muted | #f1f1f1whitesmoke | #1e2b1dblack |
| Muted foreground | #747474dimgray | #a0b49ddarkgray |
| Accent | #ebebeblinen | #417f39darkolivegreen |
| Accent foreground | #131514black | #ffffffwhite |
| Destructive | #da3636crimson | #f07642coral |
| Destructive foreground | #ffdbccbisque | #000000black |
| Border | #d6d6d6lightgrey | #271f28darkslategray |
| Input | #e5e4e7gainsboro | #271f28darkslategray |
| Ring | #0098fddodgerblue | #77397frebeccapurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.33:1 | AAA |
| Text on card | 17.43:1 | AAA |
| Primary button | 3.03:1 | AA Large |
| Secondary button | 7.31:1 | AAA |
| Muted text | 4.14:1 | AA Large |
| Accent | 15.43:1 | AAA |
| Destructive | 3.56:1 | AA Large |
| Text on background | 19.93:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 7.10:1 | AAA |
| Secondary button | 4.87:1 | AA |
| Muted text | 6.71:1 | AA |
| Accent | 4.87:1 | AA |
| Destructive | 7.38:1 | AAA |
Paste this into your globals.css to use mamo in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.193 0.004 164.63);
--muted: oklch(0.959 0 187.595);
--muted-foreground: oklch(0.558 0 225);
--popover: oklch(0.982 0 161.565);
--popover-foreground: oklch(0.193 0.004 164.63);
--card: oklch(0.982 0 180);
--card-foreground: oklch(0.193 0.004 164.63);
--border: oklch(0.876 0 180);
--input: oklch(0.921 0.004 302.153);
--primary: oklch(0.666 0.182 248.717);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.79 0.165 121.564);
--secondary-foreground: oklch(0.293 0.074 130.626);
--accent: oklch(0.941 0 180);
--accent-foreground: oklch(0.193 0.004 164.63);
--destructive: oklch(0.587 0.2 25.919);
--destructive-foreground: oklch(0.917 0.045 44.55);
--ring: oklch(0.666 0.182 248.717);
--chart-1: oklch(0.666 0.182 248.717);
--chart-2: oklch(0.79 0.165 121.564);
--chart-3: oklch(0.809 0.149 69.122);
--chart-4: oklch(0.674 0.163 24.651);
--chart-5: oklch(0.885 0 172.405);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.006 322.135);
--muted: oklch(0.272 0.031 141.719);
--muted-foreground: oklch(0.747 0.039 141.933);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.006 322.135);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.006 322.135);
--border: oklch(0.253 0.021 322.384);
--input: oklch(0.253 0.021 322.384);
--primary: oklch(0.453 0.128 322.834);
--primary-foreground: oklch(0.965 0.013 322.157);
--secondary: oklch(0.537 0.121 141.424);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.537 0.121 141.424);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.7 0.164 42.499);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.453 0.128 322.834);
--chart-1: oklch(0.453 0.128 322.834);
--chart-2: oklch(0.537 0.121 141.424);
--chart-3: oklch(0.537 0.121 141.424);
--chart-4: oklch(0.569 0.129 141.421);
--chart-5: oklch(0.453 0.137 322.849);
}