defaultTheme

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

Builds the default theming for the audio recording attachment.

Return

The AudioRecordingAttachmentTheme instance with the default theming.

Parameters

own

If the audio recording attachment is for the current user.

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.