OudsTheme

fun OudsTheme(theme: OudsThemeContract, darkThemeEnabled: Boolean = isSystemInDarkTheme(), content: @Composable () -> Unit)

Applies the OUDS theme to the composable hierarchy.

Parameters

theme

Theme to apply to your application. It must implement OudsThemeContract (e.g., OrangeTheme, SoshTheme, ...)

darkThemeEnabled

Indicates whether the dark theme is enabled or not.

content

Theme nested content. The provided theme will be applied to this content.