ColorResource

constructor(color: Int)

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

This constructor is useful when you want to use the same color in both themes.

Parameters

color

The color resource ID to use in both light and dark themes.


constructor(light: Int, dark: Int)