UNPKG

@kcuf/mere-color

Version:

Mere color utils for generating, manipulation, a11y purposes.

37 lines (36 loc) 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EHueUnit = exports.EColorNotationDetailed = exports.EColorNotation = void 0; var EColorNotationDetailed = exports.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; }({}); var EColorNotation = exports.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 */ var EHueUnit = exports.EHueUnit = /*#__PURE__*/function (EHueUnit) { EHueUnit["DEGREE"] = "deg"; EHueUnit["RADIAN"] = "rad"; EHueUnit["GRADIAN"] = "grad"; EHueUnit["TURN"] = "turn"; return EHueUnit; }({});