GlimmerTheme
Functions summary
Unit |
@ComposableJetpack Compose Glimmer contains different theme subsystems to allow visual customization across an application. |
Functions
GlimmerTheme
@Composable
fun GlimmerTheme(
colors: Colors = GlimmerTheme.colors,
typography: Typography = GlimmerTheme.typography,
componentSpacingValues: ComponentSpacingValues = GlimmerTheme.componentSpacingValues,
content: @Composable () -> Unit
): Unit
Jetpack Compose Glimmer contains different theme subsystems to allow visual customization across an application.
Components use properties provided here when retrieving default values.
Any values that are not set will inherit the current value from the theme, falling back to the defaults if there is no parent GlimmerTheme. This allows using a GlimmerTheme at the top of your application, and then separate GlimmerTheme(s) for different screens / parts of your UI, overriding only the parts of the theme definition that need to change.
| Parameters | |
|---|---|
colors: Colors = GlimmerTheme.colors |
|
typography: Typography = GlimmerTheme.typography |
|
componentSpacingValues: ComponentSpacingValues = GlimmerTheme.componentSpacingValues |
|
content: @Composable () -> Unit |
The content that can retrieve values from this theme |