@@ -73,6 +73,31 @@ export function fontColorContrast(hexColorOrRedOrArray, greenOrThreshold = 0, bl
7373// =========================================================================
7474// ===========================================================================
7575
76+
77+ /*! *****************************************************************************
78+ MIT License
79+
80+ Copyright (c) 2021 Eduardo Russo
81+
82+ Permission is hereby granted, free of charge, to any person obtaining a copy
83+ of this software and associated documentation files (the "Software"), to deal
84+ in the Software without restriction, including without limitation the rights
85+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
86+ copies of the Software, and to permit persons to whom the Software is
87+ furnished to do so, subject to the following conditions:
88+
89+ The above copyright notice and this permission notice shall be included in all
90+ copies or substantial portions of the Software.
91+
92+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
93+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
94+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
95+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
96+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
97+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
98+ SOFTWARE.
99+ ***************************************************************************** */
100+
76101const NumberType = {
77102 COLOR : 0xff ,
78103 RGB : 0xffffff ,
0 commit comments