-
public final class ElementThemeKt
-
-
Method Summary
Modifier and Type Method Description final static UnitElementTheme(Boolean darkTheme, Boolean applySystemBarsUpdate, Boolean lightStatusBar, Boolean dynamicColor, SemanticColors compoundLight, SemanticColors compoundDark, ColorScheme materialColorsLight, ColorScheme materialColorsDark, Typography typography, Function0<Unit> content)Sets up the theme for the application, or a part of it. -
-
Method Detail
-
ElementTheme
@Composable() final static Unit ElementTheme(Boolean darkTheme, Boolean applySystemBarsUpdate, Boolean lightStatusBar, Boolean dynamicColor, SemanticColors compoundLight, SemanticColors compoundDark, ColorScheme materialColorsLight, ColorScheme materialColorsDark, Typography typography, Function0<Unit> content)
Sets up the theme for the application, or a part of it.
- Parameters:
darkTheme- whether to use the dark theme or not.applySystemBarsUpdate- whether to update the system bars color scheme or not when the theme changes.lightStatusBar- whether to use a light status bar color scheme or not.dynamicColor- whether to enable MaterialYou or not.compoundLight- the SemanticColors to use in light theme.compoundDark- the SemanticColors to use in dark theme.materialColorsLight- the Material 3 ColorScheme to use in light theme.materialColorsDark- the Material 3 ColorScheme to use in dark theme.typography- the Material 3 Typography tokens to use.content- the content to apply the theme to.
-
-
-
-