UNPKG

@dicebear/miniavs

Version:
32 lines (31 loc) 1.34 kB
/** * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma. * * Plugin: https://www.figma.com/community/plugin/1005765655729342787 * File: https://www.figma.com/file/Vh7N9shKJTNHNo9prUzkZe */ export interface Options { head?: ('normal' | 'wide' | 'thin')[]; body?: ('tShirt' | 'golf')[]; hair?: ('balndess' | 'slaughter' | 'ponyTail' | 'long' | 'curly' | 'stylish' | 'elvis' | 'classic02' | 'classic01')[]; mouth?: ('default' | 'missingTooth')[]; eyes?: ('normal' | 'confident' | 'happy')[]; glasses?: 'normal'[]; glassesProbability?: number; mustache?: ('pencilThinBeard' | 'pencilThin' | 'horshoe' | 'freddy')[]; mustacheProbability?: number; blushes?: 'default'[]; blushesProbability?: number; skinColor?: string[]; hairColor?: string[]; bodyColor?: string[]; } export type ColorPickCollection = Record<string, string>; export type ComponentGroup = Record<string, ComponentGroupItem>; export type ComponentGroupCollection = Record<string, ComponentGroup>; export type ComponentGroupItem = (components: ComponentPickCollection, colors: ColorPickCollection) => string; export type ComponentPickCollection = Record<string, ComponentPick>; export type ComponentPick = { name: string; value: ComponentGroupItem; } | undefined;