@Immutable interface Typography
body
: TextStyle
[Get] |
default reading and control text
Signature
abstract val body: TextStyle |
bodySmall
: TextStyle
[Get] |
supporting text
Signature
abstract val bodySmall: TextStyle |
bodySmallStrong
: TextStyle
[Get] | |
bodyStrong
: TextStyle
[Get] | |
caption
: TextStyle
[Get] |
lowest-emphasis metadata
Signature
abstract val caption: TextStyle |
display
: TextStyle
[Get] |
largest display heading
Signature
abstract val display: TextStyle |
headline
: TextStyle
[Get] |
screen or section heading
Signature
abstract val headline: TextStyle |
label
: TextStyle
[Get] |
compact control, field, or eyebrow label
Signature
abstract val label: TextStyle |
title
: TextStyle
[Get] |
component and dialog title
Signature
abstract val title: TextStyle |
copy
(
display
, headline
, title
, label
, body
, bodySmall
, caption
)
|
Copies the base typography roles into UISet's default implementation.
Typography.bodyStrong and Typography.bodySmallStrong are re-derived from the resulting Typography.body and Typography.bodySmall values. Overrides of those derived roles on a custom Typography implementation are intentionally not preserved; callers that need that level of customization should implement Typography directly.
Signature
fun Typography.copy(
display: TextStyle = this.display,
headline: TextStyle = this.headline,
title: TextStyle = this.title,
label: TextStyle = this.label,
body: TextStyle = this.body,
bodySmall: TextStyle = this.bodySmall,
caption: TextStyle = this.caption,
): TypographyExtension declared in metavrx.uiset.compose.themeParameters display: TextStyle
largest display heading
headline: TextStyle
screen or section heading
title: TextStyle
component and dialog title
label: TextStyle
compact control, field, or eyebrow label
body: TextStyle
default reading and control text
bodySmall: TextStyle
supporting text
caption: TextStyle
lowest-emphasis metadata
Returns Typography |