invoke

operator fun invoke(fontFamily: FontFamily): Theme.Typography

Creates a new Typography instance with the specified font family applied to all text styles.

Return

A new Typography instance.

Parameters

fontFamily

The font family to use for all text styles.