@dicebear/definitions 9.0.0-alpha.0 → 9.0.0-alpha.1

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.
@@ -13,6 +13,10 @@
13
13
  "source": {
14
14
  "name": "Identicon",
15
15
  "url": "https://dicebear.com"
16
+ },
17
+ "size": {
18
+ "width": 5,
19
+ "height": 5
16
20
  }
17
21
  },
18
22
  "body": {
@@ -27,15 +31,22 @@
27
31
  ]
28
32
  }
29
33
  },
30
- "attributes": {
31
- "viewBox": "0 0 5 5",
32
- "fill": "none",
33
- "shapeRendering": "crispEdges"
34
- },
35
- "components": {
36
- "row1": {
37
- "values": {
38
- "xooox": {
34
+ "attributes": [
35
+ {
36
+ "name": "fill",
37
+ "value": "none"
38
+ },
39
+ {
40
+ "name": "shape-rendering",
41
+ "value": "crispEdges"
42
+ }
43
+ ],
44
+ "components": [
45
+ {
46
+ "name": "row1",
47
+ "values": [
48
+ {
49
+ "name": "xooox",
39
50
  "content": "<path d=\"M1 0H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
40
51
  "dependencies": {
41
52
  "colors": [
@@ -44,7 +55,8 @@
44
55
  },
45
56
  "default": true
46
57
  },
47
- "xxoxx": {
58
+ {
59
+ "name": "xxoxx",
48
60
  "content": "<path d=\"M2 0H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
49
61
  "dependencies": {
50
62
  "colors": [
@@ -53,7 +65,8 @@
53
65
  },
54
66
  "default": true
55
67
  },
56
- "xoxox": {
68
+ {
69
+ "name": "xoxox",
57
70
  "content": "<path d=\"M0 0h1v1H0zm4 0h1v1H4zM3 0H2v1h1z\" fill=\"url(#color-row)\"/>",
58
71
  "dependencies": {
59
72
  "colors": [
@@ -62,7 +75,8 @@
62
75
  },
63
76
  "default": true
64
77
  },
65
- "oxxxo": {
78
+ {
79
+ "name": "oxxxo",
66
80
  "content": "<rect x=\"1\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
67
81
  "dependencies": {
68
82
  "colors": [
@@ -71,7 +85,8 @@
71
85
  },
72
86
  "default": true
73
87
  },
74
- "xxxxx": {
88
+ {
89
+ "name": "xxxxx",
75
90
  "content": "<rect width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
76
91
  "dependencies": {
77
92
  "colors": [
@@ -80,7 +95,8 @@
80
95
  },
81
96
  "default": true
82
97
  },
83
- "oxoxo": {
98
+ {
99
+ "name": "oxoxo",
84
100
  "content": "<path d=\"M2 0H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
85
101
  "dependencies": {
86
102
  "colors": [
@@ -89,7 +105,8 @@
89
105
  },
90
106
  "default": true
91
107
  },
92
- "ooxoo": {
108
+ {
109
+ "name": "ooxoo",
93
110
  "content": "<rect x=\"2\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
94
111
  "dependencies": {
95
112
  "colors": [
@@ -98,11 +115,13 @@
98
115
  },
99
116
  "default": true
100
117
  }
101
- }
118
+ ]
102
119
  },
103
- "row2": {
104
- "values": {
105
- "xooox": {
120
+ {
121
+ "name": "row2",
122
+ "values": [
123
+ {
124
+ "name": "xooox",
106
125
  "content": "<path d=\"M1 1H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
107
126
  "dependencies": {
108
127
  "colors": [
@@ -111,7 +130,8 @@
111
130
  },
112
131
  "default": true
113
132
  },
114
- "xxoxx": {
133
+ {
134
+ "name": "xxoxx",
115
135
  "content": "<path d=\"M2 1H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
116
136
  "dependencies": {
117
137
  "colors": [
@@ -120,7 +140,8 @@
120
140
  },
121
141
  "default": true
122
142
  },
123
- "xoxox": {
143
+ {
144
+ "name": "xoxox",
124
145
  "content": "<path d=\"M0 1h1v1H0zm4 0h1v1H4zM3 1H2v1h1z\" fill=\"url(#color-row)\"/>",
125
146
  "dependencies": {
126
147
  "colors": [
@@ -129,7 +150,8 @@
129
150
  },
130
151
  "default": true
131
152
  },
132
- "oxxxo": {
153
+ {
154
+ "name": "oxxxo",
133
155
  "content": "<rect x=\"1\" y=\"1\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
134
156
  "dependencies": {
135
157
  "colors": [
@@ -138,7 +160,8 @@
138
160
  },
139
161
  "default": true
140
162
  },
141
- "xxxxx": {
163
+ {
164
+ "name": "xxxxx",
142
165
  "content": "<rect y=\"1\" width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
143
166
  "dependencies": {
144
167
  "colors": [
@@ -147,7 +170,8 @@
147
170
  },
148
171
  "default": true
149
172
  },
150
- "oxoxo": {
173
+ {
174
+ "name": "oxoxo",
151
175
  "content": "<path d=\"M2 1H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
152
176
  "dependencies": {
153
177
  "colors": [
@@ -156,7 +180,8 @@
156
180
  },
157
181
  "default": true
158
182
  },
159
- "ooxoo": {
183
+ {
184
+ "name": "ooxoo",
160
185
  "content": "<rect x=\"2\" y=\"1\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
161
186
  "dependencies": {
162
187
  "colors": [
@@ -165,11 +190,13 @@
165
190
  },
166
191
  "default": true
167
192
  }
168
- }
193
+ ]
169
194
  },
170
- "row3": {
171
- "values": {
172
- "xooox": {
195
+ {
196
+ "name": "row3",
197
+ "values": [
198
+ {
199
+ "name": "xooox",
173
200
  "content": "<path d=\"M1 2H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
174
201
  "dependencies": {
175
202
  "colors": [
@@ -178,7 +205,8 @@
178
205
  },
179
206
  "default": true
180
207
  },
181
- "xxoxx": {
208
+ {
209
+ "name": "xxoxx",
182
210
  "content": "<path d=\"M2 2H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
183
211
  "dependencies": {
184
212
  "colors": [
@@ -187,7 +215,8 @@
187
215
  },
188
216
  "default": true
189
217
  },
190
- "xoxox": {
218
+ {
219
+ "name": "xoxox",
191
220
  "content": "<path d=\"M0 2h1v1H0zm4 0h1v1H4zM3 2H2v1h1z\" fill=\"url(#color-row)\"/>",
192
221
  "dependencies": {
193
222
  "colors": [
@@ -196,7 +225,8 @@
196
225
  },
197
226
  "default": true
198
227
  },
199
- "oxxxo": {
228
+ {
229
+ "name": "oxxxo",
200
230
  "content": "<rect x=\"1\" y=\"2\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
201
231
  "dependencies": {
202
232
  "colors": [
@@ -205,7 +235,8 @@
205
235
  },
206
236
  "default": true
207
237
  },
208
- "xxxxx": {
238
+ {
239
+ "name": "xxxxx",
209
240
  "content": "<rect y=\"2\" width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
210
241
  "dependencies": {
211
242
  "colors": [
@@ -214,7 +245,8 @@
214
245
  },
215
246
  "default": true
216
247
  },
217
- "oxoxo": {
248
+ {
249
+ "name": "oxoxo",
218
250
  "content": "<path d=\"M2 2H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
219
251
  "dependencies": {
220
252
  "colors": [
@@ -223,7 +255,8 @@
223
255
  },
224
256
  "default": true
225
257
  },
226
- "ooxoo": {
258
+ {
259
+ "name": "ooxoo",
227
260
  "content": "<rect x=\"2\" y=\"2\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
228
261
  "dependencies": {
229
262
  "colors": [
@@ -232,11 +265,13 @@
232
265
  },
233
266
  "default": true
234
267
  }
235
- }
268
+ ]
236
269
  },
237
- "row4": {
238
- "values": {
239
- "xooox": {
270
+ {
271
+ "name": "row4",
272
+ "values": [
273
+ {
274
+ "name": "xooox",
240
275
  "content": "<path d=\"M1 3H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
241
276
  "dependencies": {
242
277
  "colors": [
@@ -245,7 +280,8 @@
245
280
  },
246
281
  "default": true
247
282
  },
248
- "xxoxx": {
283
+ {
284
+ "name": "xxoxx",
249
285
  "content": "<path d=\"M2 3H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
250
286
  "dependencies": {
251
287
  "colors": [
@@ -254,7 +290,8 @@
254
290
  },
255
291
  "default": true
256
292
  },
257
- "xoxox": {
293
+ {
294
+ "name": "xoxox",
258
295
  "content": "<path d=\"M0 3h1v1H0zm4 0h1v1H4zM3 3H2v1h1z\" fill=\"url(#color-row)\"/>",
259
296
  "dependencies": {
260
297
  "colors": [
@@ -263,7 +300,8 @@
263
300
  },
264
301
  "default": true
265
302
  },
266
- "oxxxo": {
303
+ {
304
+ "name": "oxxxo",
267
305
  "content": "<rect x=\"1\" y=\"3\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
268
306
  "dependencies": {
269
307
  "colors": [
@@ -272,7 +310,8 @@
272
310
  },
273
311
  "default": true
274
312
  },
275
- "xxxxx": {
313
+ {
314
+ "name": "xxxxx",
276
315
  "content": "<rect y=\"3\" width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
277
316
  "dependencies": {
278
317
  "colors": [
@@ -281,7 +320,8 @@
281
320
  },
282
321
  "default": true
283
322
  },
284
- "oxoxo": {
323
+ {
324
+ "name": "oxoxo",
285
325
  "content": "<path d=\"M2 3H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
286
326
  "dependencies": {
287
327
  "colors": [
@@ -290,7 +330,8 @@
290
330
  },
291
331
  "default": true
292
332
  },
293
- "ooxoo": {
333
+ {
334
+ "name": "ooxoo",
294
335
  "content": "<rect x=\"2\" y=\"3\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
295
336
  "dependencies": {
296
337
  "colors": [
@@ -299,11 +340,13 @@
299
340
  },
300
341
  "default": true
301
342
  }
302
- }
343
+ ]
303
344
  },
304
- "row5": {
305
- "values": {
306
- "xooox": {
345
+ {
346
+ "name": "row5",
347
+ "values": [
348
+ {
349
+ "name": "xooox",
307
350
  "content": "<path d=\"M1 4H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
308
351
  "dependencies": {
309
352
  "colors": [
@@ -312,7 +355,8 @@
312
355
  },
313
356
  "default": true
314
357
  },
315
- "xxoxx": {
358
+ {
359
+ "name": "xxoxx",
316
360
  "content": "<path d=\"M2 4H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
317
361
  "dependencies": {
318
362
  "colors": [
@@ -321,7 +365,8 @@
321
365
  },
322
366
  "default": true
323
367
  },
324
- "xoxox": {
368
+ {
369
+ "name": "xoxox",
325
370
  "content": "<path d=\"M0 4h1v1H0zm4 0h1v1H4zM3 4H2v1h1z\" fill=\"url(#color-row)\"/>",
326
371
  "dependencies": {
327
372
  "colors": [
@@ -330,7 +375,8 @@
330
375
  },
331
376
  "default": true
332
377
  },
333
- "oxxxo": {
378
+ {
379
+ "name": "oxxxo",
334
380
  "content": "<rect x=\"1\" y=\"4\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
335
381
  "dependencies": {
336
382
  "colors": [
@@ -339,7 +385,8 @@
339
385
  },
340
386
  "default": true
341
387
  },
342
- "xxxxx": {
388
+ {
389
+ "name": "xxxxx",
343
390
  "content": "<rect y=\"4\" width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
344
391
  "dependencies": {
345
392
  "colors": [
@@ -348,7 +395,8 @@
348
395
  },
349
396
  "default": true
350
397
  },
351
- "oxoxo": {
398
+ {
399
+ "name": "oxoxo",
352
400
  "content": "<path d=\"M2 4H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
353
401
  "dependencies": {
354
402
  "colors": [
@@ -357,7 +405,8 @@
357
405
  },
358
406
  "default": true
359
407
  },
360
- "ooxoo": {
408
+ {
409
+ "name": "ooxoo",
361
410
  "content": "<rect x=\"2\" y=\"4\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
362
411
  "dependencies": {
363
412
  "colors": [
@@ -366,32 +415,33 @@
366
415
  },
367
416
  "default": true
368
417
  }
369
- }
418
+ ]
370
419
  }
371
- },
372
- "colors": {
373
- "row": {
420
+ ],
421
+ "colors": [
422
+ {
423
+ "name": "row",
374
424
  "values": [
375
- "e53935",
376
- "ffb300",
425
+ "00897b",
426
+ "00acc1",
427
+ "039be5",
377
428
  "1e88e5",
429
+ "3949ab",
430
+ "43a047",
378
431
  "546e7a",
379
- "6d4c41",
380
- "00acc1",
381
- "f4511e",
382
432
  "5e35b1",
383
- "43a047",
433
+ "6d4c41",
384
434
  "757575",
385
- "3949ab",
386
- "039be5",
387
435
  "7cb342",
436
+ "8e24aa",
388
437
  "c0ca33",
389
- "fb8c00",
390
438
  "d81b60",
391
- "8e24aa",
392
- "00897b",
393
- "fdd835"
439
+ "e53935",
440
+ "f4511e",
441
+ "fb8c00",
442
+ "fdd835",
443
+ "ffb300"
394
444
  ]
395
445
  }
396
- }
446
+ ]
397
447
  }
package/src/initials.json CHANGED
@@ -12,6 +12,10 @@
12
12
  "source": {
13
13
  "name": "DiceBear",
14
14
  "url": "https://www.dicebear.com"
15
+ },
16
+ "size": {
17
+ "width": 100,
18
+ "height": 100
15
19
  }
16
20
  },
17
21
  "body": {
@@ -20,14 +24,13 @@
20
24
  "colors": ["text"]
21
25
  }
22
26
  },
23
- "attributes": {
24
- "viewBox": "0 0 100 100"
25
- },
26
- "colors": {
27
- "text": {
27
+ "components": [],
28
+ "colors": [
29
+ {
30
+ "name": "text",
28
31
  "values": ["#000000"]
29
32
  }
30
- },
33
+ ],
31
34
  "additionalOptions": {
32
35
  "fontFamily": {
33
36
  "type": "string",