UNPKG

@fluritheme/spider

Version:

A tiny, expressive spider for your website. Delicate webs that follow DOM layers, blinking eyes, and playful pointer reactions.

23 lines • 849 B
import type { SpiderOptions } from './types.js'; export declare const defaults: { readonly maxWebs: 6; readonly spiders: 1; readonly webSize: 112; readonly size: 1; readonly speed: 1; readonly fearRadius: 110; readonly color: "auto"; readonly webOpacity: 0.4; readonly zIndex: 100; readonly motion: "system"; readonly weave: true; readonly observe: true; readonly roam: true; readonly entrance: "silk"; readonly webDensity: 0.7; readonly territory: "page"; readonly objects: "[data-spider-object], [data-spider-web], article, aside, button, input, select, textarea, img, video, pre, .code-panel"; }; export type Options = Omit<Required<SpiderOptions>, 'root' | 'targets'>; export declare function resolveOptions(input: SpiderOptions): Options; //# sourceMappingURL=options.d.ts.map