CustomColorSet
class CustomColorSet(val fallbackColor: AtomikColor, colors: Map<String, AtomikColor>) : ColorSet
Content copied to clipboard
A custom set of colors to be used in the project
Is an implementation of ColorSet that contains a map of AtomikColor. Allows for adding colors with custom ids. For now this acts as a wrapper to a collection of colors
Constructors
Link copied to clipboard
fun CustomColorSet(fallbackColor: AtomikColor, colors: Map<String, AtomikColor>)
Content copied to clipboard
Functions
Link copied to clipboard
Gets the color based on a type. If none is found then the fallback is returned