hangingPunctuation
Whether hanging punctuation is enabled (boolean primitive)
Path
…elements.<element>.styles.typography.hangingPunctuation
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.
boolean (default: false)
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— AddTypographyType - 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 |