OpenThemeResourceColor
data class OpenThemeResourceColor(val defaultThemeResource: SeslThemeResourceColor.ThemeResourceColor, val openThemeResource: SeslThemeResourceColor.ThemeResourceColor) : SeslThemeResourceColor.ResourceColor(source)
Represents a color that has different definitions for default and custom themes (on a One UI device).
This class allows specifying different color resources for the default theme and for any other "open" (custom) theme. The appropriate color will be chosen at runtime based on the currently active theme.
Constructors
Link copied to clipboard
constructor(defaultThemeResource: SeslThemeResourceColor.ThemeResourceColor, openThemeResource: SeslThemeResourceColor.ThemeResourceColor)
Properties
Link copied to clipboard
The ThemeResourceColor to be used when the default theme is active.
Link copied to clipboard
The ThemeResourceColor to be used when a custom theme is active. This applies to One UI devices only.