ColorResource

data class ColorResource(val light: Int, val dark: Int)

Represents a color resource that can have different values for light and dark themes.

Constructors

Link copied to clipboard
constructor(color: Int)

Creates a new ColorResource instance with the same color resource ID for both light and dark themes.

constructor(light: Int, dark: Int)

Properties

Link copied to clipboard
val dark: Int

The color resource ID to use in dark theme.

Link copied to clipboard
val light: Int

The color resource ID to use in light theme.