Typography
The screen Content → Nova → Variables → Typography sets the typefaces and the type scale of a skin. The screen works as described on How a Variables screen works. The base size and the heading scale hold a value per device.
Typefaces
Section titled “Typefaces”| Field | Effect | Nova’s value |
|---|---|---|
| Body font | The typeface of the text. The core and other plugins read it too. | the typeface of the theme configuration |
| Heading font | The typeface of the headings. | the typeface of the theme configuration |
| Font hosting | Where a visitor’s browser loads a Google family from: Locally (GDPR) or Google (CDN). | Locally (GDPR) |
The help of Font hosting reads: “Locally, the shop serves the Google typefaces itself. With Google, every visitor’s browser loads them from Google’s servers, which receive the visitor’s IP address; courts in the EU have held that this needs the visitor’s consent. Own fonts always come from the shop.”
Choosing a typeface
Section titled “Choosing a typeface”The typeface picker has three tabs:
- Google Fonts: the families of the catalog, with a search, a category filter and the view All families or Downloaded to the shop. “The previews are loaded by the shop’s server, so your IP address does not reach Google. Applying a typeface downloads it into the shop.”
- Own fonts: fonts uploaded to the shop. Upload a font takes a WOFF2 file, the Name of the typeface, the Weight and the Style; each weight and style is a file of its own. “Upload only fonts whose licence allows their use on websites.” A font used by a skin cannot be deleted.
- System: the fonts of the visitor’s device. “System fonts are not downloaded: every visitor sees their own device’s version of the font, or its fallback.”
A skin is not published with a typeface the shop cannot serve: an uploaded font that no longer exists, or a Google family whose files the shop does not host while Font hosting is Locally (GDPR).
| Field | Values | Nova’s value |
|---|---|---|
| Base size | per device, 0.75–1.5 rem in steps of 0.0625 rem | 1 rem |
| Heading scale | per device: 1.067 — minor second, 1.125 — major second, 1.2 — minor third, 1.25 — major third, 1.333 — perfect fourth, 1.414 — augmented fourth, 1.5 — perfect fifth, 1.618 — golden ratio | 1.2; on phones 1.125 |
| Text line height | 1–2.5 in steps of 0.05 | 1.5 |
| Heading weight | 100 — Thin to 900 — Black | 600 — Semibold |
The base size takes rem only, so every size of the shop follows the text size the visitor sets in the browser. The heading sizes are calculated from the base size and the heading scale. Under Heading scale the table Heading sizes (1 rem = 16 px) shows the size of each heading on each device.
Headings
Section titled “Headings”| Field | Values | Nova’s value |
|---|---|---|
| Line height | 0.9–2 in steps of 0.05 | 1.2 |
| Letter spacing | −0.05–0.2 em in steps of 0.005 em | 0 em |
| Case | As written, UPPERCASE, lowercase, Capitalised Words | As written |
Warnings
Section titled “Warnings”The screen warns when a chosen typeface lacks a weight it needs:
- “The body font family has no regular weight (400), only weights: the text appears in the nearest of these.”,
- “The headings are set in weight weight, which family does not have (it has weights): browsers fake it by thickening a lighter weight.”
The check covers only the typefaces the shop hosts, Google families and own fonts. The weights of the theme’s and the system’s typefaces are not known to the admin, so they are not checked.
The preview
Section titled “The preview”In the mode Samples, the preview shows the part Typefaces with both typefaces, and the part Sizes on the device shown with the six heading levels, the text, the small text and the price, each with its value. The device switch of the preview changes the device the sizes are shown for.