OudsTheme
fun OudsTheme(themeContract: OudsThemeContract, darkThemeEnabled: Boolean = isSystemInDarkTheme(), content: @Composable () -> Unit)
OudsTheme is the theme to apply to your screens in an Jetpack Compose application. Use it at the top of your application in replacement of the MaterialTheme
. Cause OUDS support multi-theme, you should pass a themeContract as theme configuration to use an OUDS supported theme.
Parameters
themeContract
Theme contract which contain the configuration of the OudsTheme: colors, typography...
darkThemeEnabled
Indicates whether the dark theme is enabled or not.
content
Theme nested content. OudsTheme will be applied to this content.