@dicebear/definitions 9.0.0-alpha.0

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.
@@ -0,0 +1,397 @@
1
+ {
2
+ "$schema": "https://www.dicebear.com/schema/definition.json",
3
+ "$comment": "This file was generated by the DiceBear Exporter for Figma. https://www.figma.com/community/plugin/1005765655729342787",
4
+ "meta": {
5
+ "license": {
6
+ "name": "CC0 1.0",
7
+ "url": "https://creativecommons.org/publicdomain/zero/1.0/"
8
+ },
9
+ "creator": {
10
+ "name": "Florian Körner",
11
+ "url": "https://dicebear.com"
12
+ },
13
+ "source": {
14
+ "name": "Identicon",
15
+ "url": "https://dicebear.com"
16
+ }
17
+ },
18
+ "body": {
19
+ "content": "<use href=\"url(#component-row1)\"/><use href=\"url(#component-row2)\"/><use href=\"url(#component-row3)\"/><use href=\"url(#component-row4)\"/><use href=\"url(#component-row5)\"/>",
20
+ "dependencies": {
21
+ "components": [
22
+ "row1",
23
+ "row2",
24
+ "row3",
25
+ "row4",
26
+ "row5"
27
+ ]
28
+ }
29
+ },
30
+ "attributes": {
31
+ "viewBox": "0 0 5 5",
32
+ "fill": "none",
33
+ "shapeRendering": "crispEdges"
34
+ },
35
+ "components": {
36
+ "row1": {
37
+ "values": {
38
+ "xooox": {
39
+ "content": "<path d=\"M1 0H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
40
+ "dependencies": {
41
+ "colors": [
42
+ "row"
43
+ ]
44
+ },
45
+ "default": true
46
+ },
47
+ "xxoxx": {
48
+ "content": "<path d=\"M2 0H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
49
+ "dependencies": {
50
+ "colors": [
51
+ "row"
52
+ ]
53
+ },
54
+ "default": true
55
+ },
56
+ "xoxox": {
57
+ "content": "<path d=\"M0 0h1v1H0zm4 0h1v1H4zM3 0H2v1h1z\" fill=\"url(#color-row)\"/>",
58
+ "dependencies": {
59
+ "colors": [
60
+ "row"
61
+ ]
62
+ },
63
+ "default": true
64
+ },
65
+ "oxxxo": {
66
+ "content": "<rect x=\"1\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
67
+ "dependencies": {
68
+ "colors": [
69
+ "row"
70
+ ]
71
+ },
72
+ "default": true
73
+ },
74
+ "xxxxx": {
75
+ "content": "<rect width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
76
+ "dependencies": {
77
+ "colors": [
78
+ "row"
79
+ ]
80
+ },
81
+ "default": true
82
+ },
83
+ "oxoxo": {
84
+ "content": "<path d=\"M2 0H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
85
+ "dependencies": {
86
+ "colors": [
87
+ "row"
88
+ ]
89
+ },
90
+ "default": true
91
+ },
92
+ "ooxoo": {
93
+ "content": "<rect x=\"2\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
94
+ "dependencies": {
95
+ "colors": [
96
+ "row"
97
+ ]
98
+ },
99
+ "default": true
100
+ }
101
+ }
102
+ },
103
+ "row2": {
104
+ "values": {
105
+ "xooox": {
106
+ "content": "<path d=\"M1 1H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
107
+ "dependencies": {
108
+ "colors": [
109
+ "row"
110
+ ]
111
+ },
112
+ "default": true
113
+ },
114
+ "xxoxx": {
115
+ "content": "<path d=\"M2 1H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
116
+ "dependencies": {
117
+ "colors": [
118
+ "row"
119
+ ]
120
+ },
121
+ "default": true
122
+ },
123
+ "xoxox": {
124
+ "content": "<path d=\"M0 1h1v1H0zm4 0h1v1H4zM3 1H2v1h1z\" fill=\"url(#color-row)\"/>",
125
+ "dependencies": {
126
+ "colors": [
127
+ "row"
128
+ ]
129
+ },
130
+ "default": true
131
+ },
132
+ "oxxxo": {
133
+ "content": "<rect x=\"1\" y=\"1\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
134
+ "dependencies": {
135
+ "colors": [
136
+ "row"
137
+ ]
138
+ },
139
+ "default": true
140
+ },
141
+ "xxxxx": {
142
+ "content": "<rect y=\"1\" width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
143
+ "dependencies": {
144
+ "colors": [
145
+ "row"
146
+ ]
147
+ },
148
+ "default": true
149
+ },
150
+ "oxoxo": {
151
+ "content": "<path d=\"M2 1H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
152
+ "dependencies": {
153
+ "colors": [
154
+ "row"
155
+ ]
156
+ },
157
+ "default": true
158
+ },
159
+ "ooxoo": {
160
+ "content": "<rect x=\"2\" y=\"1\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
161
+ "dependencies": {
162
+ "colors": [
163
+ "row"
164
+ ]
165
+ },
166
+ "default": true
167
+ }
168
+ }
169
+ },
170
+ "row3": {
171
+ "values": {
172
+ "xooox": {
173
+ "content": "<path d=\"M1 2H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
174
+ "dependencies": {
175
+ "colors": [
176
+ "row"
177
+ ]
178
+ },
179
+ "default": true
180
+ },
181
+ "xxoxx": {
182
+ "content": "<path d=\"M2 2H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
183
+ "dependencies": {
184
+ "colors": [
185
+ "row"
186
+ ]
187
+ },
188
+ "default": true
189
+ },
190
+ "xoxox": {
191
+ "content": "<path d=\"M0 2h1v1H0zm4 0h1v1H4zM3 2H2v1h1z\" fill=\"url(#color-row)\"/>",
192
+ "dependencies": {
193
+ "colors": [
194
+ "row"
195
+ ]
196
+ },
197
+ "default": true
198
+ },
199
+ "oxxxo": {
200
+ "content": "<rect x=\"1\" y=\"2\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
201
+ "dependencies": {
202
+ "colors": [
203
+ "row"
204
+ ]
205
+ },
206
+ "default": true
207
+ },
208
+ "xxxxx": {
209
+ "content": "<rect y=\"2\" width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
210
+ "dependencies": {
211
+ "colors": [
212
+ "row"
213
+ ]
214
+ },
215
+ "default": true
216
+ },
217
+ "oxoxo": {
218
+ "content": "<path d=\"M2 2H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
219
+ "dependencies": {
220
+ "colors": [
221
+ "row"
222
+ ]
223
+ },
224
+ "default": true
225
+ },
226
+ "ooxoo": {
227
+ "content": "<rect x=\"2\" y=\"2\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
228
+ "dependencies": {
229
+ "colors": [
230
+ "row"
231
+ ]
232
+ },
233
+ "default": true
234
+ }
235
+ }
236
+ },
237
+ "row4": {
238
+ "values": {
239
+ "xooox": {
240
+ "content": "<path d=\"M1 3H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
241
+ "dependencies": {
242
+ "colors": [
243
+ "row"
244
+ ]
245
+ },
246
+ "default": true
247
+ },
248
+ "xxoxx": {
249
+ "content": "<path d=\"M2 3H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
250
+ "dependencies": {
251
+ "colors": [
252
+ "row"
253
+ ]
254
+ },
255
+ "default": true
256
+ },
257
+ "xoxox": {
258
+ "content": "<path d=\"M0 3h1v1H0zm4 0h1v1H4zM3 3H2v1h1z\" fill=\"url(#color-row)\"/>",
259
+ "dependencies": {
260
+ "colors": [
261
+ "row"
262
+ ]
263
+ },
264
+ "default": true
265
+ },
266
+ "oxxxo": {
267
+ "content": "<rect x=\"1\" y=\"3\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
268
+ "dependencies": {
269
+ "colors": [
270
+ "row"
271
+ ]
272
+ },
273
+ "default": true
274
+ },
275
+ "xxxxx": {
276
+ "content": "<rect y=\"3\" width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
277
+ "dependencies": {
278
+ "colors": [
279
+ "row"
280
+ ]
281
+ },
282
+ "default": true
283
+ },
284
+ "oxoxo": {
285
+ "content": "<path d=\"M2 3H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
286
+ "dependencies": {
287
+ "colors": [
288
+ "row"
289
+ ]
290
+ },
291
+ "default": true
292
+ },
293
+ "ooxoo": {
294
+ "content": "<rect x=\"2\" y=\"3\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
295
+ "dependencies": {
296
+ "colors": [
297
+ "row"
298
+ ]
299
+ },
300
+ "default": true
301
+ }
302
+ }
303
+ },
304
+ "row5": {
305
+ "values": {
306
+ "xooox": {
307
+ "content": "<path d=\"M1 4H0v1h1zm4 0H4v1h1z\" fill=\"url(#color-row)\"/>",
308
+ "dependencies": {
309
+ "colors": [
310
+ "row"
311
+ ]
312
+ },
313
+ "default": true
314
+ },
315
+ "xxoxx": {
316
+ "content": "<path d=\"M2 4H0v1h2zm3 0H3v1h2z\" fill=\"url(#color-row)\"/>",
317
+ "dependencies": {
318
+ "colors": [
319
+ "row"
320
+ ]
321
+ },
322
+ "default": true
323
+ },
324
+ "xoxox": {
325
+ "content": "<path d=\"M0 4h1v1H0zm4 0h1v1H4zM3 4H2v1h1z\" fill=\"url(#color-row)\"/>",
326
+ "dependencies": {
327
+ "colors": [
328
+ "row"
329
+ ]
330
+ },
331
+ "default": true
332
+ },
333
+ "oxxxo": {
334
+ "content": "<rect x=\"1\" y=\"4\" width=\"3\" height=\"1\" fill=\"url(#color-row)\"/>",
335
+ "dependencies": {
336
+ "colors": [
337
+ "row"
338
+ ]
339
+ },
340
+ "default": true
341
+ },
342
+ "xxxxx": {
343
+ "content": "<rect y=\"4\" width=\"5\" height=\"1\" fill=\"url(#color-row)\"/>",
344
+ "dependencies": {
345
+ "colors": [
346
+ "row"
347
+ ]
348
+ },
349
+ "default": true
350
+ },
351
+ "oxoxo": {
352
+ "content": "<path d=\"M2 4H1v1h1zm2 0H3v1h1z\" fill=\"url(#color-row)\"/>",
353
+ "dependencies": {
354
+ "colors": [
355
+ "row"
356
+ ]
357
+ },
358
+ "default": true
359
+ },
360
+ "ooxoo": {
361
+ "content": "<rect x=\"2\" y=\"4\" width=\"1\" height=\"1\" fill=\"url(#color-row)\"/>",
362
+ "dependencies": {
363
+ "colors": [
364
+ "row"
365
+ ]
366
+ },
367
+ "default": true
368
+ }
369
+ }
370
+ }
371
+ },
372
+ "colors": {
373
+ "row": {
374
+ "values": [
375
+ "e53935",
376
+ "ffb300",
377
+ "1e88e5",
378
+ "546e7a",
379
+ "6d4c41",
380
+ "00acc1",
381
+ "f4511e",
382
+ "5e35b1",
383
+ "43a047",
384
+ "757575",
385
+ "3949ab",
386
+ "039be5",
387
+ "7cb342",
388
+ "c0ca33",
389
+ "fb8c00",
390
+ "d81b60",
391
+ "8e24aa",
392
+ "00897b",
393
+ "fdd835"
394
+ ]
395
+ }
396
+ }
397
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "$schema": "https://www.dicebear.com/schema/definition.json",
3
+ "meta": {
4
+ "license": {
5
+ "name": "CC0 1.0",
6
+ "url": "https://creativecommons.org/publicdomain/zero/1.0/"
7
+ },
8
+ "creator": {
9
+ "name": "DiceBear",
10
+ "url": "https://www.dicebear.com"
11
+ },
12
+ "source": {
13
+ "name": "DiceBear",
14
+ "url": "https://www.dicebear.com"
15
+ }
16
+ },
17
+ "body": {
18
+ "content": "<text x=\"50%\" y=\"50%\" font-family=\"{{options.fontFamily}}, sans-serif\" font-size=\"{{options.fontSize}}\" fill=\"{{colors.text}}\" text-anchor=\"middle\" style=\"transform: translateY(calc({{options.fontSize}}px * .356))\">{{prng.initials}}</text>",
19
+ "dependencies": {
20
+ "colors": ["text"]
21
+ }
22
+ },
23
+ "attributes": {
24
+ "viewBox": "0 0 100 100"
25
+ },
26
+ "colors": {
27
+ "text": {
28
+ "values": ["#000000"]
29
+ }
30
+ },
31
+ "additionalOptions": {
32
+ "fontFamily": {
33
+ "type": "string",
34
+ "enum": [
35
+ "Arial",
36
+ "Verdana",
37
+ "Helvetica",
38
+ "Tahoma",
39
+ "Trebuchet MS",
40
+ "Times New Roman",
41
+ "Georgia",
42
+ "Garamond",
43
+ "Courier New",
44
+ "Brush Script MT",
45
+ "sans-serif",
46
+ "serif"
47
+ ],
48
+ "default": "Arial"
49
+ },
50
+ "fontSize": {
51
+ "type": "integer",
52
+ "minimum": 1,
53
+ "maximum": 100,
54
+ "default": 50
55
+ },
56
+ "fontWeight": {
57
+ "type": "integer",
58
+ "default": 400,
59
+ "enum": [100, 200, 300, 400, 500, 600, 700, 800, 900]
60
+ }
61
+ }
62
+ }