ThemingService
This service manages the current active theme and all the available theme components. The activeTheme contains a collection IviThemeComponents which together defines the look of the product. The IviThemeComponent can be used to change the current IviTheme.
Types
Properties
Link copied to clipboard
The currently active IviTheme. It contains a collection of the active IviThemeComponents. For each IviThemeCategory found in availableThemeComponents one IviThemeComponent is present in activeTheme.
Link copied to clipboard
Contains all the IviThemeComponents which can be used in applyActiveThemeComponent to alter the activeTheme.
Functions
Link copied to clipboard
abstract suspend fun applyActiveThemeComponent(themeComponent: IviThemeComponent)
Content copied to clipboard
Applies a themeComponent to the activeTheme by replacing the previous IviThemeComponent that is in the same category.
Link copied to clipboard
abstract suspend fun applyActiveThemeComponents(themeComponents: List<IviThemeComponent>)
Content copied to clipboard