Every styled thing in a MakeBox template — a font, a color, a margin — resolves through a four-layer override model. Knowing the layers lets you fight the system less: changes go where they belong, overrides win in the order you expect, and the same template looks the same in your editor and your recipients’ PDFs.
This page covers the layers and the two ways to change them (the sidebar UI and natural-language requests to the AI).
The layered model
Four layers, each overriding the one below:
| Layer | Where you set it | Wins over |
|---|---|---|
| Per-block overrides | Click a block, edit its style in the sidebar | All other layers |
| Per-template styles | The template’s bundled styles config | Brand theme + fallback defaults |
| Brand theme | Settings → Brand | Fallback defaults |
| Fallback defaults | System-provided | — |
The rules:
- Per-block always wins. If you set a font-size on one specific block, every other layer is overridden for that one block. Other blocks are unaffected.
- Higher layers don’t replace lower ones — they override. If you set
colorper-block but notfont-family, the per-block color wins for that block, but font-family still comes from the template / brand / defaults. - The fallback defaults are the floor. Even a brand-new template with no settings looks usable, because the defaults are tuned to be sensible.
The result: you don’t have to fill every layer to get a coherent look. Set what matters for your brand at the brand level; let defaults fill the rest; reach for per-block only when one block actually needs to look different.
Why this matters: editor and PDF agree
Both the editor preview and the PDF output run the same renderer over the same layered model. There’s no separate PDF stylesheet, no print-only override that gets injected later. If a block looks blue in the editor, it’ll look blue in the PDF — because both surfaces resolved its color through the same four-layer walk and arrived at the same value.
This is the structural reason templates look the same in the editor and the PDF. The technical detail is in How rendering works; the user-facing consequence is “what you see is what your recipients see.”
Two ways to change styles
You don’t have to think about the layers to use them. Two interfaces give you direct access:
Through the sidebar (the precise, click-driven way)
Click any block in the editor. The right-hand sidebar updates with that block’s style controls:
- Typography — font family, size, weight, line height, letter spacing
- Color — text, background
- Spacing — margins, padding (in
spacingBefore/spacingAfterfor vertical gaps) - Alignment — text alignment, vertical alignment in tables
- Borders — width, style, color, side-specific
- Block-specific — table-cell padding, list indent, callout accent color
Every sidebar control writes to the per-block override layer. Click a control, the change applies to that block only. If you want a change to apply to all blocks of a type, change it at the per-template layer instead — there’s a “Template styles” panel one level up in the sidebar for exactly this.
Through the AI assistant (the conversational, intent-driven way)
Open the AI chat (in the editor) and describe what you want:
- “Make all headings 18pt and bold using my brand blue”
- “Tighten the line spacing on this paragraph”
- “Use a serif font for body text”
- “Add a left border to all callouts”
The AI figures out the scope from how you phrased it:
| Phrasing | Scope | Layer changed |
|---|---|---|
| ”this”, “this block”, “this section” | Just the selected/focused block | Per-block override |
| ”all headings”, “all callouts”, “every paragraph” | All blocks of that type in this template | Per-template |
| ”this whole template”, “the document” | Document-wide for this template | Per-template |
| ”my brand”, “brand color X” | Workspace brand theme (asks for confirmation first) | Brand theme |
The AI tells you which layer it touched after it makes the change (“Updated the template’s heading style; your brand defaults are unchanged.”). If it changed the wrong layer, you can ask it to revert and re-do at a different scope.
Full vocabulary + examples + limits in Tell the AI to change template styles (Phase 3a, coming soon).
What if I want to override everything?
Per-block always wins. If you’ve set a color in your brand theme and it keeps coming back when you set a per-block override, that’s not how it works — per-block beats brand, every time. If you’re seeing a value you didn’t expect, the cause is almost always:
- You set the override on the wrong block (clicked into the page background instead of the block)
- You’re looking at a different block than you think (table cells especially can be deceptive — the cell, the cell’s paragraph, and the paragraph’s text are three different blocks)
- A per-template style is forcing the value at a higher specificity than your per-block override (rare, but possible if the template was authored to lock certain styles)
The Variables panel doesn’t directly help here, but the sidebar’s “Inspect” affordance shows the resolved style chain for whatever block is selected — which layer set which value. That’s the source-of-truth for debugging “where is this color coming from.”
Why the defaults exist
The bottom layer — fallback defaults — guarantees a usable look even when no other layer is set. A first-time user can clone a community template and never touch a sidebar control, and the result still has readable typography, sensible margins, and good contrast.
The defaults are also the reason templates produced by different authors look like they belong in the same product. If everyone started from a blank slate with arbitrary picks, the community catalog would be visually incoherent. The defaults define the floor; anything above that is the author’s expression.
The defaults come from a shared set of design tokens used by every MakeBox surface — the editor, the live preview, and the PDF renderer all read the same values. When you read a token name like palette.gray.900 in the reference page, that’s the same value all three surfaces use. There’s no drift between editor defaults and PDF defaults because there can’t be.
Related
- How rendering works — the renderer that walks these layers; multi-page, gotchas, etc.
- Templates, pipelines, and forms — what styles apply to (templates), and what styles don’t apply to (pipelines themselves)
- Tell the AI to change template styles (Phase 3a) — natural-language style instructions in depth