DroppyWidgetTextStyle

A role in a shelf widget's type scale (DroppyKit 1.23.0).

enum DroppyWidgetTextStyle

Pick the role, never a point size: the host sizes every role for the mount in hand (alone on the shelf, in a row of two, in a row of three or four), so a widget's type follows the built-ins beside it.

Available from DroppyKit 1.23.0.

Cases

DroppyWidgetTextStyle.header

case header

The header row's title: 12pt semibold in secondary ink, beside a 12pt medium symbol.

DroppyWidgetTextStyle.title

case title

A row's title or a label beside a readout: Pomodoro's phase label.

DroppyWidgetTextStyle.body

case body

Ordinary text: a list row, a value, a line of detail.

DroppyWidgetTextStyle.secondary

case secondary

The quieter line under a title.

DroppyWidgetTextStyle.caption

case caption

The smallest legible line: a footnote, a unit, "3 more".

DroppyWidgetTextStyle.figure

case figure

A number that is the widget: Pomodoro's readout, rounded semibold with monospaced digits.