Utils
stringifyColor
All colors from Concrete are Color
object.
To use it as string, you should use the stringifyColor
function.
Example
import { palette, stringifyColor } from "@habx/ui-core";
const myStringColor = stringifyColor(palette.yellowGolden[600]);
isColorDark
isColorDark
is internally used to defined if a component should use the dark or light theme variant.
You can use it for you own purpose if needed, but it shouldn't really happen.