Skip to content
v0.9.1
Foundations

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.

violet#ae7aff
pink#f5a8d0
red#e99898
orange#f7bd8f
yellow#fae8a4
lime#cfee9a
green#98e9ab
cyan#a0e1ed
blue#a9baf8
gray#cbced3

Fills

.bg-<color> paints the fill and sets ink text, so it is readable in light and dark mode.

bg-violet
bg-yellow
bg-green
bg-red
bg-blue
<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.

bg-violet-soft
bg-yellow-soft
bg-green-soft
bg-red-soft
<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.

bg-paper
bg-surface
bg-ink
bg-brand
bg-brand-soft
<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

VariableUse
--momo-<color>Fill (put --momo-on-fill text on it)
--momo-<color>-softSoft tint, mode aware
--momo-<color>-textReadable text shade, mode aware
--momo-paper / --momo-surface / --momo-raisedPage, cards, overlays
--momo-ink / --momo-mutedText
--momo-lineBorders and shadows
--momo-brand / -soft / -textThe brand color

Start

OverviewStart Getting startedStart CustomizeStart

Guides

AccessibilityGuides BreakpointsGuides ChangelogGuides Customize componentsGuides JavaScriptGuides MotionGuides OptimizeGuides PhonesGuides RebootGuides Right-to-left (RTL)Guides Stacking orderGuides Using Momo with AIGuides

Foundations

ColorsFoundations TypographyFoundations ProseFoundations Images & figuresFoundations CodeFoundations Lines & shadowsFoundations Dark modeFoundations

Forms

Checkbox & switchForms ComboboxForms Date pickerForms Date rangeForms Fields & labelsForms File uploadForms Floating labelsForms Number stepperForms PasswordForms PIN codeForms RatingForms SelectForms SliderForms Tag inputForms Time pickerForms ValidationForms

Components

AccordionComponents Alert & bannerComponents AvatarComponents BadgeComponents BreadcrumbComponents ButtonComponents Button groupComponents CalendarComponents CardComponents CarouselComponents ChartsComponents ChipsComponents CollapseComponents Command paletteComponents CommentsComponents Confirm dialogsComponents Cookie bannerComponents Data tableComponents Description listComponents Dialog & toastComponents DividerComponents DrawerComponents Dropdown menuComponents Empty stateComponents File managerComponents Filter & sortComponents Gallery & lightboxComponents Inbox & chatComponents Infinite scrollComponents KanbanComponents Keyboard shortcutsComponents List groupComponents MarqueeComponents Media objectComponents Nav overflowComponents Notification centerComponents PaginationComponents ProgressComponents Pull to refreshComponents SkeletonComponents SortableComponents SpinnerComponents Split viewComponents Stat cardComponents Steps & wizardComponents Swipe actionsComponents TableComponents TabsComponents TimelineComponents TogglerComponents Tooltip & popoverComponents TourComponents Tree viewComponents VideoComponents WhiteboardComponents

Layout

Announcement barLayout App shellLayout Back to topLayout Container & sectionLayout ExamplesLayout FooterLayout HeroLayout JumbotronLayout Mega menuLayout NavbarLayout Site sidebarLayout

Sections

Bento gridSections Blog cardsSections Call to actionSections Contact & newsletterSections FAQSections FeaturesSections Logo cloudSections PricingSections TeamSections TestimonialsSections

Utilities

OverviewUtilities State variantsUtilities Display & flexUtilities Grid & gapUtilities SpacingUtilities SizingUtilities TextUtilities Links & color strengthUtilities Position & overflowUtilities BackgroundsUtilities Borders & effectsUtilities Transforms & filtersUtilities InteractionsUtilities

Helpers

Fixed, sticky & frostedHelpers Hover & focusHelpers Hover revealHelpers Icon linkHelpers PrintHelpers Relative timeHelpers Screen reader textHelpers Scroll inHelpers ScrollspyHelpers Share buttonHelpers Skip linkHelpers StacksHelpers Stretched linkHelpers Theme toggleHelpers Truncated textHelpers

Page patterns

404 pagePage patterns Coming soonPage patterns Login & registerPage patterns SettingsPage patterns ProfilePage patterns CRM contactsPage patterns ProjectsPage patterns File manager pagePage patterns Billing & plansPage patterns Help centerPage patterns Mobile app screensPage patterns
↑ ↓ moveEnter openEsc close