1 Star 0 Fork 8

codingrun / newcar

forked from dromara / newcar 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
shims.d.ts 464 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hydrogen 提交于 2024-02-03 16:13 . refactor: color
declare module "colorparsley" {
export type ParseOutput = [
r: number,
g: number,
b: number,
alpha: number,
isValid: boolean,
colorspace: string,
];
export function colorParsley(input: string): ParseOutput;
export type ColorRgba = [r: number, g: number, b: number, alpha?: number];
export function colorToHex(rgba?: ColorRgba, allow3?: boolean): string;
export function colorToRGB(rgba?: ColorRgba, round?: boolean): string;
}
1
https://gitee.com/vibrantbyte/newcar.git
git@gitee.com:vibrantbyte/newcar.git
vibrantbyte
newcar
newcar
main

搜索帮助