@kviewui/color-builder
Version:
kviewui自用的颜色生成工具
28 lines (27 loc) • 785 B
TypeScript
export declare const colorBuilder: {
getPresetColors: () => undefined[];
generate: (color: string, options?: {
dark?: boolean | undefined;
list?: boolean | undefined;
index?: number | undefined;
format?: "hex" | undefined;
}) => any;
getRgbStr: (color: string) => string;
getColorString: (color: {
[x: string]: () => {
(): any;
new (): any;
round: {
(): {
(): any;
new (): any;
string: {
(): any;
new (): any;
};
};
new (): any;
};
};
}, format: any) => any;
};