@kcuf/mere-color
Version:
Mere color utils for generating, manipulation, a11y purposes.
33 lines (32 loc) • 1.13 kB
JavaScript
export var EColorNotationDetailed = /*#__PURE__*/function (EColorNotationDetailed) {
EColorNotationDetailed["UNKNOWN"] = "_unknown";
EColorNotationDetailed["NAME"] = "name";
EColorNotationDetailed["HEX3"] = "hex3";
EColorNotationDetailed["HEX4"] = "hex4";
EColorNotationDetailed["HEX6"] = "hex6";
EColorNotationDetailed["HEX8"] = "hex8";
EColorNotationDetailed["RGB"] = "rgb";
EColorNotationDetailed["RGB_LEGACY"] = "rgb-legacy";
EColorNotationDetailed["HSL"] = "hsl";
EColorNotationDetailed["HSL_LEGACY"] = "hsl-legacy";
return EColorNotationDetailed;
}({});
export var EColorNotation = /*#__PURE__*/function (EColorNotation) {
EColorNotation["HEX"] = "hex";
EColorNotation["RGB"] = "rgb";
EColorNotation["HSL"] = "hsl";
return EColorNotation;
}({});
/**
* Hue unit - Valid CSS <angle> units.
*
* https://developer.mozilla.org/en-US/docs/Web/CSS/angle
*/
export var EHueUnit = /*#__PURE__*/function (EHueUnit) {
EHueUnit["DEGREE"] = "deg";
EHueUnit["RADIAN"] = "rad";
EHueUnit["GRADIAN"] = "grad";
EHueUnit["TURN"] = "turn";
return EHueUnit;
}({});
//# sourceMappingURL=index.js.map