@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.
package/src/rings.json ADDED
@@ -0,0 +1,278 @@
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://www.dicebear.com"
12
+ },
13
+ "source": {
14
+ "name": "Rings",
15
+ "url": "https://www.dicebear.com"
16
+ }
17
+ },
18
+ "body": {
19
+ "content": "<use href=\"url(#component-ring)\"/>",
20
+ "dependencies": {
21
+ "components": [
22
+ "ring"
23
+ ]
24
+ }
25
+ },
26
+ "attributes": {
27
+ "viewBox": "0 0 100 100",
28
+ "fill": "none",
29
+ "shapeRendering": "crispEdges"
30
+ },
31
+ "components": {
32
+ "ring": {
33
+ "rotation": 180,
34
+ "values": {
35
+ "container": {
36
+ "content": "<use href=\"url(#component-ringOne)\"/><use href=\"url(#component-ringTwo)\"/><use href=\"url(#component-ringThree)\"/><use href=\"url(#component-ringFour)\"/><use href=\"url(#component-ringFive)\"/><g transform=\"matrix(1 0 0 -1 0 100)\"><use href=\"url(#component-ringOne)\"/></g><g transform=\"matrix(1 0 0 -1 0 100)\"><use href=\"url(#component-ringTwo)\"/></g><g transform=\"matrix(1 0 0 -1 0 100)\"><use href=\"url(#component-ringThree)\"/></g><g transform=\"matrix(1 0 0 -1 0 100)\"><use href=\"url(#component-ringFour)\"/></g><g transform=\"matrix(1 0 0 -1 0 100)\"><use href=\"url(#component-ringFive)\"/></g><circle cx=\"50\" cy=\"50\" r=\"45\" stroke=\"white\" stroke-opacity=\"0.25\" stroke-width=\"10\" style=\"mix-blend-mode:lighten\"/><circle cx=\"50\" cy=\"50\" r=\"25\" stroke=\"white\" stroke-opacity=\"0.25\" stroke-width=\"10\" style=\"mix-blend-mode:lighten\"/><circle cx=\"50\" cy=\"50\" r=\"10\" fill=\"white\" fill-opacity=\"0.25\" style=\"mix-blend-mode:lighten\"/>",
37
+ "dependencies": {
38
+ "components": [
39
+ "ringOne",
40
+ "ringTwo",
41
+ "ringThree",
42
+ "ringFour",
43
+ "ringFive"
44
+ ]
45
+ },
46
+ "default": true
47
+ }
48
+ }
49
+ },
50
+ "ringOne": {
51
+ "rotation": 180,
52
+ "values": {
53
+ "half": {
54
+ "content": "<path d=\"M90 50h10c0-27.614-22.386-50-50-50S0 22.386 0 50h10c0-22.091 17.909-40 40-40s40 17.909 40 40\" fill=\"url(#color-ring)\"/>",
55
+ "dependencies": {
56
+ "colors": [
57
+ "ring"
58
+ ]
59
+ },
60
+ "default": true
61
+ },
62
+ "quarter": {
63
+ "content": "<path d=\"M50 10V0C22.386 0 0 22.386 0 50h10c0-22.091 17.909-40 40-40\" fill=\"url(#color-ring)\"/>",
64
+ "dependencies": {
65
+ "colors": [
66
+ "ring"
67
+ ]
68
+ },
69
+ "default": true
70
+ },
71
+ "eighth": {
72
+ "content": "<path d=\"M21.716 21.716C14.476 28.954 10 38.954 10 50H0c0-13.807 5.596-26.307 14.645-35.355z\" fill=\"url(#color-ring)\"/>",
73
+ "dependencies": {
74
+ "colors": [
75
+ "ring"
76
+ ]
77
+ },
78
+ "default": false
79
+ },
80
+ "full": {
81
+ "content": "<circle cx=\"50\" cy=\"50\" r=\"45\" stroke=\"url(#color-ring)\" stroke-width=\"10\"/>",
82
+ "dependencies": {
83
+ "colors": [
84
+ "ring"
85
+ ]
86
+ },
87
+ "default": false
88
+ }
89
+ }
90
+ },
91
+ "ringTwo": {
92
+ "rotation": 180,
93
+ "values": {
94
+ "eighth": {
95
+ "content": "<path d=\"M20 50c0-8.284 3.358-15.784 8.787-21.213l-7.071-7.071C14.476 28.954 10 38.954 10 50z\" fill=\"url(#color-ring)\"/>",
96
+ "dependencies": {
97
+ "colors": [
98
+ "ring"
99
+ ]
100
+ },
101
+ "default": false
102
+ },
103
+ "quarter": {
104
+ "content": "<path d=\"M50 10c-22.091 0-40 17.909-40 40h10c0-16.568 13.432-30 30-30z\" fill=\"url(#color-ring)\"/>",
105
+ "dependencies": {
106
+ "colors": [
107
+ "ring"
108
+ ]
109
+ },
110
+ "default": true
111
+ },
112
+ "half": {
113
+ "content": "<path d=\"M90 50c0-22.091-17.909-40-40-40S10 27.909 10 50h10c0-16.568 13.432-30 30-30 16.569 0 30 13.432 30 30z\" fill=\"url(#color-ring)\"/>",
114
+ "dependencies": {
115
+ "colors": [
116
+ "ring"
117
+ ]
118
+ },
119
+ "default": true
120
+ },
121
+ "full": {
122
+ "content": "<circle cx=\"50\" cy=\"50\" r=\"35\" stroke=\"url(#color-ring)\" stroke-width=\"10\"/>",
123
+ "dependencies": {
124
+ "colors": [
125
+ "ring"
126
+ ]
127
+ },
128
+ "default": false
129
+ }
130
+ }
131
+ },
132
+ "ringThree": {
133
+ "rotation": 180,
134
+ "values": {
135
+ "eighth": {
136
+ "content": "<path d=\"M30 50a19.94 19.94 0 0 1 5.858-14.142l-7.071-7.07A29.9 29.9 0 0 0 20 50z\" fill=\"url(#color-ring)\"/>",
137
+ "dependencies": {
138
+ "colors": [
139
+ "ring"
140
+ ]
141
+ },
142
+ "default": false
143
+ },
144
+ "quarter": {
145
+ "content": "<path d=\"M50 20c-16.568 0-30 13.432-30 30h10c0-11.046 8.954-20 20-20z\" fill=\"url(#color-ring)\"/>",
146
+ "dependencies": {
147
+ "colors": [
148
+ "ring"
149
+ ]
150
+ },
151
+ "default": true
152
+ },
153
+ "half": {
154
+ "content": "<path d=\"M80 50c0-16.568-13.431-30-30-30-16.568 0-30 13.432-30 30h10c0-11.046 8.954-20 20-20s20 8.954 20 20z\" fill=\"url(#color-ring)\"/>",
155
+ "dependencies": {
156
+ "colors": [
157
+ "ring"
158
+ ]
159
+ },
160
+ "default": true
161
+ },
162
+ "full": {
163
+ "content": "<circle cx=\"50\" cy=\"50\" r=\"25\" stroke=\"url(#color-ring)\" stroke-width=\"10\"/>",
164
+ "dependencies": {
165
+ "colors": [
166
+ "ring"
167
+ ]
168
+ },
169
+ "default": false
170
+ }
171
+ }
172
+ },
173
+ "ringFour": {
174
+ "rotation": 180,
175
+ "values": {
176
+ "eighth": {
177
+ "content": "<path d=\"M40 50a9.97 9.97 0 0 1 2.929-7.071l-7.071-7.071A19.94 19.94 0 0 0 30 50z\" fill=\"url(#color-ring)\"/>",
178
+ "dependencies": {
179
+ "colors": [
180
+ "ring"
181
+ ]
182
+ },
183
+ "default": false
184
+ },
185
+ "quarter": {
186
+ "content": "<path d=\"M50 30c-11.046 0-20 8.954-20 20h10c0-5.523 4.477-10 10-10z\" fill=\"url(#color-ring)\"/>",
187
+ "dependencies": {
188
+ "colors": [
189
+ "ring"
190
+ ]
191
+ },
192
+ "default": true
193
+ },
194
+ "half": {
195
+ "content": "<path d=\"M70 50c0-11.046-8.954-20-20-20s-20 8.954-20 20h10c0-5.523 4.477-10 10-10s10 4.477 10 10z\" fill=\"url(#color-ring)\"/>",
196
+ "dependencies": {
197
+ "colors": [
198
+ "ring"
199
+ ]
200
+ },
201
+ "default": true
202
+ },
203
+ "full": {
204
+ "content": "<circle cx=\"50\" cy=\"50\" r=\"15\" stroke=\"url(#color-ring)\" stroke-width=\"10\"/>",
205
+ "dependencies": {
206
+ "colors": [
207
+ "ring"
208
+ ]
209
+ },
210
+ "default": false
211
+ }
212
+ }
213
+ },
214
+ "ringFive": {
215
+ "rotation": 180,
216
+ "values": {
217
+ "eighth": {
218
+ "content": "<path d=\"m42.929 42.929 7.07 7.07h-10a9.97 9.97 0 0 1 2.93-7.07\" fill=\"url(#color-ring)\"/>",
219
+ "dependencies": {
220
+ "colors": [
221
+ "ring"
222
+ ]
223
+ },
224
+ "default": false
225
+ },
226
+ "quarter": {
227
+ "content": "<path d=\"M50 40v10H40c0-5.523 4.477-10 10-10\" fill=\"url(#color-ring)\"/>",
228
+ "dependencies": {
229
+ "colors": [
230
+ "ring"
231
+ ]
232
+ },
233
+ "default": false
234
+ },
235
+ "half": {
236
+ "content": "<path d=\"M60 50c0-5.523-4.477-10-10-10s-10 4.477-10 10z\" fill=\"url(#color-ring)\"/>",
237
+ "dependencies": {
238
+ "colors": [
239
+ "ring"
240
+ ]
241
+ },
242
+ "default": false
243
+ },
244
+ "full": {
245
+ "content": "<circle cx=\"50\" cy=\"50\" r=\"10\" fill=\"url(#color-ring)\"/>",
246
+ "dependencies": {
247
+ "colors": [
248
+ "ring"
249
+ ]
250
+ },
251
+ "default": true
252
+ }
253
+ }
254
+ }
255
+ },
256
+ "colors": {
257
+ "ring": {
258
+ "values": [
259
+ "ffd54f",
260
+ "64b5f6",
261
+ "4dd0e1",
262
+ "ff8a65",
263
+ "9575cd",
264
+ "81c784",
265
+ "7986cb",
266
+ "4fc3f7",
267
+ "aed581",
268
+ "dce775",
269
+ "ffb74d",
270
+ "f06292",
271
+ "ba68c8",
272
+ "e57373",
273
+ "4db6ac",
274
+ "fff176"
275
+ ]
276
+ }
277
+ }
278
+ }
@@ -0,0 +1,299 @@
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://www.dicebear.com"
12
+ },
13
+ "source": {
14
+ "name": "Shapes",
15
+ "url": "https://www.dicebear.com"
16
+ }
17
+ },
18
+ "body": {
19
+ "content": "<g transform=\"matrix(1.2 0 0 1.2 -10 -10)\"><use href=\"url(#component-shape1)\"/></g><g transform=\"matrix(.8 0 0 .8 10 10)\"><use href=\"url(#component-shape2)\"/></g><g transform=\"matrix(.4 0 0 .4 30 30)\"><use href=\"url(#component-shape3)\"/></g>",
20
+ "dependencies": {
21
+ "components": [
22
+ "shape1",
23
+ "shape2",
24
+ "shape3"
25
+ ]
26
+ }
27
+ },
28
+ "attributes": {
29
+ "viewBox": "0 0 100 100",
30
+ "fill": "none",
31
+ "shapeRendering": "auto"
32
+ },
33
+ "components": {
34
+ "shape1": {
35
+ "rotation": 160,
36
+ "offset": {
37
+ "x": 75,
38
+ "y": 75
39
+ },
40
+ "values": {
41
+ "rectangle": {
42
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M90 10H10v80h80zM0 0v100h100V0z\" fill=\"url(#color-shape1)\"/>",
43
+ "dependencies": {
44
+ "colors": [
45
+ "shape1"
46
+ ]
47
+ },
48
+ "default": false
49
+ },
50
+ "rectangleFilled": {
51
+ "content": "<path d=\"M0 0h100v100H0z\" fill=\"url(#color-shape1)\"/>",
52
+ "dependencies": {
53
+ "colors": [
54
+ "shape1"
55
+ ]
56
+ },
57
+ "default": true
58
+ },
59
+ "ellipseFilled": {
60
+ "content": "<path d=\"M100 50A50 50 0 1 1 0 50a50 50 0 0 1 100 0\" fill=\"url(#color-shape1)\"/>",
61
+ "dependencies": {
62
+ "colors": [
63
+ "shape1"
64
+ ]
65
+ },
66
+ "default": true
67
+ },
68
+ "ellipse": {
69
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M50 90a40 40 0 1 0 0-80 40 40 0 0 0 0 80m0 10A50 50 0 1 0 50 0a50 50 0 0 0 0 100\" fill=\"url(#color-shape1)\"/>",
70
+ "dependencies": {
71
+ "colors": [
72
+ "shape1"
73
+ ]
74
+ },
75
+ "default": false
76
+ },
77
+ "polygonFilled": {
78
+ "content": "<path d=\"m50 7 50 86.6H0z\" fill=\"url(#color-shape1)\"/>",
79
+ "dependencies": {
80
+ "colors": [
81
+ "shape1"
82
+ ]
83
+ },
84
+ "default": true
85
+ },
86
+ "polygon": {
87
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M50 7 0 93.6h100zm0 20L17.3 83.6h65.4z\" fill=\"url(#color-shape1)\"/>",
88
+ "dependencies": {
89
+ "colors": [
90
+ "shape1"
91
+ ]
92
+ },
93
+ "default": false
94
+ },
95
+ "line": {
96
+ "content": "<rect x=\"45\" y=\"-150\" width=\"10\" height=\"400\" fill=\"url(#color-shape1)\"/>",
97
+ "dependencies": {
98
+ "colors": [
99
+ "shape1"
100
+ ]
101
+ },
102
+ "default": false
103
+ }
104
+ }
105
+ },
106
+ "shape2": {
107
+ "rotation": 180,
108
+ "offset": {
109
+ "x": 50,
110
+ "y": 50
111
+ },
112
+ "values": {
113
+ "rectangle": {
114
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M90 10H10v80h80zM0 0v100h100V0z\" fill=\"url(#color-shape2)\"/>",
115
+ "dependencies": {
116
+ "colors": [
117
+ "shape2"
118
+ ]
119
+ },
120
+ "default": false
121
+ },
122
+ "rectangleFilled": {
123
+ "content": "<path d=\"M0 0h100v100H0z\" fill=\"url(#color-shape2)\"/>",
124
+ "dependencies": {
125
+ "colors": [
126
+ "shape2"
127
+ ]
128
+ },
129
+ "default": true
130
+ },
131
+ "ellipseFilled": {
132
+ "content": "<path d=\"M100 50A50 50 0 1 1 0 50a50 50 0 0 1 100 0\" fill=\"url(#color-shape2)\"/>",
133
+ "dependencies": {
134
+ "colors": [
135
+ "shape2"
136
+ ]
137
+ },
138
+ "default": true
139
+ },
140
+ "ellipse": {
141
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M50 90a40 40 0 1 0 0-80 40 40 0 0 0 0 80m0 10A50 50 0 1 0 50 0a50 50 0 0 0 0 100\" fill=\"url(#color-shape2)\"/>",
142
+ "dependencies": {
143
+ "colors": [
144
+ "shape2"
145
+ ]
146
+ },
147
+ "default": false
148
+ },
149
+ "polygonFilled": {
150
+ "content": "<path d=\"m50 7 50 86.6H0z\" fill=\"url(#color-shape2)\"/>",
151
+ "dependencies": {
152
+ "colors": [
153
+ "shape2"
154
+ ]
155
+ },
156
+ "default": true
157
+ },
158
+ "polygon": {
159
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M50 7 0 93.6h100zm0 20L17.3 83.6h65.4z\" fill=\"url(#color-shape2)\"/>",
160
+ "dependencies": {
161
+ "colors": [
162
+ "shape2"
163
+ ]
164
+ },
165
+ "default": false
166
+ },
167
+ "line": {
168
+ "content": "<rect x=\"45\" y=\"-150\" width=\"10\" height=\"400\" fill=\"url(#color-shape2)\"/>",
169
+ "dependencies": {
170
+ "colors": [
171
+ "shape2"
172
+ ]
173
+ },
174
+ "default": true
175
+ }
176
+ }
177
+ },
178
+ "shape3": {
179
+ "rotation": 180,
180
+ "offset": {
181
+ "x": 25,
182
+ "y": 25
183
+ },
184
+ "values": {
185
+ "rectangle": {
186
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M90 10H10v80h80zM0 0v100h100V0z\" fill=\"url(#color-shape3)\"/>",
187
+ "dependencies": {
188
+ "colors": [
189
+ "shape3"
190
+ ]
191
+ },
192
+ "default": true
193
+ },
194
+ "rectangleFilled": {
195
+ "content": "<path d=\"M0 0h100v100H0z\" fill=\"url(#color-shape3)\"/>",
196
+ "dependencies": {
197
+ "colors": [
198
+ "shape3"
199
+ ]
200
+ },
201
+ "default": true
202
+ },
203
+ "ellipseFilled": {
204
+ "content": "<path d=\"M100 50A50 50 0 1 1 0 50a50 50 0 0 1 100 0\" fill=\"url(#color-shape3)\"/>",
205
+ "dependencies": {
206
+ "colors": [
207
+ "shape3"
208
+ ]
209
+ },
210
+ "default": true
211
+ },
212
+ "ellipse": {
213
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M50 90a40 40 0 1 0 0-80 40 40 0 0 0 0 80m0 10A50 50 0 1 0 50 0a50 50 0 0 0 0 100\" fill=\"url(#color-shape3)\"/>",
214
+ "dependencies": {
215
+ "colors": [
216
+ "shape3"
217
+ ]
218
+ },
219
+ "default": true
220
+ },
221
+ "polygonFilled": {
222
+ "content": "<path d=\"m50 7 50 86.6H0z\" fill=\"url(#color-shape3)\"/>",
223
+ "dependencies": {
224
+ "colors": [
225
+ "shape3"
226
+ ]
227
+ },
228
+ "default": true
229
+ },
230
+ "polygon": {
231
+ "content": "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M50 7 0 93.6h100zm0 20L17.3 83.6h65.4z\" fill=\"url(#color-shape3)\"/>",
232
+ "dependencies": {
233
+ "colors": [
234
+ "shape3"
235
+ ]
236
+ },
237
+ "default": true
238
+ },
239
+ "line": {
240
+ "content": "<rect x=\"45\" y=\"-150\" width=\"10\" height=\"400\" fill=\"url(#color-shape3)\"/>",
241
+ "dependencies": {
242
+ "colors": [
243
+ "shape3"
244
+ ]
245
+ },
246
+ "default": true
247
+ }
248
+ }
249
+ }
250
+ },
251
+ "colors": {
252
+ "shape1": {
253
+ "differentFromColor": "background",
254
+ "values": [
255
+ "0a5b83",
256
+ "1c799f",
257
+ "69d2e7",
258
+ "f1f4dc",
259
+ "f88c49"
260
+ ]
261
+ },
262
+ "shape2": {
263
+ "differentFromColor": "shape1",
264
+ "values": [
265
+ "0a5b83",
266
+ "1c799f",
267
+ "69d2e7",
268
+ "f1f4dc",
269
+ "f88c49"
270
+ ]
271
+ },
272
+ "shape3": {
273
+ "differentFromColor": "shape2",
274
+ "values": [
275
+ "0a5b83",
276
+ "1c799f",
277
+ "69d2e7",
278
+ "f1f4dc",
279
+ "f88c49"
280
+ ]
281
+ }
282
+ },
283
+ "additionalOptions": {
284
+ "backgroundColor": {
285
+ "type": "array",
286
+ "items": {
287
+ "type": "string",
288
+ "pattern": "^(transparent|[a-fA-F0-9]{6})$"
289
+ },
290
+ "default": [
291
+ "0a5b83",
292
+ "1c799f",
293
+ "69d2e7",
294
+ "f1f4dc",
295
+ "f88c49"
296
+ ]
297
+ }
298
+ }
299
+ }