@dicebear/definitions 10.0.0-rc.6 → 10.0.0-rc.7

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.
Files changed (40) hide show
  1. package/dist/adventurer-neutral.min.json +1 -1
  2. package/dist/adventurer.min.json +1 -1
  3. package/dist/avataaars-neutral.min.json +1 -1
  4. package/dist/avataaars.min.json +1 -1
  5. package/dist/big-ears-neutral.min.json +1 -1
  6. package/dist/big-ears.min.json +1 -1
  7. package/dist/big-smile.min.json +1 -1
  8. package/dist/bottts-neutral.min.json +1 -1
  9. package/dist/bottts.min.json +1 -1
  10. package/dist/croodles-neutral.min.json +1 -1
  11. package/dist/croodles.min.json +1 -1
  12. package/dist/dylan.min.json +1 -1
  13. package/dist/fun-emoji.min.json +1 -1
  14. package/dist/glass.min.json +1 -1
  15. package/dist/icons.min.json +1 -1
  16. package/dist/identicon.min.json +1 -1
  17. package/dist/initial-face.min.json +1 -1
  18. package/dist/initials.min.json +1 -1
  19. package/dist/lorelei-neutral.min.json +1 -1
  20. package/dist/lorelei.min.json +1 -1
  21. package/dist/micah.min.json +1 -1
  22. package/dist/miniavs.min.json +1 -1
  23. package/dist/notionists-neutral.min.json +1 -1
  24. package/dist/notionists.min.json +1 -1
  25. package/dist/open-peeps.min.json +1 -1
  26. package/dist/personas.min.json +1 -1
  27. package/dist/pixel-art-neutral.min.json +1 -1
  28. package/dist/pixel-art.min.json +1 -1
  29. package/dist/rings.min.json +1 -1
  30. package/dist/shape-grid.min.json +1 -1
  31. package/dist/shapes.min.json +1 -1
  32. package/dist/thumbs.min.json +1 -1
  33. package/dist/toon-head.min.json +1 -1
  34. package/package.json +1 -1
  35. package/src/glass.json +6 -10
  36. package/src/initial-face.json +61 -25
  37. package/src/initials.json +45 -0
  38. package/src/rings.json +20 -0
  39. package/src/shape-grid.json +21 -7
  40. package/src/shapes.json +325 -143
package/src/shapes.json CHANGED
@@ -18,82 +18,16 @@
18
18
  },
19
19
  "canvas": {
20
20
  "elements": [
21
- {
22
- "name": "mask",
23
- "type": "element",
24
- "attributes": {
25
- "id": "dicebearShapes-a",
26
- "style": "mask-type:alpha",
27
- "maskUnits": "userSpaceOnUse",
28
- "x": "-10",
29
- "y": "-190",
30
- "width": "120",
31
- "height": "480"
32
- },
33
- "children": [
34
- {
35
- "name": "g",
36
- "type": "element",
37
- "attributes": {
38
- "transform": "matrix(1.2 0 0 1.2 -10 -190)"
39
- },
40
- "children": [
41
- {
42
- "name": "shape03",
43
- "type": "component"
44
- }
45
- ]
46
- }
47
- ]
48
- },
49
21
  {
50
22
  "name": "g",
51
23
  "type": "element",
52
24
  "attributes": {
53
- "mask": "url(#dicebearShapes-a)"
54
- },
55
- "children": [
56
- {
57
- "name": "rect",
58
- "type": "element",
59
- "attributes": {
60
- "x": "-450",
61
- "y": "-450",
62
- "width": "1000",
63
- "height": "1000",
64
- "fill": {
65
- "type": "color",
66
- "name": "shape3"
67
- }
68
- }
69
- }
70
- ]
71
- },
72
- {
73
- "name": "mask",
74
- "type": "element",
75
- "attributes": {
76
- "id": "dicebearShapes-b",
77
- "style": "mask-type:alpha",
78
- "maskUnits": "userSpaceOnUse",
79
- "x": "10",
80
- "y": "-110",
81
- "width": "80",
82
- "height": "320"
25
+ "transform": "matrix(1.2 0 0 1.2 -10 -190)"
83
26
  },
84
27
  "children": [
85
28
  {
86
- "name": "g",
87
- "type": "element",
88
- "attributes": {
89
- "transform": "matrix(.8 0 0 .8 10 -110)"
90
- },
91
- "children": [
92
- {
93
- "name": "shape02",
94
- "type": "component"
95
- }
96
- ]
29
+ "name": "shape01",
30
+ "type": "component"
97
31
  }
98
32
  ]
99
33
  },
@@ -101,50 +35,12 @@
101
35
  "name": "g",
102
36
  "type": "element",
103
37
  "attributes": {
104
- "mask": "url(#dicebearShapes-b)"
105
- },
106
- "children": [
107
- {
108
- "name": "rect",
109
- "type": "element",
110
- "attributes": {
111
- "x": "-450",
112
- "y": "-450",
113
- "width": "1000",
114
- "height": "1000",
115
- "fill": {
116
- "type": "color",
117
- "name": "shape2"
118
- }
119
- }
120
- }
121
- ]
122
- },
123
- {
124
- "name": "mask",
125
- "type": "element",
126
- "attributes": {
127
- "id": "dicebearShapes-c",
128
- "style": "mask-type:alpha",
129
- "maskUnits": "userSpaceOnUse",
130
- "x": "30",
131
- "y": "-30",
132
- "width": "40",
133
- "height": "160"
38
+ "transform": "matrix(.8 0 0 .8 10 -110)"
134
39
  },
135
40
  "children": [
136
41
  {
137
- "name": "g",
138
- "type": "element",
139
- "attributes": {
140
- "transform": "matrix(.4 0 0 .4 30 -30)"
141
- },
142
- "children": [
143
- {
144
- "name": "shape01",
145
- "type": "component"
146
- }
147
- ]
42
+ "name": "shape02",
43
+ "type": "component"
148
44
  }
149
45
  ]
150
46
  },
@@ -152,22 +48,12 @@
152
48
  "name": "g",
153
49
  "type": "element",
154
50
  "attributes": {
155
- "mask": "url(#dicebearShapes-c)"
51
+ "transform": "matrix(.4 0 0 .4 30 -30)"
156
52
  },
157
53
  "children": [
158
54
  {
159
- "name": "rect",
160
- "type": "element",
161
- "attributes": {
162
- "x": "-450",
163
- "y": "-450",
164
- "width": "1000",
165
- "height": "1000",
166
- "fill": {
167
- "type": "color",
168
- "name": "shape1"
169
- }
170
- }
55
+ "name": "shape03",
56
+ "type": "component"
171
57
  }
172
58
  ]
173
59
  }
@@ -180,21 +66,25 @@
180
66
  "shape-rendering": "auto"
181
67
  },
182
68
  "components": {
183
- "shape": {
69
+ "shape01": {
184
70
  "width": 100,
185
71
  "height": 400,
186
72
  "rotate": [
187
73
  -160,
188
74
  160
189
75
  ],
76
+ "scale": [
77
+ 0.9,
78
+ 1.1
79
+ ],
190
80
  "translate": {
191
81
  "x": [
192
- -50,
193
- 50
82
+ -80,
83
+ 80
194
84
  ],
195
85
  "y": [
196
- -50,
197
- 50
86
+ -20,
87
+ 20
198
88
  ]
199
89
  },
200
90
  "variants": {
@@ -207,10 +97,14 @@
207
97
  "fill-rule": "evenodd",
208
98
  "clip-rule": "evenodd",
209
99
  "d": "M50 240a40 40 0 1 0 0-80 40 40 0 0 0 0 80m0 10a50 50 0 1 0 0-100 50 50 0 0 0 0 100",
210
- "fill": "white"
100
+ "fill": {
101
+ "type": "color",
102
+ "name": "shape1"
103
+ }
211
104
  }
212
105
  }
213
- ]
106
+ ],
107
+ "weight": 0
214
108
  },
215
109
  "ellipseFilled": {
216
110
  "elements": [
@@ -219,7 +113,10 @@
219
113
  "type": "element",
220
114
  "attributes": {
221
115
  "d": "M100 200a50 50 0 1 1-100 0 50 50 0 0 1 100 0",
222
- "fill": "white"
116
+ "fill": {
117
+ "type": "color",
118
+ "name": "shape1"
119
+ }
223
120
  }
224
121
  }
225
122
  ]
@@ -233,7 +130,10 @@
233
130
  "x": "45",
234
131
  "width": "10",
235
132
  "height": "400",
236
- "fill": "white"
133
+ "fill": {
134
+ "type": "color",
135
+ "name": "shape1"
136
+ }
237
137
  }
238
138
  }
239
139
  ]
@@ -247,10 +147,14 @@
247
147
  "fill-rule": "evenodd",
248
148
  "clip-rule": "evenodd",
249
149
  "d": "M50 157 0 243.6h100zm0 20-32.7 56.6h65.4z",
250
- "fill": "white"
150
+ "fill": {
151
+ "type": "color",
152
+ "name": "shape1"
153
+ }
251
154
  }
252
155
  }
253
- ]
156
+ ],
157
+ "weight": 0
254
158
  },
255
159
  "polygonFilled": {
256
160
  "elements": [
@@ -259,7 +163,10 @@
259
163
  "type": "element",
260
164
  "attributes": {
261
165
  "d": "m50 157 50 86.6H0z",
262
- "fill": "white"
166
+ "fill": {
167
+ "type": "color",
168
+ "name": "shape1"
169
+ }
263
170
  }
264
171
  }
265
172
  ]
@@ -273,10 +180,14 @@
273
180
  "fill-rule": "evenodd",
274
181
  "clip-rule": "evenodd",
275
182
  "d": "M90 160H10v80h80zM0 150v100h100V150z",
276
- "fill": "white"
183
+ "fill": {
184
+ "type": "color",
185
+ "name": "shape1"
186
+ }
277
187
  }
278
188
  }
279
- ]
189
+ ],
190
+ "weight": 0
280
191
  },
281
192
  "rectangleFilled": {
282
193
  "elements": [
@@ -285,21 +196,292 @@
285
196
  "type": "element",
286
197
  "attributes": {
287
198
  "d": "M0 150h100v100H0z",
288
- "fill": "white"
199
+ "fill": {
200
+ "type": "color",
201
+ "name": "shape1"
202
+ }
289
203
  }
290
204
  }
291
205
  ]
292
206
  }
293
207
  }
294
208
  },
295
- "shape01": {
296
- "extends": "shape"
297
- },
298
209
  "shape02": {
299
- "extends": "shape"
210
+ "width": 100,
211
+ "height": 400,
212
+ "rotate": [
213
+ -160,
214
+ 160
215
+ ],
216
+ "scale": [
217
+ 0.9,
218
+ 1.1
219
+ ],
220
+ "translate": {
221
+ "x": [
222
+ -60,
223
+ 60
224
+ ],
225
+ "y": [
226
+ -15,
227
+ 15
228
+ ]
229
+ },
230
+ "variants": {
231
+ "ellipse": {
232
+ "elements": [
233
+ {
234
+ "name": "path",
235
+ "type": "element",
236
+ "attributes": {
237
+ "fill-rule": "evenodd",
238
+ "clip-rule": "evenodd",
239
+ "d": "M50 240a40 40 0 1 0 0-80 40 40 0 0 0 0 80m0 10a50 50 0 1 0 0-100 50 50 0 0 0 0 100",
240
+ "fill": {
241
+ "type": "color",
242
+ "name": "shape2"
243
+ }
244
+ }
245
+ }
246
+ ],
247
+ "weight": 0
248
+ },
249
+ "ellipseFilled": {
250
+ "elements": [
251
+ {
252
+ "name": "path",
253
+ "type": "element",
254
+ "attributes": {
255
+ "d": "M100 200a50 50 0 1 1-100 0 50 50 0 0 1 100 0",
256
+ "fill": {
257
+ "type": "color",
258
+ "name": "shape2"
259
+ }
260
+ }
261
+ }
262
+ ]
263
+ },
264
+ "line": {
265
+ "elements": [
266
+ {
267
+ "name": "rect",
268
+ "type": "element",
269
+ "attributes": {
270
+ "x": "45",
271
+ "width": "10",
272
+ "height": "400",
273
+ "fill": {
274
+ "type": "color",
275
+ "name": "shape2"
276
+ }
277
+ }
278
+ }
279
+ ]
280
+ },
281
+ "polygon": {
282
+ "elements": [
283
+ {
284
+ "name": "path",
285
+ "type": "element",
286
+ "attributes": {
287
+ "fill-rule": "evenodd",
288
+ "clip-rule": "evenodd",
289
+ "d": "M50 157 0 243.6h100zm0 20-32.7 56.6h65.4z",
290
+ "fill": {
291
+ "type": "color",
292
+ "name": "shape2"
293
+ }
294
+ }
295
+ }
296
+ ],
297
+ "weight": 0
298
+ },
299
+ "polygonFilled": {
300
+ "elements": [
301
+ {
302
+ "name": "path",
303
+ "type": "element",
304
+ "attributes": {
305
+ "d": "m50 157 50 86.6H0z",
306
+ "fill": {
307
+ "type": "color",
308
+ "name": "shape2"
309
+ }
310
+ }
311
+ }
312
+ ]
313
+ },
314
+ "rectangle": {
315
+ "elements": [
316
+ {
317
+ "name": "path",
318
+ "type": "element",
319
+ "attributes": {
320
+ "fill-rule": "evenodd",
321
+ "clip-rule": "evenodd",
322
+ "d": "M90 160H10v80h80zM0 150v100h100V150z",
323
+ "fill": {
324
+ "type": "color",
325
+ "name": "shape2"
326
+ }
327
+ }
328
+ }
329
+ ],
330
+ "weight": 0
331
+ },
332
+ "rectangleFilled": {
333
+ "elements": [
334
+ {
335
+ "name": "path",
336
+ "type": "element",
337
+ "attributes": {
338
+ "d": "M0 150h100v100H0z",
339
+ "fill": {
340
+ "type": "color",
341
+ "name": "shape2"
342
+ }
343
+ }
344
+ }
345
+ ]
346
+ }
347
+ }
300
348
  },
301
349
  "shape03": {
302
- "extends": "shape"
350
+ "width": 100,
351
+ "height": 400,
352
+ "rotate": [
353
+ -160,
354
+ 160
355
+ ],
356
+ "scale": [
357
+ 0.9,
358
+ 1.1
359
+ ],
360
+ "translate": {
361
+ "x": [
362
+ -40,
363
+ 40
364
+ ],
365
+ "y": [
366
+ -10,
367
+ 10
368
+ ]
369
+ },
370
+ "variants": {
371
+ "ellipse": {
372
+ "elements": [
373
+ {
374
+ "name": "path",
375
+ "type": "element",
376
+ "attributes": {
377
+ "fill-rule": "evenodd",
378
+ "clip-rule": "evenodd",
379
+ "d": "M50 240a40 40 0 1 0 0-80 40 40 0 0 0 0 80m0 10a50 50 0 1 0 0-100 50 50 0 0 0 0 100",
380
+ "fill": {
381
+ "type": "color",
382
+ "name": "shape3"
383
+ }
384
+ }
385
+ }
386
+ ]
387
+ },
388
+ "ellipseFilled": {
389
+ "elements": [
390
+ {
391
+ "name": "path",
392
+ "type": "element",
393
+ "attributes": {
394
+ "d": "M100 200a50 50 0 1 1-100 0 50 50 0 0 1 100 0",
395
+ "fill": {
396
+ "type": "color",
397
+ "name": "shape3"
398
+ }
399
+ }
400
+ }
401
+ ]
402
+ },
403
+ "line": {
404
+ "elements": [
405
+ {
406
+ "name": "rect",
407
+ "type": "element",
408
+ "attributes": {
409
+ "x": "45",
410
+ "width": "10",
411
+ "height": "400",
412
+ "fill": {
413
+ "type": "color",
414
+ "name": "shape3"
415
+ }
416
+ }
417
+ }
418
+ ]
419
+ },
420
+ "polygon": {
421
+ "elements": [
422
+ {
423
+ "name": "path",
424
+ "type": "element",
425
+ "attributes": {
426
+ "fill-rule": "evenodd",
427
+ "clip-rule": "evenodd",
428
+ "d": "M50 157 0 243.6h100zm0 20-32.7 56.6h65.4z",
429
+ "fill": {
430
+ "type": "color",
431
+ "name": "shape3"
432
+ }
433
+ }
434
+ }
435
+ ]
436
+ },
437
+ "polygonFilled": {
438
+ "elements": [
439
+ {
440
+ "name": "path",
441
+ "type": "element",
442
+ "attributes": {
443
+ "d": "m50 157 50 86.6H0z",
444
+ "fill": {
445
+ "type": "color",
446
+ "name": "shape3"
447
+ }
448
+ }
449
+ }
450
+ ]
451
+ },
452
+ "rectangle": {
453
+ "elements": [
454
+ {
455
+ "name": "path",
456
+ "type": "element",
457
+ "attributes": {
458
+ "fill-rule": "evenodd",
459
+ "clip-rule": "evenodd",
460
+ "d": "M90 160H10v80h80zM0 150v100h100V150z",
461
+ "fill": {
462
+ "type": "color",
463
+ "name": "shape3"
464
+ }
465
+ }
466
+ }
467
+ ]
468
+ },
469
+ "rectangleFilled": {
470
+ "elements": [
471
+ {
472
+ "name": "path",
473
+ "type": "element",
474
+ "attributes": {
475
+ "d": "M0 150h100v100H0z",
476
+ "fill": {
477
+ "type": "color",
478
+ "name": "shape3"
479
+ }
480
+ }
481
+ }
482
+ ]
483
+ }
484
+ }
303
485
  }
304
486
  },
305
487
  "colors": {