GlimmerThemeKt

Added in 1.0.0-alpha01

public final class GlimmerThemeKt


Summary

Public methods

static final void
@Composable
GlimmerTheme(
    @NonNull Colors colors,
    @NonNull Typography typography,
    @Composable @NonNull Function0<Unit> content
)

Glimmer contains different theme subsystems to allow visual customization across an application.

Public methods

GlimmerTheme

@Composable
public static final void GlimmerTheme(
    @NonNull Colors colors,
    @NonNull Typography typography,
    @Composable @NonNull Function0<Unit> content
)

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
@NonNull Colors colors

Colors used by components within this hierarchy

@NonNull Typography typography

Typography used by components within this hierarchy

@Composable @NonNull Function0<Unit> content

The content that can retrieve values from this theme