@ctrl/tinycolor
Version:
Fast, small color manipulation and conversion for JavaScript
23 lines (22 loc) • 882 B
TypeScript
import { names } from './css-color-names.js';
import { inputToRGB, isValidCSSUnit, stringInputToObject } from './format-input.js';
import { fromRatio, legacyRandom } from './from-ratio.js';
import { TinyColor } from './index.js';
import { random } from './random.js';
import { mostReadable, readability } from './readability.js';
import { toMsFilter } from './to-ms-filter.js';
export interface TinyColorUMD {
TinyColor: typeof TinyColor;
readability: typeof readability;
random: typeof random;
names: typeof names;
fromRatio: typeof fromRatio;
legacyRandom: typeof legacyRandom;
toMsFilter: typeof toMsFilter;
inputToRGB: typeof inputToRGB;
stringInputToObject: typeof stringInputToObject;
isValidCSSUnit: typeof isValidCSSUnit;
mostReadable: typeof mostReadable;
}
declare const tinycolorumd: TinyColorUMD;
export default tinycolorumd;