UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

20 lines (19 loc) 667 B
export declare class NeonJazziconUtils { private static readonly shapeCount; private static readonly svgns; private static readonly wobble; /** * Returns base-64 encoded data URI * @param palette the color palettes to use when generating the Jazzicon * @param name used for random seed * @param size size in pixels to generate */ static genSvg(palette: Array<string>, name: string, size: number): string; private static generateIdenticon; private static genShape; private static genColor; private static hueShift; private static colorRotate; private static hexToHSL; private static hslToHex; }