@dicebear/definitions 9.0.0-alpha.1 → 9.0.0-beta.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.
package/LICENSE.md CHANGED
@@ -1,34 +1,228 @@
1
1
  # License
2
2
 
3
3
  The designs are licensed under different licenses, which the designers can
4
- choose themselves. You can find the license in the corresponding avatar style
5
- definition file.
6
-
7
- - [adventurer-neutral.json](src/adventurer-neutral.json)
8
- - [adventurer.json](src/adventurer.json)
9
- - [avataaars-neutral.json](src/avataaars-neutral.json)
10
- - [avataaars.json](src/avataaars.json)
11
- - [big-ears-neutral.json](src/big-ears-neutral.json)
12
- - [big-ears.json](src/big-ears.json)
13
- - [big-smile.json](src/big-smile.json)
14
- - [bottts-neutral.json](src/bottts-neutral.json)
15
- - [bottts.json](src/bottts.json)
16
- - [croodles-neutral.json](src/croodles-neutral.json)
17
- - [croodles.json](src/croodles.json)
18
- - [fun-emoji.json](src/fun-emoji.json)
19
- - [icons.json](src/icons.json)
20
- - [identicon.json](src/identicon.json)
21
- - [initials.json](src/initials.json)
22
- - [lorelei-neutral.json](src/lorelei-neutral.json)
23
- - [lorelei.json](src/lorelei.json)
24
- - [micah.json](src/micah.json)
25
- - [miniavs.json](src/miniavs.json)
26
- - [notionists-neutral.json](src/notionists-neutral.json)
27
- - [notionists.json](src/notionists.json)
28
- - [open-peeps.json](src/open-peeps.json)
29
- - [personas.json](src/personas.json)
30
- - [pixel-art-neutral.json](src/pixel-art-neutral.json)
31
- - [pixel-art.json](src/pixel-art.json)
32
- - [rings.json](src/rings.json)
33
- - [shapes.json](src/shapes.json)
34
- - [thumbs.json](src/thumbs.json)
4
+ choose themselves.
5
+
6
+ ## Adventurer
7
+
8
+ | File | [src/adventurer.json](./src/adventurer.json) |
9
+ | -------: | :--------------------------------------------------------------------- |
10
+ | Designer | [Lisa Wischofsky](https://www.instagram.com/lischi_art/) |
11
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
12
+ | Source | [Adventurer](https://www.figma.com/community/file/1184595184137881796) |
13
+
14
+ ## Adventurer Neutral
15
+
16
+ | File | [src/adventurer-neutral.json](./src/adventurer-neutral.json) |
17
+ | -------: | :----------------------------------------------------------------------------- |
18
+ | Designer | [Lisa Wischofsky](https://www.instagram.com/lischi_art/) |
19
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
20
+ | Source | [Adventurer Neutral](https://www.figma.com/community/file/1184595184137881796) |
21
+
22
+ ## Avataaars
23
+
24
+ | File | [src/avataaars.json](./src/avataaars.json) |
25
+ | -------: | :------------------------------------------------------------- |
26
+ | Designer | [Pablo Stanley](https://twitter.com/pablostanley) |
27
+ | License | [Free for personal and commercial use](https://avataaars.com/) |
28
+ | Source | [Avataaars](https://avataaars.com/) |
29
+
30
+ ## Avataaars Neutral
31
+
32
+ | File | [src/avataaars-neutral.json](./src/avataaars-neutral.json) |
33
+ | -------: | :-------------------------------------------------------------- |
34
+ | Designer | [Pablo Stanley](https://twitter.com/pablostanley) |
35
+ | License | [Free for personal and commercial use.](https://avataaars.com/) |
36
+ | Source | [Avataaars](https://avataaars.com/) |
37
+
38
+ ## Big Ears
39
+
40
+ | File | [src/big-ears.json](./src/big-ears.json) |
41
+ | -------: | :------------------------------------------------------------------------ |
42
+ | Designer | [The Visual Team](https://thevisual.team/) |
43
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
44
+ | Source | [Face Generator](https://www.figma.com/community/file/986078800058673824) |
45
+
46
+ ## Big Ears Neutral
47
+
48
+ | File | [src/big-ears-neutral.json](./src/big-ears-neutral.json) |
49
+ | -------: | :------------------------------------------------------------------------ |
50
+ | Designer | [The Visual Team](https://thevisual.team/) |
51
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
52
+ | Source | [Face Generator](https://www.figma.com/community/file/986078800058673824) |
53
+
54
+ ## Big Smile
55
+
56
+ | File | [src/big-smile.json](./src/big-smile.json) |
57
+ | -------: | :----------------------------------------------------------------------- |
58
+ | Designer | [Ashley Seo](http://www.ashleyseo.com/) |
59
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
60
+ | Source | [Custom Avatar](https://www.figma.com/community/file/881358461963645496) |
61
+
62
+ ## Bottts
63
+
64
+ | File | [src/bottts.json](./src/bottts.json) |
65
+ | -------: | :---------------------------------------------------------- |
66
+ | Designer | [Pablo Stanley](https://twitter.com/pablostanley) |
67
+ | License | [Free for personal and commercial use](https://bottts.com/) |
68
+ | Source | [Bottts](https://bottts.com/) |
69
+
70
+ ## Bottts Neutral
71
+
72
+ | File | [src/bottts-neutral.json](./src/bottts-neutral.json) |
73
+ | -------: | :---------------------------------------------------------- |
74
+ | Designer | [Pablo Stanley](https://twitter.com/pablostanley) |
75
+ | License | [Free for personal and commercial use](https://bottts.com/) |
76
+ | Source | [Bottts](https://bottts.com/) |
77
+
78
+ ## Croodles
79
+
80
+ | File | [src/croodles.json](./src/croodles.json) |
81
+ | -------: | :------------------------------------------------------------------------------------- |
82
+ | Designer | [vijay verma](https://vjy.me/) |
83
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
84
+ | Source | [Croodles - Doodle your face](https://www.figma.com/community/file/966199982810283152) |
85
+
86
+ ## Croodles Neutral
87
+
88
+ | File | [src/croodles-neutral.json](./src/croodles-neutral.json) |
89
+ | -------: | :------------------------------------------------------------------------------------- |
90
+ | Designer | [vijay verma](https://vjy.me/) |
91
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
92
+ | Source | [Croodles - Doodle your face](https://www.figma.com/community/file/966199982810283152) |
93
+
94
+ ## Fun Emoji
95
+
96
+ | File | [src/fun-emoji.json](./src/fun-emoji.json) |
97
+ | -------: | :----------------------------------------------------------------------- |
98
+ | Designer | [Davis Uche](https://www.instagram.com/davedirect3/) |
99
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
100
+ | Source | [Fun Emoji Set](https://www.figma.com/community/file/968125295144990435) |
101
+
102
+ ## Icons
103
+
104
+ | File | [src/icons.json](./src/icons.json) |
105
+ | -------: | :----------------------------------------------------- |
106
+ | Designer | [The Bootstrap Authors](https://getbootstrap.com/) |
107
+ | License | [MIT](https://github.com/twbs/icons/blob/main/LICENSE) |
108
+ | Source | [Bootstrap Icons](https://github.com/twbs/icons) |
109
+
110
+ ## Identicon
111
+
112
+ | File | [src/identicon.json](./src/identicon.json) |
113
+ | -------: | :------------------------------------------------------------ |
114
+ | Designer | [Florian Körner](https://dicebear.com) |
115
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
116
+ | Source | [Identicon](https://dicebear.com) |
117
+
118
+ ## Initials
119
+
120
+ | File | [src/initials.json](./src/initials.json) |
121
+ | -------: | :------------------------------------------------------------ |
122
+ | Designer | [DiceBear](https://www.dicebear.com) |
123
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
124
+ | Source | [DiceBear](https://www.dicebear.com) |
125
+
126
+ ## Lorelei
127
+
128
+ | File | [src/lorelei.json](./src/lorelei.json) |
129
+ | -------: | :------------------------------------------------------------------ |
130
+ | Designer | [Lisa Wischofsky](https://www.instagram.com/lischi_art/) |
131
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
132
+ | Source | [Lorelei](https://www.figma.com/community/file/1198749693280469639) |
133
+
134
+ ## Lorelei Neutral
135
+
136
+ | File | [src/lorelei-neutral.json](./src/lorelei-neutral.json) |
137
+ | -------: | :-------------------------------------------------------------------------- |
138
+ | Designer | [Lisa Wischofsky](https://www.instagram.com/lischi_art/) |
139
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
140
+ | Source | [Lorelei Neutral](https://www.figma.com/community/file/1198749693280469639) |
141
+
142
+ ## Micah
143
+
144
+ | File | [src/micah.json](./src/micah.json) |
145
+ | -------: | :------------------------------------------------------------------------------------ |
146
+ | Designer | [Micah Lanier](https://dribbble.com/micahlanier) |
147
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
148
+ | Source | [Avatar Illustration System](https://www.figma.com/community/file/829741575478342595) |
149
+
150
+ ## Miniavs
151
+
152
+ | File | [src/miniavs.json](./src/miniavs.json) |
153
+ | -------: | :--------------------------------------------------------------------------------------- |
154
+ | Designer | [Webpixels](https://webpixels.io/) |
155
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
156
+ | Source | [Miniavs - Free Avatar Creator](https://www.figma.com/community/file/923211396597067458) |
157
+
158
+ ## Notionists
159
+
160
+ | File | [src/notionists.json](./src/notionists.json) |
161
+ | -------: | :------------------------------------------------------------ |
162
+ | Designer | [Zoish](https://bio.link/heyzoish) |
163
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
164
+ | Source | [Notionists](https://heyzoish.gumroad.com/l/notionists) |
165
+
166
+ ## Notionists Neutral
167
+
168
+ | File | [src/notionists-neutral.json](./src/notionists-neutral.json) |
169
+ | -------: | :------------------------------------------------------------ |
170
+ | Designer | [Zoish](https://bio.link/heyzoish) |
171
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
172
+ | Source | [Notionists](https://heyzoish.gumroad.com/l/notionists) |
173
+
174
+ ## Open Peeps
175
+
176
+ | File | [src/open-peeps.json](./src/open-peeps.json) |
177
+ | -------: | :------------------------------------------------------------ |
178
+ | Designer | [Pablo Stanley](https://twitter.com/pablostanley) |
179
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
180
+ | Source | [Open Peeps](https://www.openpeeps.com/) |
181
+
182
+ ## Personas
183
+
184
+ | File | [src/personas.json](./src/personas.json) |
185
+ | -------: | :-------------------------------------------------------- |
186
+ | Designer | [Draftbit - draftbit.com](https://draftbit.com/) |
187
+ | License | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
188
+ | Source | [Personas by Draftbit](https://personas.draftbit.com/) |
189
+
190
+ ## Pixel Art
191
+
192
+ | File | [src/pixel-art.json](./src/pixel-art.json) |
193
+ | -------: | :-------------------------------------------------------------------- |
194
+ | Designer | [Florian Körner](https://www.dicebear.com) |
195
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
196
+ | Source | [Pixel Art](https://www.figma.com/community/file/1198754108850888330) |
197
+
198
+ ## Pixel Art Neutral
199
+
200
+ | File | [src/pixel-art-neutral.json](./src/pixel-art-neutral.json) |
201
+ | -------: | :---------------------------------------------------------------------------- |
202
+ | Designer | [Florian Körner](https://www.dicebear.com) |
203
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
204
+ | Source | [Pixel Art Neutral](https://www.figma.com/community/file/1198754108850888330) |
205
+
206
+ ## Rings
207
+
208
+ | File | [src/rings.json](./src/rings.json) |
209
+ | -------: | :------------------------------------------------------------ |
210
+ | Designer | [Florian Körner](https://www.dicebear.com) |
211
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
212
+ | Source | [Rings](https://www.dicebear.com) |
213
+
214
+ ## Shapes
215
+
216
+ | File | [src/shapes.json](./src/shapes.json) |
217
+ | -------: | :------------------------------------------------------------ |
218
+ | Designer | [Florian Körner](https://www.dicebear.com) |
219
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
220
+ | Source | [Shapes](https://www.dicebear.com) |
221
+
222
+ ## Thumbs
223
+
224
+ | File | [src/thumbs.json](./src/thumbs.json) |
225
+ | -------: | :------------------------------------------------------------ |
226
+ | Designer | [Florian Körner](https://www.dicebear.com) |
227
+ | License | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) |
228
+ | Source | [Thumbs](https://www.dicebear.com) |
package/README.md CHANGED
@@ -1,3 +1,27 @@
1
- # DiceBear Avatar Style Definitions
1
+ # DiceBear Definitions
2
2
 
3
+ > [!NOTE]
4
+ > This project is still in alpha stage and will only be used in future versions
5
+ > of DiceBear.
3
6
 
7
+ This repository contains all official avatar style definitions for DiceBear. An
8
+ avatar style definition is a JSON file that describes how to create an avatar.
9
+ It contains all necessary information like available elements and colors. The
10
+ JSON files are ideal for creating avatars in different programming languages
11
+ with the corresponding DiceBear wrapper. The JSON schema for the avatar style
12
+ definitions can be found here:
13
+ [https://static.dicebear.com/schema/definition.json](https://static.dicebear.com/schema/definition.json)
14
+
15
+ ## Generate definitions
16
+
17
+ Most of the JSON files were created using the
18
+ [DiceBear Exporter](https://www.dicebear.com/guides/create-an-avatar-style-with-figma/)
19
+ for Figma. The used Figma files are linked in the `figma` folder. Files created
20
+ with this plugin are marked accordingly and should not be adjusted manually, but
21
+ exported again with the Figma plugin.
22
+
23
+ ## License
24
+
25
+ The avatar styles are licensed under different licenses. More information can be
26
+ found in the file [LICENSE.md](./LICENSE.md) or in the definition files
27
+ themselves.
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@dicebear/definitions",
3
- "version": "9.0.0-alpha.1",
3
+ "version": "9.0.0-beta.1",
4
4
  "description": "Definition files of the DiceBear avatar styles.",
5
5
  "keywords": [
6
+ "avatar",
6
7
  "dicebear"
7
8
  ],
8
9
  "bugs": {
@@ -12,6 +13,11 @@
12
13
  "type": "git",
13
14
  "url": "git+https://github.com/dicebear/definitions.git"
14
15
  },
16
+ "sideEffects": false,
17
+ "type": "module",
18
+ "scripts": {
19
+ "build": "tsx ./scripts/build.ts"
20
+ },
15
21
  "files": [
16
22
  "LICENSE",
17
23
  "src",
@@ -19,5 +25,13 @@
19
25
  ],
20
26
  "publishConfig": {
21
27
  "access": "public"
28
+ },
29
+ "devDependencies": {
30
+ "@tsconfig/recommended": "^1.0.6",
31
+ "@types/node": "^20.12.5",
32
+ "change-case": "^5.4.4",
33
+ "glob": "^10.3.12",
34
+ "markdown-table": "^3.0.3",
35
+ "tsx": "^4.7.2"
22
36
  }
23
37
  }
@@ -1,7 +1,7 @@
1
1
  {
2
- "$schema": "https://www.dicebear.com/schema/definition.json",
2
+ "$schema": "https://static.dicebear.com/schema/definition.json#",
3
3
  "$comment": "This file was generated by the DiceBear Exporter for Figma. https://www.figma.com/community/plugin/1005765655729342787",
4
- "meta": {
4
+ "metadata": {
5
5
  "license": {
6
6
  "name": "CC BY 4.0",
7
7
  "url": "https://creativecommons.org/licenses/by/4.0/"
@@ -13,22 +13,12 @@
13
13
  "source": {
14
14
  "name": "Adventurer Neutral",
15
15
  "url": "https://www.figma.com/community/file/1184595184137881796"
16
- },
17
- "size": {
18
- "width": 400,
19
- "height": 400
20
16
  }
21
17
  },
22
18
  "body": {
23
19
  "content": "<g transform=\"translate(-279 -322)\"><use href=\"url(#component-eyes)\"/></g><g transform=\"translate(-279 -322)\"><use href=\"url(#component-eyebrows)\"/></g><g transform=\"translate(-279 -322)\"><use href=\"url(#component-mouth)\"/></g><g transform=\"translate(-279 -322)\"><use href=\"url(#component-glasses)\"/></g>",
24
- "dependencies": {
25
- "components": [
26
- "eyes",
27
- "eyebrows",
28
- "mouth",
29
- "glasses"
30
- ]
31
- }
20
+ "width": 400,
21
+ "height": 400
32
22
  },
33
23
  "attributes": [
34
24
  {
@@ -43,6 +33,8 @@
43
33
  "components": [
44
34
  {
45
35
  "name": "eyebrows",
36
+ "width": 1024,
37
+ "height": 1024,
46
38
  "values": [
47
39
  {
48
40
  "name": "variant10",
@@ -123,6 +115,8 @@
123
115
  },
124
116
  {
125
117
  "name": "eyes",
118
+ "width": 1024,
119
+ "height": 1024,
126
120
  "values": [
127
121
  {
128
122
  "name": "variant26",
@@ -258,6 +252,8 @@
258
252
  },
259
253
  {
260
254
  "name": "glasses",
255
+ "width": 1024,
256
+ "height": 1024,
261
257
  "probability": 10,
262
258
  "values": [
263
259
  {
@@ -289,6 +285,8 @@
289
285
  },
290
286
  {
291
287
  "name": "mouth",
288
+ "width": 1024,
289
+ "height": 1024,
292
290
  "values": [
293
291
  {
294
292
  "name": "variant30",