defaultTheme

fun defaultTheme(isInDarkMode: Boolean = isSystemInDarkTheme(), typography: StreamTypography = StreamTypography.defaultTypography(), colors: StreamColors = when (isInDarkMode) { true -> StreamColors.defaultDarkColors() else -> StreamColors.defaultColors() }): AudioRecordingAttachmentPreviewTheme

Builds the default theming for the audio recording attachment.

Return

The AudioRecordingAttachmentPreviewTheme instance with the default theming.

Parameters

isInDarkMode

If the app is in dark mode.

typography

The typography to use for the audio recording attachment.

colors

The colors to use for the audio recording attachment.