初始化环境文件

This commit is contained in:
CN-JS-HuiBai
2026-04-04 12:49:09 +08:00
parent 07742d2688
commit c607af6fac
5971 changed files with 515160 additions and 18 deletions

23
node_modules/color-string/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,23 @@
export type Model = 'rgb' | 'hsl' | 'hwb';
export type ColorString = {
get: {
(color: string): {model: Model; value: number[]} | null;
rgb: (color: string) => number[] | null;
hsl: (color: string) => number[] | null;
hwb: (color: string) => number[] | null;
};
to: {
hex: (r: number, g: number, b: number, a?: number) => string | null;
rgb: {
(r: number, g: number, b: number, a?: number): string | null;
percent: (r: number, g: number, b: number, a?: number) => string | null;
};
keyword: (r: number, g: number, b: number, a?: number) => string | null;
hsl: (h: number, s: number, l: number, a?: number) => string | null;
hwb: (h: number, w: number, b: number, a?: number) => string | null;
};
};
declare const colorString: ColorString;
export default colorString;