Package-level declarations

Types

Link copied to clipboard
@IviExperimental(reasons = [])
data class IviThemeCategory(val id: String, val label: StringResolver) : Parcelable

The IviThemeCategory describes which aspect of a theme a IviThemeComponent applies to. For example, a theme component may have a IviThemeCategory indicating that the component themes font attributes.

Link copied to clipboard

Interface for enum types where each enum value denotes a styling flavor of an IviThemeCategory.

Link copied to clipboard
@IviExperimental(reasons = [])
sealed class IviThemeComponent : Parcelable

Contains all the information related to theming an IviThemeCategory.

Link copied to clipboard

An overview of IviThemeCategorys provided by the platform. In order to use the platform, each IviThemeCategory needs to be registered at least once by the theming service.

Properties

Link copied to clipboard

Styling of animations.

Link copied to clipboard

Styling of colors.

Link copied to clipboard

Styling of durations.

Link copied to clipboard

Styling of fonts.

Link copied to clipboard

Styling of the icon sizes.

Link copied to clipboard

Styling of icons.

Link copied to clipboard

Styling of radii.

Link copied to clipboard

Styling of responsive horizontal spacing.

Link copied to clipboard

Styling of responsive vertical spacing.

Link copied to clipboard

Styling of sizes.

Link copied to clipboard

Styling of spaces.

Link copied to clipboard

Styling of styles.

Link copied to clipboard

Styling of text appearances.

Link copied to clipboard

Styling of text sizes.

Link copied to clipboard

Contains the overview of the default IviThemeComponents configuration. This overview creates a bridge between the discoverable theme components service. Here we create the IviThemeComponent with the corresponding identifier. And the theming service where we collect all the IviThemeComponent from the various discoverable services. In this case we need to create an initial theme that consists of the IviThemeComponents. An IviThemeComponent is considered as the default component if its IviThemeComponent.id matches the value of the corresponding entry in themeComponentsPresetIds.

Functions

Link copied to clipboard

Creates IviThemeComponents for theming the IviThemeCategory receiver instance. An IviThemeComponent is created for each styling flavor defined by the enum type SF.

Creates IviThemeComponents for theming the IviThemeCategory receiver instance. An IviThemeComponent is created for each styling flavor in stylingFlavors.