Companion
object Companion
Functions
Link copied to clipboard
fun defaultOtherTheme(typography: StreamTypography = StreamTypography.defaultTypography(), colors: StreamColors = when (isSystemInDarkTheme()) {
true -> StreamColors.defaultDarkColors()
else -> StreamColors.defaultColors()
}): MessageTheme
Builds the default message theme for other users' messages.
Link copied to clipboard
fun defaultOwnTheme(typography: StreamTypography = StreamTypography.defaultTypography(), colors: StreamColors = when (isSystemInDarkTheme()) {
true -> StreamColors.defaultDarkColors()
else -> StreamColors.defaultColors()
}): MessageTheme
Builds the default message theme for the current user's messages.