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— AddTypographyType - ADR-032 — Typography leadingTrim — Correct to String Enum
- ADR-116 — Nested style members declare their own defaults
Source
| Format | File |
|---|---|
| JSON Schema | packages/schema/schema/styles.schema.json |
| TypeScript | packages/schema/types/Styles.ts |
| Specification | §4.1a, §11 |