UNPKG

@dicebear/dylan

Version:

Avatar style for DiceBear

25 lines (24 loc) 1.16 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/design/rjF7B4FgtEB3FC8ruNuUGf/%40dicebear%2Fdylan */ export interface Options { facialHair?: 'default'[]; facialHairProbability?: number; mood?: ('happy' | 'angry' | 'neutral' | 'superHappy' | 'sad' | 'hopeful' | 'confused')[]; hair?: ('plain' | 'wavy' | 'shortCurls' | 'parting' | 'spiky' | 'roundBob' | 'longCurls' | 'buns' | 'bangs' | 'fluffy' | 'flatTop' | 'shaggy')[]; hairColor?: string[]; backgroundColor?: string[]; skinColor?: 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;