@thi.ng/color
Version:
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
8 lines • 968 B
TypeScript
import type { Fn2, IObjectOf } from "@thi.ng/api";
import type { ReadonlyColor } from "./api.js";
export declare const swatches: (cols: (ReadonlyColor | string)[], shapeFn: Fn2<ReadonlyColor | string, number, any[]>, attribs?: IObjectOf<any>) => [string, IObjectOf<any>, ...any[]];
export declare const swatchesH: (cols: (ReadonlyColor | string)[], w?: number, h?: number, gap?: number, attribs?: IObjectOf<any>) => [string, IObjectOf<any>, ...any[]];
export declare const dotsH: (cols: (ReadonlyColor | string)[], r?: number, gap?: number, attribs?: IObjectOf<any>) => [string, IObjectOf<any>, ...any[]];
export declare const swatchesV: (cols: (ReadonlyColor | string)[], w?: number, h?: number, gap?: number, attribs?: IObjectOf<any>) => [string, IObjectOf<any>, ...any[]];
export declare const dotsV: (cols: (ReadonlyColor | string)[], r?: number, gap?: number, attribs?: IObjectOf<any>) => [string, IObjectOf<any>, ...any[]];
//# sourceMappingURL=swatches.d.ts.map