Skip to main content

Applying styles

Wherever a component prints text or renders a table, it doesn't carry its own font or borders — it points at a style defined once on the design's Styles tab. Update the style, and every component using it updates at the same time.

There are three kinds:

  • Colours — a named palette. Every colour used anywhere in the design is defined once and referenced by name, including inside the two style kinds below. Used directly by Rectangle, Divider, 1D Barcode, 2D Barcode and Invoice Status.
  • Typography styles — define font family, size, bold/italic/underline, letter case, and colour (referencing the palette). Used by Text, Details Box, Address Box, Page Number, Invoice Status, and inside table styles.
  • Table styles — define padding, alignment, borders, header/body/footer treatment, alternating row treatment, and which typography style to use for each kind of row. Used by Invoice Items, Quote Items, Transactions, and Summary.

This page covers how components reference styles. For what's inside each kind of style — every field of the typography or table editor — see the Styles tab documentation.

The style selector​

Components that use a style show a row like this:

[ Dropdown of available styles ]   [ ✎ Edit ]   [ + Create ]

Concepts - Styling

  • Dropdown — pick from styles already defined on the design. The first entry is the default style for this kind (typography or table); the rest are listed by name.
  • ✎ Edit — open the currently selected style in its editor. Changes save back to the design's Styles tab and apply everywhere the style is used.
  • + Create — define a new style on the spot. You enter a name, then the editor opens so you can configure it. The new style is added to the design and selected for the current component.

"Default" vs a named style​

If you leave the dropdown on the default option, the component uses the design's default typography (or table) style. If you pick a named style, that one wins. Selecting the default again is how you reset.

The default style is set on the Styles tab.

Editing a shared style​

When you edit a style that's used by more than one component, the editor shows an amber banner like "This style is used by N components", expandable to list them. Treat this as a heads-up: your change will ripple across the design.

If you want a one-off variant — different size or colour for just one component — duplicate the style instead of editing the shared one. The duplicate action sits in the same actions menu as Edit, and gives you a working copy under a new name in one click.

Colour selectors​

Colour fields work the same way, with one difference in what "empty" means. An empty style reference means "use the default style"; an empty colour reference means no colour at all — transparent. Fields where that is a sensible choice (a table background, a rectangle fill) offer an explicit None (transparent) entry in the dropdown; fields where it isn't simply don't.

See Styles → Color palette for the palette itself.

Sub-style references inside table styles​

Table styles have three "row zones" (header, body, footer), and each zone points at its own typography style for the text. So your Invoice Items table style might say:

  • Header row → typography style "Table Header"
  • Body rows → typography style "Body Text"
  • Footer row → typography style "Bold"

This is why typography styles and table styles work together: typography styles describe the text, table styles describe the table chrome and reuse typography styles for the actual labels and numbers.

Two-typography components​

Details Box has two columns and lets you pick a typography style per column — for example a lighter style for labels and a bolder one for values. The selector pattern is the same; you just see two of them. On top of that, each row can name its own style, overriding the value column for that row alone.

Address Box works the same way per line: every line of a custom layout carries its own style selector, defaulting to Same as box.

Both of those selectors show Same as box (or the column default) rather than a named style until you pick one, so an unset override costs nothing.

Inside table styles, the body zone carries up to four typography references — first line and subsequent lines, each for odd and even rows — which is how an item title and the description lines beneath it end up styled differently without any per-component settings.