StreamTextStyles
Inherited functions
Link copied to clipboard
fun defaultBadgeTextStyle(default: TextStyleWrapper = VideoTheme.typography.labelXS.wrapper(), pressed: TextStyleWrapper = default, disabled: TextStyleWrapper = default.disabledAlpha()): StreamTextStyle
Link copied to clipboard
fun defaultBody(size: StyleSize = StyleSize.L, default: TextStyleWrapper = when (size) {
StyleSize.XS, StyleSize.S, StyleSize.M -> VideoTheme.typography.bodyM.wrapper()
else -> VideoTheme.typography.bodyL.wrapper()
}, pressed: TextStyleWrapper = default, disabled: TextStyleWrapper = default.disabledAlpha()): StreamTextStyle
Link copied to clipboard
fun defaultButtonLabel(size: StyleSize = StyleSize.L, default: TextStyleWrapper = when (size) {
StyleSize.XS, StyleSize.S -> VideoTheme.typography.labelXS.wrapper()
StyleSize.M -> VideoTheme.typography.labelS.wrapper()
else -> VideoTheme.typography.labelM.wrapper()
}, pressed: TextStyleWrapper = default, disabled: TextStyleWrapper = default.disabledAlpha()): StreamTextStyle
Link copied to clipboard
fun defaultLabel(size: StyleSize = StyleSize.L, default: TextStyleWrapper = when (size) {
StyleSize.XS, StyleSize.S -> VideoTheme.typography.labelS.wrapper()
StyleSize.M -> VideoTheme.typography.labelM.wrapper()
else -> VideoTheme.typography.labelL.wrapper()
}, pressed: TextStyleWrapper = default, disabled: TextStyleWrapper = default.disabledAlpha()): StreamTextStyle
Link copied to clipboard
fun defaultSubtitle(size: StyleSize = StyleSize.M, default: TextStyleWrapper = when (size) {
StyleSize.XS -> VideoTheme.typography.subtitleS.wrapper()
StyleSize.S -> VideoTheme.typography.subtitleS.wrapper()
StyleSize.M -> VideoTheme.typography.subtitleM.wrapper()
else -> VideoTheme.typography.subtitleL.wrapper()
}, pressed: TextStyleWrapper = default, disabled: TextStyleWrapper = default.disabledAlpha()): StreamTextStyle
Link copied to clipboard
fun defaultTextField(size: StyleSize = StyleSize.M, default: TextStyleWrapper = when (size) {
StyleSize.XS -> VideoTheme.typography.subtitleS.withColor(VideoTheme.colors.basePrimary)
StyleSize.S -> VideoTheme.typography.subtitleS.withColor(VideoTheme.colors.basePrimary)
StyleSize.M -> VideoTheme.typography.subtitleM.withColor(VideoTheme.colors.basePrimary)
else -> VideoTheme.typography.subtitleL.withColor(VideoTheme.colors.basePrimary)
}, pressed: TextStyleWrapper = default, disabled: TextStyleWrapper = default.disabledAlpha()): StreamTextStyle
Link copied to clipboard
fun defaultTitle(size: StyleSize = StyleSize.L, default: TextStyleWrapper = when (size) {
StyleSize.XS -> VideoTheme.typography.titleXs.wrapper()
StyleSize.S -> VideoTheme.typography.titleS.wrapper()
StyleSize.M -> VideoTheme.typography.titleM.wrapper()
else -> VideoTheme.typography.titleL.wrapper()
}, pressed: TextStyleWrapper = default, disabled: TextStyleWrapper = default.disabledAlpha()): StreamTextStyle