Colors
Ten soft flat colors on a warm cream page. The brand is ink (black) by default. Color names only: there are no "primary" or "danger" classes.
The palette
Each color has a fill (always with ink text), a soft tint for quiet areas, and a text shade that reaches 4.5:1 on the page in both modes.
#ae7aff#f5a8d0#e99898#f7bd8f#fae8a4#cfee9a#98e9ab#a0e1ed#a9baf8#cbced3Fills
.bg-<color> paints the fill and sets ink text, so it is readable in light and dark mode.
<div class="box docs-tile bg-violet">bg-violet</div>
<div class="box docs-tile bg-yellow">bg-yellow</div>
<div class="box docs-tile bg-green">bg-green</div>
<div class="box docs-tile bg-red">bg-red</div>
<div class="box docs-tile bg-blue">bg-blue</div>Soft tints
.bg-<color>-soft for quiet areas: notes, selected rows, empty states. In dark mode it becomes a dark tint.
<div class="box docs-tile bg-violet-soft">bg-violet-soft</div>
<div class="box docs-tile bg-yellow-soft">bg-yellow-soft</div>
<div class="box docs-tile bg-green-soft">bg-green-soft</div>
<div class="box docs-tile bg-red-soft">bg-red-soft</div>Text
.text-<color> uses the readable shade (dark on light pages, the fill on dark pages).
The quick tuxedo cat jumps over the box. (violet)
Paid · $25.00 (green)
-0.73% this week (red)
Link-like blue text (blue)
<p class="text-violet">The quick tuxedo cat jumps over the box. (violet)</p>
<p class="text-green">Paid · $25.00 (green)</p>
<p class="text-red">-0.73% this week (red)</p>
<p class="text-blue">Link-like blue text (blue)</p>Neutrals and brand
The page is warm paper, cards are white, lines are ink. The brand color is ink by default (black, white in dark mode); pick any color as the brand on the Customize page or with BRAND in build.mjs.
<div class="box docs-tile bg-paper">bg-paper</div>
<div class="box docs-tile bg-surface">bg-surface</div>
<div class="box docs-tile bg-ink">bg-ink</div>
<div class="box docs-tile bg-brand">bg-brand</div>
<div class="box docs-tile bg-brand-soft">bg-brand-soft</div>Variables
| Variable | Use |
|---|---|
--momo-<color> | Fill (put --momo-on-fill text on it) |
--momo-<color>-soft | Soft tint, mode aware |
--momo-<color>-text | Readable text shade, mode aware |
--momo-paper / --momo-surface / --momo-raised | Page, cards, overlays |
--momo-ink / --momo-muted | Text |
--momo-line | Borders and shadows |
--momo-brand / -soft / -text | The brand color |