jenga Typography
fun jengaTypography(fontFamily: FontFamily = FontFamily.Default, displayFontFamily: FontFamily = fontFamily, bodyFontFamily: FontFamily = fontFamily, monoFontFamily: FontFamily = FontFamily.Monospace): JengaTypography(source)
Builds the default Jenga type scale.
A brand may run two typefaces, one for display roles (display, heading*, title*) and one for body text (body*, label, caption, button). Pass displayFontFamily and bodyFontFamily separately for that; pass a single fontFamily to use one face across the whole scale (it defaults both).
Parameters
font Family
one face for the whole scale, and the default for the two below. Defaults to FontFamily.Default; JengaTheme injects the Outfit brand family (see rememberJengaFontFamily) when none is supplied.
display Font Family
the face for display, heading and title roles.
body Font Family
the face for body, label, caption and button roles.
mono Font Family
the face for the mono role; FontFamily.Monospace by default.