@dicebear/miniavs
Version:
Avatar style for DiceBear
13 lines (12 loc) • 1.58 kB
JavaScript
/**
* 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
*/
import { escape } from '@dicebear/core';
export const eyes = {
normal: (components, colors) => { var _a, _b; return `<g fill="${escape.xml(`${colors.hair}`)}"><rect x="30" y="36" width="3" height="4" rx="1.5"/><rect x="40" y="36" width="3" height="4" rx="1.5"/></g>${(_b = (_a = components.blushes) === null || _a === void 0 ? void 0 : _a.value(components, colors)) !== null && _b !== void 0 ? _b : ''}`; },
confident: (components, colors) => { var _a, _b; return `${(_b = (_a = components.blushes) === null || _a === void 0 ? void 0 : _a.value(components, colors)) !== null && _b !== void 0 ? _b : ''}<path d="M43 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23ZM33 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23Z" fill="${escape.xml(`${colors.hair}`)}"/><path stroke="${escape.xml(`${colors.hair}`)}" stroke-linecap="round" d="M29.5 36.5h4M39.5 36.5h4"/>`; },
happy: (components, colors) => { var _a, _b; return `${(_b = (_a = components.blushes) === null || _a === void 0 ? void 0 : _a.value(components, colors)) !== null && _b !== void 0 ? _b : ''}<path d="M30 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5ZM40 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5Z" fill="#1B0B47"/>`; },
};