VideoTheme

fun VideoTheme(isInDarkMode: Boolean = isSystemInDarkTheme(), colors: StreamColors = StreamColors.defaultColors(), dimens: StreamDimens = StreamDimens.defaultDimens(), typography: StreamTypography = StreamTypography.defaultTypography(colors, dimens), shapes: StreamShapes = StreamShapes.defaultShapes(dimens), rippleConfiguration: StreamRippleConfiguration = StreamRippleConfiguration, reactionMapper: ReactionMapper = ReactionMapper.defaultReactionMapper(), allowUIAutomationTest: Boolean = true, styles: CompositeStyleProvider = CompositeStyleProvider(), content: @Composable () -> Unit)

Our theme that provides all the important properties for styling to the user.

Parameters

isInDarkMode

If we're currently in the dark mode or not. Affects only the default color palette that's provided. If you customize colors, make sure to add your own logic for dark/light colors.

colors

The set of colors we provide, wrapped in StreamColors.

dimens

The set of dimens we provide, wrapped in StreamDimens.

typography

The set of typography styles we provide, wrapped in StreamTypography.

shapes

The set of shapes we provide, wrapped in StreamShapes.

rippleConfiguration

Defines the appearance for ripples.

reactionMapper

Defines a mapper of the emoji code from the reaction events.

content

The content shown within the theme wrapper.