Skip to content

fontStyle

Style name (e.g., ‘Bold’), ‘mixed’ when varied, or token reference for variable-bound fonts

Path

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

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

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-033 — Typography fontFamily/fontStyle — Remove Number, Add TokenReference
  • ADR-075 — conventions.primitives — a Declared Table from Styles to a Component’s Props
  • 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