GlimmerTheme


public final class GlimmerTheme


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

Components use properties provided here when retrieving default values.

Summary

Nested types

public static class GlimmerTheme.Companion

Public constructors

GlimmerTheme(
    @NonNull Colors colors,
    @NonNull Typography typography,
    @NonNull ComponentSpacingValues componentSpacingValues
)

Public methods

final @NonNull Colors

Colors used by Jetpack Compose Glimmer components

final @NonNull ComponentSpacingValues

ComponentSpacingValues used by Jetpack Compose Glimmer components

final @NonNull DepthEffectLevels

DepthEffectLevels used by Jetpack Compose Glimmer components

final @NonNull IconSizes

IconSizes used by icons

final @NonNull Shapes

Shapes used by Jetpack Compose Glimmer components

final @NonNull Typography

Typography used by Jetpack Compose Glimmer components

Public constructors

GlimmerTheme

Added in 1.0.0-alpha09
public GlimmerTheme(
    @NonNull Colors colors,
    @NonNull Typography typography,
    @NonNull ComponentSpacingValues componentSpacingValues
)

Public methods

getColors

Added in 1.0.0-alpha09
public final @NonNull Colors getColors()

Colors used by Jetpack Compose Glimmer components

getComponentSpacingValues

Added in 1.0.0-alpha09
public final @NonNull ComponentSpacingValues getComponentSpacingValues()

ComponentSpacingValues used by Jetpack Compose Glimmer components

getDepthEffectLevels

Added in 1.0.0-alpha09
public final @NonNull DepthEffectLevels getDepthEffectLevels()

DepthEffectLevels used by Jetpack Compose Glimmer components

getIconSizes

Added in 1.0.0-alpha09
public final @NonNull IconSizes getIconSizes()

IconSizes used by icons

getShapes

Added in 1.0.0-alpha09
public final @NonNull Shapes getShapes()

Shapes used by Jetpack Compose Glimmer components

getTypography

Added in 1.0.0-alpha09
public final @NonNull Typography getTypography()

Typography used by Jetpack Compose Glimmer components