OudsTheme
fun OudsTheme(theme: OudsThemeContract, darkThemeEnabled: Boolean = isSystemInDarkTheme(), content: @Composable () -> Unit)
OudsTheme is the theme to apply to your screens in a Jetpack Compose application. Use it at the top of your application in replacement of the MaterialTheme. Cause OUDS supports multi-theme, you should pass the OUDS supported theme used by your application.
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.