Skip to content

letterSpacing

Letter spacing in pixels; ‘mixed’ allowed (mixableNumber primitive)

Path

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

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.

number (default: 0)

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