UNPKG

@dicebear/adventurer

Version:

Avatar style for DiceBear

14 lines (13 loc) 5.72 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/XXfL2r5Wylk623KpxDt7gO */ export const glasses = { variant01: (components, colors) => `<path d="M569 416.3c10.7-.3 21.4 0 32-.2 14-.7 28-.4 42-.6 3.9.2 9-.1 12.2 2.4 2.4 1.6 2.2 5.5 2.4 8-.1 4.4-.3 9.5-2.4 13.4-5 2-11.4 1.2-16.8 1.9.4 12.3 1.7 24.6 1.3 36.8-.7 14-3.7 28-10.3 40.4-8.1 13-20 24.3-33.6 31.5a77 77 0 0 1-33.3 7.7c-6.3.2-12.1.5-18.3-.8-9.4-2-18.8-4.4-27-10A81.6 81.6 0 0 1 492 516a193.1 193.1 0 0 1-13.3-43.9c-.5-2.3-2.4-3.5-4.3-4.4-6.7-3-15-.6-18.8 5.6-.8 2.4-1 5-1.2 7.6-.6 7.6-2.2 15.3-3.9 22.8-3.1 13.6-9 26.3-16.8 37.8a50.8 50.8 0 0 1-16.2 14.8 75.6 75.6 0 0 1-34.4 10.3c-7.2-.2-14.2-.4-21.1-2.5-5.5-1.3-10.5-4.8-15.2-8a57.7 57.7 0 0 1-15.3-16.7c-5.3-8.3-9.3-17.3-12.2-26.7a97.5 97.5 0 0 1-5.2-28.7c-4.6.7-9.4 2.2-14 2-4.4-.9-5.3-7.6-5.5-11.1.1-2.4-.1-6.8 2.7-7.7 21.6-9.8 44.4-17 67.5-22.4 17-3.7 34.8-8.3 52.3-6.7 11.2 1 22.8 4 31.7 11 3.2 2.5 5.5 7 9.4 7.7 7 1.8 14.5-1.3 20.9-4 3.6-10 10-17.3 19-22.8a89.3 89.3 0 0 1 20.8-8.3c16.7-4 33.1-4.6 50.2-5.5Z" fill="#000"/><path d="M307.1 478.2c1.2-1.2 3.4 0 2.4 1.6-1.2 1.2-3.4 0-2.4-1.6Z" fill="#000"/><ellipse cx="605" cy="457.5" rx="14" ry="10.5" fill="#fff"/><ellipse cx="411" cy="476.1" rx="11" ry="8.1" fill="#fff"/>`, variant02: (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M608 415.8a850 850 0 0 1 32-.3h1.7c3 0 6.2 0 9.3.5 2.6.6 5.6 2 6 4.9 1 5 .5 12-1 17-.5 1.7-1.8 2-3.4 2.3-3.5.4-7 .6-10.4.8l-3.8.2c.1 4.3.4 8.6.7 13 .7 11.7 1.4 23.7-.5 34.8-.9 7.5-3 14.9-5.7 21.9-3.1 8.5-9.1 16.1-15.4 22.6a75.3 75.3 0 0 1-36.2 21.8c-10.9 2.4-22.2 3-33.3 2.2a86.8 86.8 0 0 1-27-8.5c-10.5-6-18.5-15-24.8-25.2a134 134 0 0 1-15.5-41.6c-.5-2.2-.8-4.5-1.1-6.7-.5-2.9-.9-5.7-1.7-8.4-.4-1.8-2.6-3-4.1-4-6.7-3.3-16.4-.9-19 6.7-.5 2.8-.6 5.7-.6 8.6A132.1 132.1 0 0 1 443 525a70.2 70.2 0 0 1-22.5 29.6 72.9 72.9 0 0 1-64 7.8 62.9 62.9 0 0 1-18.8-14.2A107.3 107.3 0 0 1 317 505c-1.9-6.8-3-13.8-3-20.9l-4.9.9c-2.4.5-4.7 1-7.2 1.1-2.2.3-4.2-.6-5.3-2.6-2-3.8-2.5-8.4-1.8-12.6l.1-.5c.3-1.1.5-2.3 1.6-2.8 27.5-12.6 56-20.6 85.5-26.5 11.3-2.3 22.5-3.8 34-3 10 0 20 2.3 28.9 7a41.8 41.8 0 0 0 35.1 0c3-1.6 5-3.8 7-6 1.1-1.5 2.4-2.9 3.9-4.2 9.8-9.1 23-13.3 36.1-14.8 13.1-2.4 26.3-3 39.5-3.7h2.5c5.6-.2 11.1-.2 16.7-.2 7.4 0 14.9 0 22.3-.4Zm-23 6.3c8.3-.4 16.3-.5 24.1 2.9l2.2.9c3.1 1.3 6.8 2.8 7.9 6a98.4 98.4 0 0 1 8.3 40.1 96 96 0 0 1-5.2 37.2 60.6 60.6 0 0 1-18.2 23.9 76 76 0 0 1-17.8 10.2 66.4 66.4 0 0 1-29.3 6.2 95 95 0 0 1-17.2-3.2l-.9-.2c-6-1.5-10.7-4.6-15.7-7.9l-.8-.5a70 70 0 0 1-17.1-17c-2.8-4-4.6-8.7-6.3-13.3l-1.2-3.1c-4.7-12-6-24.6-5.9-37.3 0-7.8 1.2-17 5.5-23.6 5.1-6.4 12-12.2 19.8-15 9.3-2.8 19.2-4.3 28.8-5a320.7 320.7 0 0 1 39-1.3Zm-172.4 22H410a93.1 93.1 0 0 0-30 3.2l-6.8 1.5a164.8 164.8 0 0 0-30.5 8.8c-5.8 2.1-12 4.5-15 10.2-4.8 9.8-3.7 19.6-2.5 29.9l.4 3.3a92 92 0 0 0 13.1 33.3c5 8 11 15 19.4 19.6 12.8 7 28 6.1 41.4 1.6 11.4-4.5 21.8-9.9 28.6-20.4 8.8-14 14-30.7 15.5-47.2.9-9.3-.1-18.8-2.7-27.8-.5-1.4-1-3-2-4.1a35.6 35.6 0 0 0-19.1-11.4c-2.3-.4-4.8-.4-7.2-.5Z" fill="#000"/>`, variant03: (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M531.3 506.7a27.9 27.9 0 1 1-42.8 24.6c-8.6-10.1-25.5-13.9-36.5-5.2-3.2 3-6.6 7.3-6.7 11.9a27.5 27.5 0 0 1-52.9 5.6 27.6 27.6 0 0 1 10.5-32.7 28 28 0 0 1 25.7-2.5 28.6 28.6 0 0 1 16 17.4 27.2 27.2 0 0 1 22.4-10c8.2-.1 15.4 3.2 22 8a28 28 0 0 1 42.3-17Zm-22.6 2.4a22.4 22.4 0 0 1 29.9 23c-.6 9.9-8.4 18.2-18.1 20.2a22.6 22.6 0 0 1-25.9-16.3c-3-11.1 3.2-23 14-26.9ZM438 525a22 22 0 0 0-23-12.8 22 22 0 0 0-12.6 37.3c6.1 6 15.8 8.1 23.7 4.9 6.8-2.7 12.2-9 13.4-16.3.5-4.6.7-9-1.5-13.1Z" fill="#000"/>`, variant04: (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M577 416.1a79.9 79.9 0 0 1 39 141 79.6 79.6 0 0 1-92.5 6.4 80 80 0 0 1-38.2-69.3c-5-5.3-10.7-9.6-18.3-9.7-7.8.1-14.3 5.7-17.2 12.6.7 6.7 1.5 13.3.6 20a69.8 69.8 0 0 1-135.8 15.3 69.7 69.7 0 0 1 21-75.7 71 71 0 0 1 46.4-16.8 69.8 69.8 0 0 1 65 47.4c4.9-5.7 11.3-10 19-10 7.4-.3 14.2 2.6 19.7 7.3 1.7-8.7 3.8-17 8-25a80 80 0 0 1 83.3-43.5Zm-25.5 7.8a72.4 72.4 0 0 1 85.9 80 72.7 72.7 0 1 1-85.9-80Zm-147.4 28a62.6 62.6 0 1 0-37.9 118.9c15.5 3.4 32.1 1.3 45.9-6.7a63.3 63.3 0 0 0 30-41.9 62.7 62.7 0 0 0-38-70.4Z" fill="#000"/>`, variant05: (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M589 446c12.8.8 25.7 1.9 37.4 7.6 1.1.5 2.2 1.2 3.3 1.9 1.4.9 2.8 1.8 4.3 2.3 2.3.4 4.7.4 7 .5 2.7.1 5.4.2 8 .7 2.1.8 2.3 2.8 2.4 4.8v1c0 2.2 0 4.2-2.4 5.4-2.2.2-4.4.2-6.6.2h-3.2a92.2 92.2 0 0 1-11.5 52.3 82.3 82.3 0 0 1-43.9 37.2 78.7 78.7 0 0 1-77.4-14.3 88.7 88.7 0 0 1-28.7-44.5c-1-3-1.5-6-2-9-.6-3.2-1.2-6.4-2.3-9.5-2-5.5-10.5-8.8-14.5-3.7-3.3 3.7-3.2 8-3.2 12.6v3.5a77.3 77.3 0 0 1-41.3 65.4 65 65 0 0 1-46.2 5.3 62 62 0 0 1-30.7-19.2 70.8 70.8 0 0 1-16.8-45.2l-1.5-.2c-1.4-.2-2.7-.3-3.4-2v-.4c-.3-2.1-.9-5.5 1.4-6.5 1-.5 2-1 3-1.3 2.2-1 4.4-1.8 6.2-3.5a88.9 88.9 0 0 1 37.6-17.3 152 152 0 0 1 69-1c5.8 1.5 12 1.7 17.7-.4 7.1-2.3 14.9-3.5 22.3-2.5 5.8.6 11.9.4 17.4-1.9 12.1-4.6 24-9.1 36.6-12.3 20.3-5.1 41-7.2 62-6Zm-25 13c17.6-1 36-.8 53.3 3.7a19 19 0 0 1 14.2 15.5c1.3 7.9.3 15.5-1.3 23.3a80.6 80.6 0 0 1-24.7 39 73 73 0 0 1-81.6 9.6 80 80 0 0 1-33.2-32.9 60.6 60.6 0 0 1-6.4-35.5 98 98 0 0 1 20.2-10.3A214.9 214.9 0 0 1 564 459Zm-134.8 19.8c-11.4-2.2-23-2.7-34.7-2-16 1.2-31.3 3.7-46.4 9.4-5.2 2-10.6 4.5-15 8-4.1 2.8-5.5 9.1-5.7 13.8.3 8.9 3.6 17.9 8 25.5a56.4 56.4 0 0 0 66.7 25.6 68 68 0 0 0 46.6-62.1 47 47 0 0 0-1.4-10c-.3-1.6-1.8-2.5-3.1-3.3l-.6-.3a57.8 57.8 0 0 0-14.4-4.6Z" fill="#000"/>`, };