Skip to content

leadingTrim

How much of the font’s built-in leading is trimmed from the line box.

Path

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

Value

  • "NONE" (default) — The line box keeps the font’s full leading above and below the text.
  • "CAP_HEIGHT" — Leading above the cap height and below the baseline is trimmed from the line box.
  • MixedValue

Decisions

  • ADR-005 — Replace Typography Flat Properties with typography — Add Typography Type
  • ADR-032 — Typography leadingTrim — Correct to String Enum
  • 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