This document outlines file helpers available.
Import the helper from the library:
import { ColorHelper } from "@supernovaio/export-helpers";
And use any static method available on the helper object ColorHelper
.
Converts a color token value to a formatted color or variable name if token is a reference with format of your choosing
Converts a color token value to a formatted color with format of your choosing
Converts a color token value to a RGB color
Converts a color token value to a HEX color
Converts a color token value to a HSL color
Converts a color token value to a UIColor