Comparing version 1.4.6 to 1.4.7
@@ -1187,2 +1187,21 @@ 'use strict'; | ||
const colors = { | ||
red: '#FF4136', | ||
navy: '#001F3F', | ||
blue: '#0074D9', | ||
aqua: '#7FDBFF', | ||
teal: '#39CCCC', | ||
lime: '#01FF70', | ||
gray: '#AAAAAA', | ||
black: '#111111', | ||
olive: '#3D9970', | ||
white: '#FFFFFF', | ||
green: '#2ECC40', | ||
yellow: '#FFDC00', | ||
orange: '#FF851B', | ||
purple: '#B10DC9', | ||
maroon: '#85144B', | ||
silver: '#DDDDDD', | ||
fuchsia: '#F012BE', | ||
}; | ||
// https://github.com/Qix-/color-convert/blob/master/conversions.js | ||
@@ -1583,2 +1602,3 @@ const rgbToHsl = (rgb) => { | ||
exports.clone = clone; | ||
exports.colors = colors; | ||
exports.createJSONParse = createJSONParse; | ||
@@ -1585,0 +1605,0 @@ exports.createJSONStringify = createJSONStringify; |
@@ -1185,2 +1185,21 @@ export { Queue } from 'small-queue'; | ||
const colors = { | ||
red: '#FF4136', | ||
navy: '#001F3F', | ||
blue: '#0074D9', | ||
aqua: '#7FDBFF', | ||
teal: '#39CCCC', | ||
lime: '#01FF70', | ||
gray: '#AAAAAA', | ||
black: '#111111', | ||
olive: '#3D9970', | ||
white: '#FFFFFF', | ||
green: '#2ECC40', | ||
yellow: '#FFDC00', | ||
orange: '#FF851B', | ||
purple: '#B10DC9', | ||
maroon: '#85144B', | ||
silver: '#DDDDDD', | ||
fuchsia: '#F012BE', | ||
}; | ||
// https://github.com/Qix-/color-convert/blob/master/conversions.js | ||
@@ -1581,2 +1600,3 @@ const rgbToHsl = (rgb) => { | ||
clone, | ||
colors, | ||
createJSONParse, | ||
@@ -1583,0 +1603,0 @@ createJSONStringify, |
@@ -1248,2 +1248,21 @@ (function (global, factory) { | ||
const colors = { | ||
red: '#FF4136', | ||
navy: '#001F3F', | ||
blue: '#0074D9', | ||
aqua: '#7FDBFF', | ||
teal: '#39CCCC', | ||
lime: '#01FF70', | ||
gray: '#AAAAAA', | ||
black: '#111111', | ||
olive: '#3D9970', | ||
white: '#FFFFFF', | ||
green: '#2ECC40', | ||
yellow: '#FFDC00', | ||
orange: '#FF851B', | ||
purple: '#B10DC9', | ||
maroon: '#85144B', | ||
silver: '#DDDDDD', | ||
fuchsia: '#F012BE', | ||
}; | ||
// https://github.com/Qix-/color-convert/blob/master/conversions.js | ||
@@ -1644,2 +1663,3 @@ const rgbToHsl = (rgb) => { | ||
exports.clone = clone; | ||
exports.colors = colors; | ||
exports.createJSONParse = createJSONParse; | ||
@@ -1646,0 +1666,0 @@ exports.createJSONStringify = createJSONStringify; |
@@ -0,1 +1,20 @@ | ||
export declare const colors: { | ||
red: string; | ||
navy: string; | ||
blue: string; | ||
aqua: string; | ||
teal: string; | ||
lime: string; | ||
gray: string; | ||
black: string; | ||
olive: string; | ||
white: string; | ||
green: string; | ||
yellow: string; | ||
orange: string; | ||
purple: string; | ||
maroon: string; | ||
silver: string; | ||
fuchsia: string; | ||
}; | ||
export declare const rgbToHsl: (rgb: Array<number>) => number[]; | ||
@@ -2,0 +21,0 @@ export declare const rgbToHex: (rgb: Array<number>) => string; |
@@ -61,2 +61,3 @@ export { Queue } from 'small-queue'; | ||
ansi256ToRgb, | ||
colors, | ||
randomColor, | ||
@@ -63,0 +64,0 @@ } from './color'; |
{ | ||
"name": "aidly", | ||
"version": "1.4.6", | ||
"version": "1.4.7", | ||
"description": "Tool library.", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -55,2 +55,3 @@ <div align="center"> | ||
`loopSlice` | Slice the specified number of loops, the default slicing time is `17ms`. | ||
`colors` | Some default color values. | ||
`uuid` | Generate a `uuid`. | ||
@@ -57,0 +58,0 @@ `noop` | Empty arrow function. |
@@ -55,2 +55,3 @@ <div align="center"> | ||
`loopSlice` | 切片指定次数的循环,默认切片时间为 `17ms`。 | ||
`colors` | 一些默认的颜色值。 | ||
`uuid` | 生成一个 `uuid`。 | ||
@@ -57,0 +58,0 @@ `noop` | 一个空箭头函数。 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
232362
7252
123