Skip to content

lineHeight

Line height (lineHeight primitive)

Path

…elements.<element>.styles.typography.lineHeight

Value

TokenReference

A design token, written as a $token path plus a $type, as in { $token: Color/On surface, $type: color }. The consuming platform resolves it to a value.

string (default: "AUTO")

A percentage of the font size, e.g. ‘150%’, or ‘AUTO’ for the font’s own automatic leading. Uppercase only — ‘auto’ is not a value this contract carries.

number

Pixel value

MixedValue

Records that the source layer mixes values — half a text run bold, half regular — so there is no single value to capture. Nothing renders it; it marks an authoring problem to fix in the design file.

Themes

A TokenReference written here resolves under the theme in force on this element — the one it selects in themes, or the nearest ancestor’s. The same token path yields a different value under a different theme.

Decisions

  • ADR-005 — Replace Typography Flat Properties with typography — Add Typography Type
  • ADR-116 — Nested style members declare their own defaults

Source

FormatFile
JSON Schemapackages/schema/schema/styles.schema.json
TypeScriptpackages/schema/types/Styles.ts
Specification§4.1a, §11