@dicebear/pixel-art 4.10.3 → 4.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +436 -168
- package/dist/index.js +436 -168
- package/dist/index.umd.js +2 -2
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { utils } from '@dicebear/avatars';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var schema$1 = {
|
|
4
4
|
"title": "Options",
|
|
5
5
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
6
6
|
"properties": {
|
|
@@ -222,155 +222,403 @@ const schema$1 = {
|
|
|
222
222
|
"additionalProperties": false
|
|
223
223
|
};
|
|
224
224
|
|
|
225
|
-
|
|
226
|
-
'variant04': (components, colors)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
'
|
|
225
|
+
var beard = {
|
|
226
|
+
'variant04': function variant04(components, colors) {
|
|
227
|
+
return "\n<path opacity=\".9\" d=\"M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
228
|
+
},
|
|
229
|
+
'variant03': function variant03(components, colors) {
|
|
230
|
+
return "\n<path opacity=\".9\" d=\"M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
231
|
+
},
|
|
232
|
+
'variant02': function variant02(components, colors) {
|
|
233
|
+
return "\n<path opacity=\".9\" d=\"M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
234
|
+
},
|
|
235
|
+
'variant01': function variant01(components, colors) {
|
|
236
|
+
return "\n<path opacity=\".9\" d=\"M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1l-.059 1H7v-1H6v-1H5V8H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
237
|
+
}
|
|
230
238
|
};
|
|
231
239
|
|
|
232
|
-
|
|
233
|
-
'variant13': (components, colors)
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
'
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
'
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
'
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
'
|
|
240
|
+
var eyes = {
|
|
241
|
+
'variant13': function variant13(components, colors) {
|
|
242
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
243
|
+
},
|
|
244
|
+
'variant12': function variant12(components, colors) {
|
|
245
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n";
|
|
246
|
+
},
|
|
247
|
+
'variant11': function variant11(components, colors) {
|
|
248
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
249
|
+
},
|
|
250
|
+
'variant10': function variant10(components, colors) {
|
|
251
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
252
|
+
},
|
|
253
|
+
'variant09': function variant09(components, colors) {
|
|
254
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
255
|
+
},
|
|
256
|
+
'variant08': function variant08(components, colors) {
|
|
257
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
258
|
+
},
|
|
259
|
+
'variant07': function variant07(components, colors) {
|
|
260
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n";
|
|
261
|
+
},
|
|
262
|
+
'variant06': function variant06(components, colors) {
|
|
263
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
264
|
+
},
|
|
265
|
+
'variant05': function variant05(components, colors) {
|
|
266
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
267
|
+
},
|
|
268
|
+
'variant04': function variant04(components, colors) {
|
|
269
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
270
|
+
},
|
|
271
|
+
'variant03': function variant03(components, colors) {
|
|
272
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n";
|
|
273
|
+
},
|
|
274
|
+
'variant02': function variant02(components, colors) {
|
|
275
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n";
|
|
276
|
+
},
|
|
277
|
+
'variant01': function variant01(components, colors) {
|
|
278
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n";
|
|
279
|
+
}
|
|
246
280
|
};
|
|
247
281
|
|
|
248
|
-
|
|
249
|
-
'variant13': (components, colors)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
'
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
'
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
'
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
'
|
|
282
|
+
var eyebrows = {
|
|
283
|
+
'variant13': function variant13(components, colors) {
|
|
284
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
285
|
+
},
|
|
286
|
+
'variant12': function variant12(components, colors) {
|
|
287
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
288
|
+
},
|
|
289
|
+
'variant11': function variant11(components, colors) {
|
|
290
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
291
|
+
},
|
|
292
|
+
'variant10': function variant10(components, colors) {
|
|
293
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
294
|
+
},
|
|
295
|
+
'variant09': function variant09(components, colors) {
|
|
296
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
297
|
+
},
|
|
298
|
+
'variant08': function variant08(components, colors) {
|
|
299
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
300
|
+
},
|
|
301
|
+
'variant07': function variant07(components, colors) {
|
|
302
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
303
|
+
},
|
|
304
|
+
'variant06': function variant06(components, colors) {
|
|
305
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
306
|
+
},
|
|
307
|
+
'variant05': function variant05(components, colors) {
|
|
308
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
309
|
+
},
|
|
310
|
+
'variant04': function variant04(components, colors) {
|
|
311
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
312
|
+
},
|
|
313
|
+
'variant03': function variant03(components, colors) {
|
|
314
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
315
|
+
},
|
|
316
|
+
'variant02': function variant02(components, colors) {
|
|
317
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
318
|
+
},
|
|
319
|
+
'variant01': function variant01(components, colors) {
|
|
320
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
321
|
+
}
|
|
262
322
|
};
|
|
263
323
|
|
|
264
|
-
|
|
265
|
-
'surprised03': (components, colors)
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
'
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
'
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
'
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
'
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
'
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
'
|
|
284
|
-
|
|
324
|
+
var mouth$1 = {
|
|
325
|
+
'surprised03': function surprised03(components, colors) {
|
|
326
|
+
return "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
327
|
+
},
|
|
328
|
+
'surprised02': function surprised02(components, colors) {
|
|
329
|
+
return "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
330
|
+
},
|
|
331
|
+
'happy09': function happy09(components, colors) {
|
|
332
|
+
return "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
333
|
+
},
|
|
334
|
+
'happy08': function happy08(components, colors) {
|
|
335
|
+
return "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
336
|
+
},
|
|
337
|
+
'happy07': function happy07(components, colors) {
|
|
338
|
+
return "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
339
|
+
},
|
|
340
|
+
'happy06': function happy06(components, colors) {
|
|
341
|
+
return "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
342
|
+
},
|
|
343
|
+
'happy05': function happy05(components, colors) {
|
|
344
|
+
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
345
|
+
},
|
|
346
|
+
'happy04': function happy04(components, colors) {
|
|
347
|
+
return "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
348
|
+
},
|
|
349
|
+
'happy03': function happy03(components, colors) {
|
|
350
|
+
return "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
351
|
+
},
|
|
352
|
+
'happy02': function happy02(components, colors) {
|
|
353
|
+
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n");
|
|
354
|
+
},
|
|
355
|
+
'happy01': function happy01(components, colors) {
|
|
356
|
+
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
357
|
+
},
|
|
358
|
+
'sad08': function sad08(components, colors) {
|
|
359
|
+
return "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
360
|
+
},
|
|
361
|
+
'sad07': function sad07(components, colors) {
|
|
362
|
+
return "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
363
|
+
},
|
|
364
|
+
'sad06': function sad06(components, colors) {
|
|
365
|
+
return "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
366
|
+
},
|
|
367
|
+
'sad05': function sad05(components, colors) {
|
|
368
|
+
return "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
369
|
+
},
|
|
370
|
+
'sad04': function sad04(components, colors) {
|
|
371
|
+
return "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
372
|
+
},
|
|
373
|
+
'sad03': function sad03(components, colors) {
|
|
374
|
+
return "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
375
|
+
},
|
|
376
|
+
'sad02': function sad02(components, colors) {
|
|
377
|
+
return "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
378
|
+
},
|
|
379
|
+
'sad01': function sad01(components, colors) {
|
|
380
|
+
return "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
381
|
+
},
|
|
382
|
+
'surprised01': function surprised01(components, colors) {
|
|
383
|
+
return "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n";
|
|
384
|
+
}
|
|
285
385
|
};
|
|
286
386
|
|
|
287
|
-
|
|
288
|
-
'short11': (components, colors)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
'
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
'
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
'
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
'
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
'
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
'
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
'
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
'
|
|
313
|
-
|
|
387
|
+
var hair$1 = {
|
|
388
|
+
'short11': function short11(components, colors) {
|
|
389
|
+
return "\n<path d=\"M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
390
|
+
},
|
|
391
|
+
'short10': function short10(components, colors) {
|
|
392
|
+
return "\n<path d=\"M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
393
|
+
},
|
|
394
|
+
'short09': function short09(components, colors) {
|
|
395
|
+
return "\n<path d=\"M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
396
|
+
},
|
|
397
|
+
'short08': function short08(components, colors) {
|
|
398
|
+
return "\n<path d=\"M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
399
|
+
},
|
|
400
|
+
'short07': function short07(components, colors) {
|
|
401
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
402
|
+
},
|
|
403
|
+
'short06': function short06(components, colors) {
|
|
404
|
+
return "\n<path d=\"M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
405
|
+
},
|
|
406
|
+
'short05': function short05(components, colors) {
|
|
407
|
+
return "\n<path d=\"M11 5V4h1V3H8v1h1v1h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
408
|
+
},
|
|
409
|
+
'short04': function short04(components, colors) {
|
|
410
|
+
return "\n<path d=\"M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
411
|
+
},
|
|
412
|
+
'short03': function short03(components, colors) {
|
|
413
|
+
return "\n<path d=\"M5 5h10V4h-1V3H6v1H5v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
414
|
+
},
|
|
415
|
+
'short02': function short02(components, colors) {
|
|
416
|
+
return "\n<path d=\"M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
417
|
+
},
|
|
418
|
+
'long15': function long15(components, colors) {
|
|
419
|
+
return "\n<path d=\"M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
420
|
+
},
|
|
421
|
+
'short01': function short01(components, colors) {
|
|
422
|
+
return "\n<path d=\"M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
423
|
+
},
|
|
424
|
+
'long14': function long14(components, colors) {
|
|
425
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
426
|
+
},
|
|
427
|
+
'long13': function long13(components, colors) {
|
|
428
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
429
|
+
},
|
|
430
|
+
'long12': function long12(components, colors) {
|
|
431
|
+
return "\n<path d=\"M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
432
|
+
},
|
|
433
|
+
'long11': function long11(components, colors) {
|
|
434
|
+
return "\n<path d=\"M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
435
|
+
},
|
|
436
|
+
'long10': function long10(components, colors) {
|
|
437
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14.104V11h1v2h1v1l-2 .104ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
438
|
+
},
|
|
439
|
+
'long09': function long09(components, colors) {
|
|
440
|
+
return "\n<path d=\"M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
441
|
+
},
|
|
442
|
+
'long08': function long08(components, colors) {
|
|
443
|
+
return "\n<path d=\"M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
444
|
+
},
|
|
445
|
+
'long07': function long07(components, colors) {
|
|
446
|
+
return "\n<path d=\"M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3.016h-1V2h-2v1l-8 .016V2H4v1.016H3V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
447
|
+
},
|
|
448
|
+
'long06': function long06(components, colors) {
|
|
449
|
+
return "\n<path d=\"M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
450
|
+
},
|
|
451
|
+
'long05': function long05(components, colors) {
|
|
452
|
+
return "\n<path d=\"M2 17h2v-1h4v-1H6v-1H5v-1H3.998L4 11H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
453
|
+
},
|
|
454
|
+
'long04': function long04(components, colors) {
|
|
455
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
456
|
+
},
|
|
457
|
+
'long03': function long03(components, colors) {
|
|
458
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
459
|
+
},
|
|
460
|
+
'long02': function long02(components, colors) {
|
|
461
|
+
return "\n<path d=\"M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
462
|
+
},
|
|
463
|
+
'long01': function long01(components, colors) {
|
|
464
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
465
|
+
}
|
|
314
466
|
};
|
|
315
467
|
|
|
316
|
-
|
|
317
|
-
'variant04': (components, colors)
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
'
|
|
468
|
+
var accessories$1 = {
|
|
469
|
+
'variant04': function variant04(components, colors) {
|
|
470
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z\" fill=\"".concat(colors.accessories.value, "\"/>\n");
|
|
471
|
+
},
|
|
472
|
+
'variant03': function variant03(components, colors) {
|
|
473
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n");
|
|
474
|
+
},
|
|
475
|
+
'variant02': function variant02(components, colors) {
|
|
476
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n<path d=\"M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n</g>\n");
|
|
477
|
+
},
|
|
478
|
+
'variant01': function variant01(components, colors) {
|
|
479
|
+
return "\n<g fill=\"".concat(colors.accessories.value, "\">\n<path d=\"M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z\"/>\n</g>\n");
|
|
480
|
+
}
|
|
321
481
|
};
|
|
322
482
|
|
|
323
|
-
|
|
324
|
-
'variant07': (components, colors)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
'
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
'
|
|
483
|
+
var glasses$1 = {
|
|
484
|
+
'variant07': function variant07(components, colors) {
|
|
485
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
486
|
+
},
|
|
487
|
+
'variant06': function variant06(components, colors) {
|
|
488
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
489
|
+
},
|
|
490
|
+
'variant05': function variant05(components, colors) {
|
|
491
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
492
|
+
},
|
|
493
|
+
'variant04': function variant04(components, colors) {
|
|
494
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
495
|
+
},
|
|
496
|
+
'variant03': function variant03(components, colors) {
|
|
497
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
498
|
+
},
|
|
499
|
+
'variant02': function variant02(components, colors) {
|
|
500
|
+
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
501
|
+
},
|
|
502
|
+
'variant01': function variant01(components, colors) {
|
|
503
|
+
return "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
504
|
+
}
|
|
331
505
|
};
|
|
332
506
|
|
|
333
|
-
|
|
334
|
-
'variant01': (components, colors)
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
'
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
'
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
'
|
|
344
|
-
|
|
345
|
-
|
|
507
|
+
var hat$1 = {
|
|
508
|
+
'variant01': function variant01(components, colors) {
|
|
509
|
+
return "\n<path d=\"M4 1v2H2v2h16V3h-2V1H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n");
|
|
510
|
+
},
|
|
511
|
+
'variant02': function variant02(components, colors) {
|
|
512
|
+
return "\n<path d=\"M4 4H2v1h16V4h-2V1H4v3Z\" fill=\"".concat(colors.hat.value, "\"/>\n");
|
|
513
|
+
},
|
|
514
|
+
'variant03': function variant03(components, colors) {
|
|
515
|
+
return "\n<path d=\"M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n");
|
|
516
|
+
},
|
|
517
|
+
'variant04': function variant04(components, colors) {
|
|
518
|
+
return "\n<path d=\"M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z\" fill=\"".concat(colors.hat.value, "\"/>\n");
|
|
519
|
+
},
|
|
520
|
+
'variant05': function variant05(components, colors) {
|
|
521
|
+
return "\n<path d=\"M3 5V3h2V1h10v2h2v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M4 1v2h12V1H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
522
|
+
},
|
|
523
|
+
'variant06': function variant06(components, colors) {
|
|
524
|
+
return "\n<path d=\"M3 5V4h2V1h10v3h2v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 1v3h10V1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
525
|
+
},
|
|
526
|
+
'variant07': function variant07(components, colors) {
|
|
527
|
+
return "\n<path d=\"M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 3v1h12V3H4ZM3 5v1h14V5H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
528
|
+
},
|
|
529
|
+
'variant08': function variant08(components, colors) {
|
|
530
|
+
return "\n<path d=\"M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
531
|
+
},
|
|
532
|
+
'variant09': function variant09(components, colors) {
|
|
533
|
+
return "\n<path d=\"M5 1v2H3v2h14V3h-2V1H5Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 3V0h-1v3h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
534
|
+
},
|
|
535
|
+
'variant10': function variant10(components, colors) {
|
|
536
|
+
return "\n<path d=\"M4 0v5H2v1h16V5h-2V0H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
537
|
+
},
|
|
538
|
+
'variant11': function variant11(components, colors) {
|
|
539
|
+
return "\n<path d=\"M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
540
|
+
},
|
|
541
|
+
'variant12': function variant12(components, colors) {
|
|
542
|
+
return "\n<path d=\"M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 4h-3v1h3V4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
543
|
+
}
|
|
346
544
|
};
|
|
347
545
|
|
|
348
|
-
|
|
349
|
-
'variant25': (components, colors)
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
'
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
'
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
'
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
'
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
'
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
'
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
'
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
'
|
|
546
|
+
var clothing = {
|
|
547
|
+
'variant25': function variant25(components, colors) {
|
|
548
|
+
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
549
|
+
},
|
|
550
|
+
'variant24': function variant24(components, colors) {
|
|
551
|
+
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M9 16v1h2v-1H9Z\" fill=\"#fff\"/>\n");
|
|
552
|
+
},
|
|
553
|
+
'variant23': function variant23(components, colors) {
|
|
554
|
+
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".3\"/>\n");
|
|
555
|
+
},
|
|
556
|
+
'variant22': function variant22(components, colors) {
|
|
557
|
+
return "\n<path d=\"M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
558
|
+
},
|
|
559
|
+
'variant21': function variant21(components, colors) {
|
|
560
|
+
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
561
|
+
},
|
|
562
|
+
'variant20': function variant20(components, colors) {
|
|
563
|
+
return "\n<path d=\"M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h.965L12 15h1v1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 16H4v1H3v3h6v-2H8v-1H6v-1Zm2 0h1-1Zm3 0h1-1Zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
564
|
+
},
|
|
565
|
+
'variant19': function variant19(components, colors) {
|
|
566
|
+
return "\n<path d=\"M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M10 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h1v-1h1v-3Zm1 0h1v1h6v-1h1v2H6v-2Zm9 0h1v1h1v3h-1v-1h-1v-3Z\" fill=\"#fff\" fill-opacity=\".8\"/>\n");
|
|
567
|
+
},
|
|
568
|
+
'variant18': function variant18(components, colors) {
|
|
569
|
+
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-1h1v1H3Zm2 0v-1h1v1H5Zm2 0v-1h1v1H7Zm2 0v-1h1v1H9Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm1-2h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1H8v-1Zm-2 0h1v1H6v-1Zm-2 0h1v1H4v-1Zm-1-1h1v1H3v-1Zm2 0h1v1H5v-1Zm2 0h1v1H7v-1Zm2 0h1v1H9v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1ZM4 16h1v1H4v-1Zm2 0h1v1H6v-1Zm6 0h1v1h-1v-1Zm2 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
570
|
+
},
|
|
571
|
+
'variant17': function variant17(components, colors) {
|
|
572
|
+
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
573
|
+
},
|
|
574
|
+
'variant16': function variant16(components, colors) {
|
|
575
|
+
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
576
|
+
},
|
|
577
|
+
'variant15': function variant15(components, colors) {
|
|
578
|
+
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
579
|
+
},
|
|
580
|
+
'variant14': function variant14(components, colors) {
|
|
581
|
+
return "\n<path d=\"M3 20v-3h1v-1h4.027L8 15h4l.011 1H16v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M12 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
582
|
+
},
|
|
583
|
+
'variant13': function variant13(components, colors) {
|
|
584
|
+
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
585
|
+
},
|
|
586
|
+
'variant12': function variant12(components, colors) {
|
|
587
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
588
|
+
},
|
|
589
|
+
'variant11': function variant11(components, colors) {
|
|
590
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
591
|
+
},
|
|
592
|
+
'variant10': function variant10(components, colors) {
|
|
593
|
+
return "\n<path d=\"M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
594
|
+
},
|
|
595
|
+
'variant09': function variant09(components, colors) {
|
|
596
|
+
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
597
|
+
},
|
|
598
|
+
'variant08': function variant08(components, colors) {
|
|
599
|
+
return "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
600
|
+
},
|
|
601
|
+
'variant07': function variant07(components, colors) {
|
|
602
|
+
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n");
|
|
603
|
+
},
|
|
604
|
+
'variant06': function variant06(components, colors) {
|
|
605
|
+
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
606
|
+
},
|
|
607
|
+
'variant05': function variant05(components, colors) {
|
|
608
|
+
return "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
609
|
+
},
|
|
610
|
+
'variant04': function variant04(components, colors) {
|
|
611
|
+
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
612
|
+
},
|
|
613
|
+
'variant03': function variant03(components, colors) {
|
|
614
|
+
return "\n<g fill=\"".concat(colors.clothes.value, "\">\n<path d=\"M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z\"/>\n</g>\n");
|
|
615
|
+
},
|
|
616
|
+
'variant02': function variant02(components, colors) {
|
|
617
|
+
return "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n");
|
|
618
|
+
},
|
|
619
|
+
'variant01': function variant01(components, colors) {
|
|
620
|
+
return "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
621
|
+
}
|
|
374
622
|
};
|
|
375
623
|
|
|
376
624
|
var components = /*#__PURE__*/Object.freeze({
|
|
@@ -387,9 +635,9 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
387
635
|
});
|
|
388
636
|
|
|
389
637
|
function pickComponent(prng, group) {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
638
|
+
var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
639
|
+
var componentCollection = components;
|
|
640
|
+
var key = prng.pick(values);
|
|
393
641
|
|
|
394
642
|
if (componentCollection[group][key]) {
|
|
395
643
|
return {
|
|
@@ -401,7 +649,7 @@ function pickComponent(prng, group) {
|
|
|
401
649
|
}
|
|
402
650
|
}
|
|
403
651
|
|
|
404
|
-
|
|
652
|
+
var skin = {
|
|
405
653
|
'variant01': 'rgba(255, 219, 172, 1)',
|
|
406
654
|
'variant02': 'rgba(245, 207, 160, 1)',
|
|
407
655
|
'variant03': 'rgba(234, 195, 147, 1)',
|
|
@@ -412,7 +660,7 @@ const skin = {
|
|
|
412
660
|
'variant08': 'rgba(141, 85, 36, 1)'
|
|
413
661
|
};
|
|
414
662
|
|
|
415
|
-
|
|
663
|
+
var hair = {
|
|
416
664
|
'variant01': 'rgba(202, 177, 136, 1)',
|
|
417
665
|
'variant02': 'rgba(167, 137, 97, 1)',
|
|
418
666
|
'variant03': 'rgba(131, 98, 59, 1)',
|
|
@@ -425,7 +673,7 @@ const hair = {
|
|
|
425
673
|
'variant10': 'rgba(40, 21, 10, 1)'
|
|
426
674
|
};
|
|
427
675
|
|
|
428
|
-
|
|
676
|
+
var accessories = {
|
|
429
677
|
'gold01': 'rgba(218, 165, 32, 1)',
|
|
430
678
|
'gold02': 'rgba(255, 215, 0, 1)',
|
|
431
679
|
'gold03': 'rgba(250, 250, 210, 1)',
|
|
@@ -433,14 +681,14 @@ const accessories = {
|
|
|
433
681
|
'silver02': 'rgba(169, 169, 169, 1)'
|
|
434
682
|
};
|
|
435
683
|
|
|
436
|
-
|
|
684
|
+
var mouth = {
|
|
437
685
|
'variant01': 'rgba(210, 153, 133, 1)',
|
|
438
686
|
'variant02': 'rgba(201, 130, 118, 1)',
|
|
439
687
|
'variant03': 'rgba(227, 93, 106, 1)',
|
|
440
688
|
'variant04': 'rgba(222, 15, 13, 1)'
|
|
441
689
|
};
|
|
442
690
|
|
|
443
|
-
|
|
691
|
+
var clothes = {
|
|
444
692
|
'yellow01': 'rgba(255, 238, 173, 1)',
|
|
445
693
|
'yellow02': 'rgba(255, 217, 105, 1)',
|
|
446
694
|
'yellow03': 'rgba(255, 196, 37, 1)',
|
|
@@ -455,7 +703,7 @@ const clothes = {
|
|
|
455
703
|
'green03': 'rgba(0, 177, 89, 1)'
|
|
456
704
|
};
|
|
457
705
|
|
|
458
|
-
|
|
706
|
+
var hat = {
|
|
459
707
|
'pink01': 'rgba(204, 97, 146, 1)',
|
|
460
708
|
'blue01': 'rgba(38, 99, 163, 1)',
|
|
461
709
|
'green01': 'rgba(61, 138, 107, 1)',
|
|
@@ -465,7 +713,7 @@ const hat = {
|
|
|
465
713
|
'gray01': 'rgba(152, 151, 137, 1)'
|
|
466
714
|
};
|
|
467
715
|
|
|
468
|
-
|
|
716
|
+
var glasses = {
|
|
469
717
|
'green01': 'rgba(95, 112, 92, 1)',
|
|
470
718
|
'blue01': 'rgba(67, 103, 125, 1)',
|
|
471
719
|
'red01': 'rgba(160, 75, 93, 1)',
|
|
@@ -488,20 +736,34 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
488
736
|
function pickColor(prng, group, values) {
|
|
489
737
|
var _colorCollection$grou;
|
|
490
738
|
|
|
491
|
-
|
|
739
|
+
var colorCollection = colors;
|
|
492
740
|
|
|
493
741
|
if (values.length === 0) {
|
|
494
742
|
values.push('transparent');
|
|
495
743
|
}
|
|
496
744
|
|
|
497
|
-
|
|
745
|
+
var key = prng.pick(values);
|
|
498
746
|
return {
|
|
499
747
|
name: key,
|
|
500
748
|
value: (_colorCollection$grou = colorCollection[group][key]) !== null && _colorCollection$grou !== void 0 ? _colorCollection$grou : key
|
|
501
749
|
};
|
|
502
750
|
}
|
|
503
751
|
|
|
504
|
-
|
|
752
|
+
function onPreCreate(_ref) {// Write your modifications here
|
|
753
|
+
|
|
754
|
+
_ref.prng;
|
|
755
|
+
_ref.options;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
function onPostCreate(_ref) {// Write your modifications here
|
|
759
|
+
|
|
760
|
+
_ref.prng;
|
|
761
|
+
_ref.options;
|
|
762
|
+
_ref.components;
|
|
763
|
+
_ref.colors;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
var style = {
|
|
505
767
|
meta: {
|
|
506
768
|
title: 'Pixel Art',
|
|
507
769
|
creator: 'Plastic Jam',
|
|
@@ -511,23 +773,25 @@ const style = {
|
|
|
511
773
|
}
|
|
512
774
|
},
|
|
513
775
|
schema: schema$1,
|
|
514
|
-
create: _ref
|
|
776
|
+
create: function create(_ref) {
|
|
515
777
|
var _options$skinColor, _options$hairColor, _options$accessoriesC, _options$mouthColor, _options$clothesColor, _options$hatColor, _options$glassesColor, _components$beard$val, _components$beard, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$hair$valu, _components$hair, _components$accessori, _components$accessori2, _components$glasses$v, _components$glasses, _components$hat$value, _components$hat, _components$clothing$, _components$clothing;
|
|
516
778
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
779
|
+
var prng = _ref.prng,
|
|
780
|
+
options = _ref.options;
|
|
781
|
+
onPreCreate({
|
|
782
|
+
prng: prng,
|
|
783
|
+
options: options
|
|
784
|
+
});
|
|
785
|
+
var beardComponent = pickComponent(prng, 'beard', options.beard);
|
|
786
|
+
var eyesComponent = pickComponent(prng, 'eyes', options.eyes);
|
|
787
|
+
var eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows);
|
|
788
|
+
var mouthComponent = pickComponent(prng, 'mouth', options.mouth);
|
|
789
|
+
var hairComponent = pickComponent(prng, 'hair', options.hair);
|
|
790
|
+
var accessoriesComponent = pickComponent(prng, 'accessories', options.accessories);
|
|
791
|
+
var glassesComponent = pickComponent(prng, 'glasses', options.glasses);
|
|
792
|
+
var hatComponent = pickComponent(prng, 'hat', options.hat);
|
|
793
|
+
var clothingComponent = pickComponent(prng, 'clothing', options.clothing);
|
|
794
|
+
var components = {
|
|
531
795
|
'beard': prng.bool(options.beardProbability) ? beardComponent : undefined,
|
|
532
796
|
'eyes': eyesComponent,
|
|
533
797
|
'eyebrows': eyebrowsComponent,
|
|
@@ -538,7 +802,7 @@ const style = {
|
|
|
538
802
|
'hat': prng.bool(options.hatProbability) ? hatComponent : undefined,
|
|
539
803
|
'clothing': clothingComponent
|
|
540
804
|
};
|
|
541
|
-
|
|
805
|
+
var colors = {
|
|
542
806
|
'skin': pickColor(prng, 'skin', (_options$skinColor = options.skinColor) !== null && _options$skinColor !== void 0 ? _options$skinColor : []),
|
|
543
807
|
'hair': pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : []),
|
|
544
808
|
'accessories': pickColor(prng, 'accessories', (_options$accessoriesC = options.accessoriesColor) !== null && _options$accessoriesC !== void 0 ? _options$accessoriesC : []),
|
|
@@ -547,6 +811,12 @@ const style = {
|
|
|
547
811
|
'hat': pickColor(prng, 'hat', (_options$hatColor = options.hatColor) !== null && _options$hatColor !== void 0 ? _options$hatColor : []),
|
|
548
812
|
'glasses': pickColor(prng, 'glasses', (_options$glassesColor = options.glassesColor) !== null && _options$glassesColor !== void 0 ? _options$glassesColor : [])
|
|
549
813
|
};
|
|
814
|
+
onPostCreate({
|
|
815
|
+
prng: prng,
|
|
816
|
+
options: options,
|
|
817
|
+
components: components,
|
|
818
|
+
colors: colors
|
|
819
|
+
});
|
|
550
820
|
return {
|
|
551
821
|
attributes: {
|
|
552
822
|
viewBox: '0 0 20 20',
|
|
@@ -566,11 +836,9 @@ const style = {
|
|
|
566
836
|
* Design "8biticon" by Plastic Jam licensed under MIT.
|
|
567
837
|
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE
|
|
568
838
|
*/
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
schema
|
|
573
|
-
} = style;
|
|
839
|
+
var create = style.create,
|
|
840
|
+
meta = style.meta,
|
|
841
|
+
schema = style.schema;
|
|
574
842
|
/** @deprecated will be removed in Version 5.0 */
|
|
575
843
|
|
|
576
844
|
var index = utils.style.createLegacyWrapper(style);
|