ThemeResourceColor
data class ThemeResourceColor @JvmOverloads constructor(val lightThemeResId: Int, val darkThemeResId: Int = lightThemeResId) : SeslThemeResourceColor.ResourceColor(source)
Data class encapsulating alternative color resources for light and dark themes.
This class holds resource IDs for colors to be used in light and dark themes. It extends ResourceColor and provides a concrete implementation for retrieving the appropriate color resource ID based on the current theme (light or dark).
Properties
Link copied to clipboard
The resource ID of the color to be used in a dark theme. Defaults to lightThemeResId if not specified.
Link copied to clipboard
The resource ID of the color to be used in a light theme.