Brand system
Make it clear. Make it Pop.
Every value on this page is generated from core/tokens.json, and the logo art is
recoloured to match it — not the other way round. The palette was tuned for legibility on
screens over eighteen rounds of review; the art follows it. The swatches below read their own
hex at runtime, so nothing here can drift from the shipped theme.
Logo
Three configurations, each cut for a light and a dark surface, shown here on the background each
one is for. Between a pair, two things change: the sparkle dots go from violet to the lighter
on-dark violet, and the “Make” goes from cyan to the lighter on-dark cyan. The “Pop” and the rays
never change, because the logo pink is the same hex on both grounds. Each configuration also has a
single-colour -black and -white variant with its own public address, for
a one-ink context. Every SVG is transparent and fully outlined, so it drops onto any surface and
needs no webfont. Full rules in core/assets/logo/README.md.
Horizontal lockup Primary
logo-on-light.svg
The default logo. Reach for this one unless the slot forces you elsewhere.
Horizontal lockup — on dark
logo-on-dark.svg
Same lockup, on-dark dots and wordmark. This is the file in the navbar at the top of this page.
Square lockup
lockup-square.svg
Firework stacked over the wordmark, for a slot where the horizontal lockup would shrink to nothing.
Square lockup — on dark
lockup-square-on-dark.svg
The dark-surface pair.
Icon
icon.svg
Firework alone, no text — favicons, avatars, app icons. Only where “MakePop” is already established.
Icon — on dark
icon-on-dark.svg
The dark-surface pair.
Each configuration also has a single-colour -black and -white variant, twelve
slots in all, and PNG fallbacks of every one live in core/assets/logo/png/ at 1x and
@2x, for
email and raster-only contexts. Prefer the SVGs everywhere else.
Color
Four interactive hues carry the brand, every one named for the colour it is rather than for the role it plays. Each has a light-ground and a dark-ground value, and dark mode uses the dark one for buttons, badges, alerts and text — not only for backgrounds. The art is recoloured to these values; nothing here is sampled from it.
The brand hues
The status hues
Shade scales
Every palette hue is auto-expanded: 100–400 mix in white, 600–900 mix in
black, 500 is the hue itself. Generated in scripts/lib/brand.mjs — never
authored, with two exceptions: --c-navy-800 and --c-navy-900 are the
hand-set deep navy and midnight, and both sit monotonically below the generated 700 so the ladder
still darkens all the way down. An interactive role's scale is generated per mode from
that mode's fill, so --c-primary-700 means “a deeper primary” in whichever
mode is reading.
Semantic roles
What product code should actually reference. Reach for var(--c-primary) before
var(--c-violet-500): the role follows the mode and the hue does not.
Surfaces & ink
Neutrals
New at 1.0, so apps stop inventing their own. Every block below appears twice: once in the page's
current mode and once inside a nested data-theme="dark" box, so both answers are on
screen without touching the toggle. The names map one-for-one onto the local layer the tasks board
and the artifacts app each built over a vendored 0.7.0, which is what lets those apps delete their
copies at adoption.
Grounds, by height
Height rather than name: --bg-sunken is below the page, --bg-page is the
page, --bg-raised is a card or panel or menu or input on it. --bg-body is
kept as an alias of --bg-page, so stylesheets written against 0.x keep working. Body
ink reads 11.9:1 or better on every one of them in light and 7.2:1 or better in dark.
This page's mode
Wells, code blocks, table headers.
The ground the page sits on.
A card, panel, menu or input.
The other ground, not the darker one.
The tinted surface.
Dark
Wells, code blocks, table headers.
Deep navy.
Navy, so a card never disappears into the page.
Midnight.
The tinted surface.
Always dark, in both modes
A band or a footer inside a light page. These three are the same colour whichever mode is on, and
they carry the --text-on-dark ladder rather than the page ink. They replaced the
--bg-dark-* family at 1.0.
The band.
Also dark mode's page.
The footer. --bg-footer is the same value.
Interaction states — .mp-interactive
Hover, press and select on a neutral row, as one utility. The steps are quiet by design — 1.10:1
to 1.36:1 against their ground, the usual weight for a neutral state — so they are never the sole
indicator: they ride alongside the cursor and aria-selected/aria-current,
which is what the selector reads. --bg-selected is the one that is not neutral: it is
a 9% primary tint, because a selected row should say which hue the product's selection is.
This page's mode — hover a row, hold the mouse down on it
Dark
Borders — three weights, warm
--border is the standard: cards, dividers, the sibling of an input.
--border-subtle is quieter, --border-strong is hover and emphasis. All
three are decorative at 1.22:1, 1.40:1 and 1.79:1 on white — they do not meet
WCAG 1.4.11's 3:1 and must never be the sole indicator of state, focus or a control boundary.
--border-input is the exception and the reason it exists: an input's border is its
only boundary on a white card, so at 1.0 it reads as a control at 3.65:1.
--border-card and --border-divider are aliases of --border.
This page's mode
Dark
Focus, scrim and disabled
One --focus-ring colour every component's focus draws from. The form still
differs — a button keeps the outline, an input keeps the glow — but a consumer restyling focus has
one value to change. --scrim is the dialog backdrop, which was a hard-coded
rgb(0 0 0 / 50%) in each component before 1.0, and
--disabled-opacity is the one weight every disabled control reads, replacing the
0.5 / 0.6 / 0.7 they picked for themselves. Tab to the button and the input below to see the ring.
This page's mode
--scrim
Dark
--scrim
Typography
Poppins for headings — a nod to the “Pop” — and Inter for body and UI. Both stacks name the real
family first and fall back to system-ui. Since 1.0 the brand ships the font
files and serves them: one stylesheet link,
https://cdn.makepop.ai/fonts/fonts.css, and a page has the brand type with no
third-party request and no build. Poppins 600/700/900 and Inter 400/500/600/700, latin subset.
AaBbCc 0123 &?!
Heading — Poppins
AaBbCc 0123 &?!
Body / UI — Inter
AaBbCc 0123 &?!
Mono — system stack
Size scale
Twelve steps, --fs-1 through --fs-12. Rendered here at their real size.
Weights
Line heights
--lh-tight · 1.1
Display headings, where the lines should lock together as one shape.
--lh-snug · 1.3
Subheads and short UI copy that still needs a little air between lines.
--lh-normal · 1.5
Body copy. The default for anything a person is expected to read a paragraph of.
On dark
The always-dark band: a navy panel placed inside a page, dark in both modes, like a hero or a
footer. It is a design element, not a mode, so it uses one of the three named always-dark grounds
(--bg-navy, --bg-deep-navy, --bg-midnight) and the
--text-on-dark ladder rather than the page tokens. Those three replaced the
--bg-dark-* family at 1.0, which was a second dark system beside dark mode. For the
whole page going dark, see Light & dark just below.
Typography
Make it clear. Make it Pop.
Lede copy takes --text-on-dark-secondary at 7.9:1, and --text-on-dark-muted
is one step quieter at 5.0:1. Cyan is --text-on-dark-accent: a label and link tone,
never a body tone. It is the cyan 300 rather than the 500, which is 3.7:1 here and would have
been a label nobody could read.
Body copy is --text-on-dark, plain white, at 12.8:1. Links go cyan here rather than
--text-link: the light-mode link is tuned for white and collapses on navy —
this is the cyan. Pink is display-only on this surface. At 3.8:1 it clears
the bar for large text, as in the heading above, and misses it for a paragraph.
Solid buttons — every role holds
Ghost — brings its own light surface
Outline — white, not a role
.mp-btn-outline-* fills its ink from the role's darkest shade, which is
drawn against white — outline-primary would land purple-on-navy at 2.2:1.
.mp-btn-outline-white is the one variant that keys off a neutral instead of a role,
and it exists for exactly this surface.
Two components carry this surface themselves and don't need a slab around them:
.mp-card-dark in Cards, and .mp-accordion-dark in
Accordion.
Light & dark
One choice for the whole fleet. The toggle in the header cycles
System → Light → Dark and stores it in a cookie on the parent
domain, so it carries to every MakePop app on any makepop.ai address and
survives a browser restart for a year. System (the default) follows the operating system.
Switch it and scroll the whole page — every section is the same
markup in both modes, with no dark-mode CSS anywhere in components.css.
Nesting
data-theme works on any element, to any depth, and everything inside
follows its closest themed ancestor rather than the page. That is what lets a light panel
sit inside a dark section inside a light page. None of the three panels below sets a single
colour of its own — they set data-theme and nothing else. The outermost one
carries no attribute at all, so it follows whatever the toggle is set to: flip the toggle
and watch the outer frame change while the two inside it stay put.
Level 1 — follows the page
Body copy on --bg-body, whichever mode that currently means.
Level 2 — data-theme="dark"
Same classes, same markup. The ink, the surfaces, the borders and every component variant inside this box resolved against the dark scope.
Level 3 — data-theme="light"
Light again, inside the dark box, inside the page. There is no depth limit and no per-level CSS: each scope redeclares the same token names.
Note what does not change: the always-dark band (On dark,
just above) is dark in both modes by definition — it is a design element, not a mode — so it
keeps --bg-navy and the --text-on-dark ladder in either.
Badges
Solid / outline / light × 8 roles, plus shapes and sizes.
Solid
Outline
Light
Shapes & sizes
Alerts
Three families per role — soft, subtle, and solid. Even 24px padding and an
md radius read as a panel, not a strip. A .mp-alert-heading +
body gives it structure; child margins collapse into the padding. The dismiss button is
styled here but wiring the close is the consumer's job — that's the boundary this repo draws.
Soft (default tint)
With a heading
Trial ending soon
Your workspace switches to the free plan in 3 days. Upgrade to keep your saved audits.
Subtle (transparent + accent rule)
Solid (filled) & small
.mp-alert-sm note.Callouts
Heavier than an alert — for prose asides with a title.
One rule
core/tokens.json is canonical. If a value is missing, add the token — never hardcode it downstream.
Pin your version
Consumers pin a version and bump deliberately. Nothing auto-rebuilds because a color changed.
Cards
Light, interactive (hover lift), and dark surface.
Static card
A plain content container. No hover, because it isn't clickable.
Interactive card
Opt in to the hover lift only when the whole card is a link.
Dark card
Sits on the navy surface, with muted on-dark body text.
Icons
The brand ships no icon font — icons are a downstream dependency, and
Font Awesome is the house choice. A bare <i class="fa-solid fa-…">
inherits color and scales to the surrounding font-size, so it drops into
any component untouched (buttons already reserve a gap for it). This page loads the FA
CDN for the demo; a consumer self-hosts or installs it. See COMPONENTS.md § Icons.
Inside components — inherits the surface's ink
currentColor, so they take the
alert's ink for free.
Icon container — .mp-icon-box
A tinted circle (or rounded square) to seat an icon in — feature lists, stat rows, empty states. Defaults to the accent tint + primary ink; override the background/color inline for other roles.
Inline sizing — .mp-icon-lg / .mp-icon-xl
Text with a default, a large, and an extra-large glyph, all keyed to the copy.
Forms
Plain <input>/<select>/<textarea> — so
v-model, native validation, and form submission all just work.
Sizes — .mp-input-sm / .mp-input-lg
Input group — .mp-input-group
Checkboxes, radios & switches
Native <input type=checkbox|radio> — styled, but still real form controls.
Table
.mp-table is the base. Stack the Bootstrap-esque utilities —
.mp-table-striped, -sm, -bordered, -borderless,
-hover, and .mp-table-active on a row — in any combination.
| Consumer | Channel | Pulls | Status |
|---|---|---|---|
| Web microservice | npm | theme.css + components.css | Live |
| Document repo | npm / git-pin | tokens.json | Live |
| Coding agent | raw URL | BRAND.md | Live |
| Logo in app | CDN | logo-on-light.svg | Live |
Striped + hover, with one .mp-table-active row.
Small + bordered — .mp-table-sm .mp-table-bordered
| Token | Value | Role |
|---|---|---|
--c-primary | #6A48C2 | violet |
--c-cta | #FF3399 | pink |
--c-tertiary | #0097B8 | cyan |
--c-accent | #477B0A | lime |
Accordion
Native <details>/<summary>. Open/close, keyboard, and
screen-reader semantics come from the browser — zero JavaScript, and it renders
correctly server-side. The chevron is drawn in CSS.
Why aren't these Web Components?
COMPONENTS.md.
Does it work in Vue?
open with
:open and listen to the native toggle event if you want control.
What if I need an animated accordion?
<Transition>. The skin is shared; the behavior stays yours.
On a dark surface
Dark variant
Second item
Dialog
Native <dialog>. The browser gives you the focus trap, the backdrop, and
Esc-to-close for free. It fades and rises in on open (pure CSS via
@starting-style) and fades back out on close. The only script on this page is the
showModal() call below — a consumer would do that in its own framework.
Add .mp-dialog-blur to blur the page behind the modal, and
.mp-dialog-sm / -lg / -xl to size it (default caps at 32rem).
Dropdown menu
The menu skin, on native <details>/<summary> — the browser
toggles it, zero JS (same doctrine as the accordion). The
<summary> is the trigger; style it as any .mp-btn. One native
caveat: <details> doesn't close on outside-click or Esc — a consumer that
wants that adds ~5 lines.
Actions
Right-aligned
Offcanvas
An edge drawer on native <dialog> — showModal() and the browser
hands you the backdrop, focus trap, and Esc, the same as the modal. It slides in from the edge
via @starting-style; the direction class picks the edge. The close buttons use
<form method="dialog">, so only the open needs a line of script.
Progress
A track and a fill whose width the consumer drives (style="width:…" or a var).
Pure CSS; bar colors are generated per role. Add .mp-progress-striped +
.mp-progress-animated for a moving candy-stripe (off under reduced motion).
Spinners
CSS-only loading indicators. Both inherit currentColor, so a spinner takes the
surrounding text color by default — visible inside a filled button with no extra class — and
.mp-text-* recolors it. Reduced motion slows them rather than freezing (a stopped
spinner reads as broken).
Placeholder
Skeleton shapes for loading states — set each width inline. Wrap in
.mp-placeholder-glow to pulse, or .mp-placeholder-wave to sweep a
highlight across. Swap them for real content when it arrives.
Scrollspy nav
The in-page-nav skin. Like the reveal utilities, it's inert until the consumer toggles
.mp-active on the current link — the geometry that decides "current" is app logic,
not brand (the rail on the left of this very page is one implementation). Vertical rail by
default; add .mp-scrollspy-horizontal for an underline bar. Shown statically here
with one link pre-marked active.
Utilities
Deliberately one family — color & elevation, the parts that carry a brand decision. There's no spacing/flex/display/sizing layer: that's generic layout every consumer's framework already ships, and duplicating it invites drift. See COMPONENTS.md § Utilities.
Grounds — background + the ink that's legible on it
Drop one class and the text colour is already correct and accessible. .mp-bg-* is the
one ground prefix at 1.0; the .mp-surface-* family that drew the same grounds under a
second name is gone. The first five follow the mode; the last three are dark in both, so
.mp-text-muted re-maps to the on-dark muted tone inside them. The whole set is in
Neutrals above, by height.
Muted text stays readable.
A well below the page.
Muted → the on-dark tone.
The deepest navy, and the footer.
Elevation — .mp-shadow-sm … -xl
Color — text, fill, tint, gradient (per role)
Prose
.mp-prose scopes base typography to a wrapper, so it never fights a consumer's own
reset. For long-form/authored content (blog, legal, docs).
Heading level 1
Body copy in --font-body at --lh-normal. A link uses --text-link.
Heading level 2
Headings use --font-heading and --text-heading, and step down at mobile widths.
Heading level 3
- Unordered list item
- Another item, with
inline code
A blockquote, accented with the pink pop.
Heading level 4
Trailing paragraph.
Motion
Scroll-reveal utilities: elements rest hidden and animate in as they enter the viewport. The CSS
is inert — it does nothing until mp-in-view is added to the element — so
components.css still ships zero JS. Adding that class is the
consumer's job; the ~12-line IntersectionObserver below is the recommended trigger,
and it's exactly what drives this section. Everything here collapses to no motion under
prefers-reduced-motion.
Single elements
Staggered children
Put .mp-stagger on the parent — each direct child fades in on an interval
(--mp-stagger, default 80ms; presets .mp-stagger-100 …
.mp-stagger-300). One observed element animates its whole row.
The trigger
Drop this in once per page. It reveals anything with an mp-reveal* class or
.mp-stagger, and unobserves after the first pass so each element animates once.