UNPKG

@dicebear/dylan

Version:

Avatar style for DiceBear

108 lines (107 loc) 2.94 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 const schema = { $schema: 'http://json-schema.org/draft-07/schema#', properties: { backgroundColor: { type: 'array', items: { type: 'string', pattern: '^(transparent|[a-fA-F0-9]{6})$', }, default: ['ffa6e6', '619eff', '29e051'], }, facialHair: { type: 'array', items: { type: 'string', enum: ['default'], }, default: ['default'], }, facialHairProbability: { type: 'integer', minimum: 0, maximum: 100, default: 20, }, hair: { type: 'array', items: { type: 'string', enum: [ 'plain', 'wavy', 'shortCurls', 'parting', 'spiky', 'roundBob', 'longCurls', 'buns', 'bangs', 'fluffy', 'flatTop', 'shaggy', ], }, default: [ 'plain', 'wavy', 'shortCurls', 'parting', 'spiky', 'roundBob', 'longCurls', 'buns', 'bangs', 'fluffy', 'flatTop', 'shaggy', ], }, hairColor: { type: 'array', items: { type: 'string', pattern: '^(transparent|[a-fA-F0-9]{6})$', }, default: ['000000', 'ff543d', 'fff500', '1d5dff', 'ffffff'], }, mood: { type: 'array', items: { type: 'string', enum: [ 'happy', 'angry', 'neutral', 'superHappy', 'sad', 'hopeful', 'confused', ], }, default: [ 'happy', 'angry', 'neutral', 'superHappy', 'sad', 'hopeful', 'confused', ], }, skinColor: { type: 'array', items: { type: 'string', pattern: '^(transparent|[a-fA-F0-9]{6})$', }, default: ['ffd6c0', 'c26450'], }, }, };