All articles

Design & branding

Set a document's fonts and colours

Every document has one set of document-wide settings, its theme: the font, the primary colour, the base text size, the line spacing and the look of its tables. Each element (the app calls them blocks) follows the theme until you give it a setting of its own, so a few changes here restyle the whole document.

Before you start

  • In the hosted app, changing a template needs the editor role or higher. Local mode has a single user and no roles. The theme works the same in both.
  • Work in the Flow view. In the Paged view the properties panel is dimmed and says Paged proof is read-only — switch to Flow to edit.

Open the document settings

  1. Open the properties panel with the panel button at the far right of the app bar (tooltip Show properties panel). ⌘. (Ctrl+. on Windows) also opens it, unless you are typing in a text box or in text on the canvas.
  2. At the top of the panel, switch from Selection to Document.

The panel is headed Document, with Theme, page & locale beneath. Any block you had selected stays selected; switch back to Selection to return to it. While you are reviewing changes Buddy proposed, the switch is frozen until you accept or discard them.

The properties panel with Document selected at the top, on a new blank template. The Primary color section has preset swatches, a colour box and the hex code #1a1a2e. The Typography section shows Font set to Helvetica / Arial, Base size 11, and empty Line height and Block spacing boxes, then Text color at Default and Join letter pairs at Default (on). Below is the Brand fonts section with an Upload font button.

Choose the primary colour

The Primary color section sets the document's accent colour. Headings, section titles and the line under each table's header row print in it.

  • Click one of the four preset swatches, or
  • click the colour box to pick any colour (it applies when the picker closes), or
  • type a code such as #1f5c34 into the text box beside the swatches, which shows the current colour's code, and press Enter or click away. The leading # is optional.

A code that is not a six-digit hex colour is not applied; the box goes back to the current colour. The colour of ordinary body text is a fixed near-black grey; change it on a block with its own Color.

Set the font and text size

The Typography section holds six settings.

  • Font — the document font. The list is grouped: Brand fonts (only when you have uploaded some, see Brand fonts), System (Helvetica / Arial, the default, System UI, Georgia (serif), Times (serif), Courier (mono)), then Sans-serif (Inter, Roboto, Lato, Arimo (Arial metrics), Carlito (Calibri metrics)), Serif (Lora, Merriweather, Source Serif, Tinos (Times metrics), Caladea (Cambria metrics), Gelasio (Georgia metrics)) and Monospace (JetBrains Mono, Cousine (Courier metrics)). A font marked "metrics" has the same letter widths as the font it names, so text set in it breaks into lines where it would in that font; a document started from a PDF uses them for the PDF's own fonts.
  • Base size (pt) — the size of body text, 11 pt by default. Heading levels are sized relative to it, so raising it scales the headings too.
  • Line height (×) — line spacing as a multiple of the text size, such as 1.4. Empty means the standard spacing.
  • Block spacing (pt) — one even gap below every heading and paragraph. Empty keeps the standard gaps. Lists, sections, tables and dividers keep their own spacing.
  • Text color — the colour of body text; Default is near-black. Headings keep the primary colour, and a block given its own colour keeps it.
  • Join letter pairs (fi, fl) sets whether the font joins pairs such as fi and fl into one shape. Default (on) joins them as the font does; Off prints every letter on its own, as some PDFs do.

Fonts in the Brand fonts, Sans-serif, Serif and Monospace groups are built into the document, so the PDF matches what you see. System fonts are not: they use the matching font installed where the document is drawn, so the preview and the PDF can differ slightly.

Style every table at once

The Table style section applies to every table in the document:

  • Row stripe — shades alternate rows; Off by default.
  • Header fill — a background for the header row; None by default.
  • Stripe every (rows) — how many rows each band of shading covers; 1 when empty. It only matters when Row stripe is set.
  • Header text — the header row's text colour; Body color by default.
  • Cell borders — the colour of the line under each cell; Default is a light grey.
  • Border width (px) and Border style — Default, Solid, Dashed, Dotted, Double or None.
  • Column lines and Outer frame — a line between the columns, and a line round the whole table; Off by default. Both are drawn in the Cell borders colour, width and style, so turning both on gives a fully boxed table.
  • Header line and Header line width (px) — the line under the header row. Empty means the primary colour at 2 px; a width of 0 removes the line.
  • Row lines, Header column lines, Header top line (px) and Closing line — turn off the lines between rows, draw lines between the header labels only, add a line above the header row, and close the table under its last row.
  • Stripe starts on — Second row by default; First row shades the first band.
  • Header text size (pt) and Cell text size (pt) — the type size of the header and of every other cell; empty means the body text size.
  • Cell vertical align — where a cell's text sits in a row taller than it; Middle by default.
  • Header padding, bottom (pt), Gap below header (pt) and Gap below each row (pt) set the space under the header labels (empty uses the cell padding), open space between the header line and the first row, and open space under every row, which a stripe does not shade. Each goes up to 50 pt.

A single table can override these in its own settings (see Table element). Once a colour is set, a Clear button beside it returns it to its default.

How elements follow the theme

Element settings left empty follow the theme, and the panel says so:

  • A heading's, paragraph's or list's Font and Color read Theme default. For Color that means the primary colour for headings and the near-black grey for other text.
  • An empty Size (pt) means the base size, or for a heading the size its level gives.
  • An empty Line height (×), Space before (pt) or Space after (pt) in a block's Spacing section follows the document's Line height (×) and Block spacing (pt), or the standard spacing when those are empty too.
  • In the editor for a stretch of text inside a block, the font list starts with an Inherit option, which follows the block and then the theme (see Text runs).

Set a value on the element and it wins for that element only. To hand it back to the theme, choose Theme default in a font list, press Clear beside a colour, or empty a number box. See Shared element properties.

The rest of the Document panel

The panel also holds Brand fonts (your own font files) and Page (size, orientation and margins) after Typography, Locale & currency (how numbers, money and dates print) before Table style, and, last, Watermark. Each has its own article, listed below.

Good to know

  • Every change is one step you can undo.
  • Line height must be above 0 and at most 10, block spacing 0 to 1000 pt, and Stripe every (rows) at most 50. A value outside those limits is not applied, and Weft says why.
  • Changing the theme restyles every element that still follows it, in the editor and in every PDF made afterwards. Elements with their own settings are not touched.
  • There is no document-wide setting for heading styles. Headings print bold in the primary colour, sized by level from Base size (pt); to style one differently, set it on the heading itself.
  • Your workspace branding (Settings, Branding) does not change this panel for documents you already have; see Workspace branding.

What next