@dicebear/croodles 5.3.3 → 6.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/README.md +7 -7
- package/lib/components/eyes.js +3 -3
- package/lib/components/top.js +5 -5
- package/lib/utils/getComponents.js +7 -7
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<img src="https://api.dicebear.com/
|
|
9
|
-
<img src="https://api.dicebear.com/
|
|
10
|
-
<img src="https://api.dicebear.com/
|
|
11
|
-
<img src="https://api.dicebear.com/
|
|
12
|
-
<img src="https://api.dicebear.com/
|
|
13
|
-
<img src="https://api.dicebear.com/
|
|
14
|
-
<img src="https://api.dicebear.com/
|
|
8
|
+
<img src="https://api.dicebear.com/6.x/croodles/svg?seed=Mimi" width="64" />
|
|
9
|
+
<img src="https://api.dicebear.com/6.x/croodles/svg?seed=Sasha" width="64" />
|
|
10
|
+
<img src="https://api.dicebear.com/6.x/croodles/svg?seed=Lilly" width="64" />
|
|
11
|
+
<img src="https://api.dicebear.com/6.x/croodles/svg?seed=Tigger" width="64" />
|
|
12
|
+
<img src="https://api.dicebear.com/6.x/croodles/svg?seed=Bella" width="64" />
|
|
13
|
+
<img src="https://api.dicebear.com/6.x/croodles/svg?seed=Zoe" width="64" />
|
|
14
|
+
<img src="https://api.dicebear.com/6.x/croodles/svg?seed=Kitty" width="64" />
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
package/lib/components/eyes.js
CHANGED
|
@@ -11,14 +11,14 @@ export const eyes = {
|
|
|
11
11
|
'variant13': (components, colors) => `<g stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M26.8 19.1c1.3 1.2 4.7 2.4 8.6 1.7 3.5-.5 5-2 6-3.9M70 16.1c2 2.6 5.4 3.4 7.6 3.6 2.2 0 5-.8 7.2-2M4 20.5 17.7 29M48.2 32.8A31.5 31.5 0 0 1 68.7 31M96.9 28.7c2.5-1.4 10.6-7.8 13.1-9.7"/><path d="M22.6 46c-8.3-3.1-7.6-11.4-3.7-17.2 3-3.8 22.8-2.2 27.2 1.8 4.2 3.8 2.3 11.8-1.8 14.3-3.4 2-16.2 3.1-21.7 1ZM94.4 26.7c-3.6-1.2-18.2-1-24 2.6-3.8 2.5-6.5 14.7 3.6 16 4.6.7 14.9 0 18.7-1.8 8.2-3.9 6.8-15.2 1.7-16.8Z"/><path d="M29.7 35.3c1-2 3.2-2.6 4.1-2.6 3.1 0 4 1.3 4.7 2.1M78 35.3c1-2 3.1-2.6 4-2.6 3.2 0 4 1.3 4.7 2.1"/></g>`,
|
|
12
12
|
'variant12': (components, colors) => `<path d="M33 35.6c-1.8-1.7.5-4.4 2.5-3.4 2.5 1.3 3.4 4.3 1.2 6.5s-7.2.8-7.5-4.5c-.3-5.3 6.5-9.2 10-3 3.3 6.3 2.2 11.9-5.2 11.9-5.1 0-7.3-3.6-7.9-7-1-6.7 2.5-13.6 9.7-12 4.5 1 9.7 4 8.8 13.3-1 9.3-6 10.3-12.3 9.2-7.7-1.3-9.8-8.2-7.3-16M78.5 35.6c-1.9-1.7.4-4.4 2.4-3.4 2.5 1.3 3.4 4.3 1.2 6.5-2.1 2.2-7.1.8-7.5-4.5-.3-5.3 6.5-9.2 10-3 3.3 6.3 2.2 11.9-5.2 11.9-5.1 0-7.3-3.6-7.8-7-1-6.7 2.4-13.6 9.7-12 4.4 1 9.6 4 8.7 13.3-1 9.3-6 10.3-12.3 9.2-7.7-1.3-9.8-8.2-7.3-16M29.8 15.9c3 2.2 8.8 2.6 12 1M72.2 16.8c3.6 1 9.2-.3 11.8-2.8" stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
13
13
|
'variant11': (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M36.8 29v-.2c0-.8-.7-1.5-1.5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3 3.8-3.4 6-2M78 18c1-1.3 4.2-1.4 4.7 0" stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
14
|
-
'variant10': (components, colors) => `<g stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20.4 39.8c2.2-3.1 9-8.4 19-4"
|
|
14
|
+
'variant10': (components, colors) => `<g stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20.4 39.8c2.2-3.1 9-8.4 19-4"/><path d="M29 35.3c-1 .5-2.8 2.1-1.6 4.5 1.5 3 6.5.5 6-1.5-.4-1.6-2.1-2-3-2M17 24.6C21.8 23 33.2 21 40 27M71.4 24.6c4.8-1.7 16.2-3.6 23 2.3M68 28c6.4-.8 24.3 1.6 27 3.2 3 1.8 3.5 15.2 1.2 21.6-1.2 3.2-13.3 6.7-23.8 0-7.5-4.7-5.9-18.8-5-23.7"/><path d="M70.6 31c-.7 1.9-1.8 8.5-2.5 10.8l5-10.2c-.7 3.2-3.5 14.2-3.3 15.2.3 1.2 5.9-15.3 6.5-15.2.6 0-4.4 16.9-4.4 17.9s5.8-17.2 6.7-17.2c.9 0-4.4 17.9-3.8 18.8.6.9 5.2-17.3 6-18.2C81.4 32 76.1 53 77 53c.8 0 6.1-21 6.9-19 .7 2-5.1 22-3.2 20.3 2-1.6 5.6-21.8 7-20.3 1.5 1.5-4.4 20.8-3.2 20.3C85.8 53.8 90 35 90.6 35c.6 0-2.4 20.8-1.8 19.4l5-19.4c.3-1.2 0 3 0 6.9-.1 3-2.2 10.5-2.5 12.5l4.4-14.6c0 2.3 0 7.6-.3 10.1-.3 2.6-.8 3.7-1 4M6 3a253.7 253.7 0 0 0 58.6 26c3 .8 28 4.5 32 2.3 3.3-1.7 11.2-14 13-16"/></g>`,
|
|
15
15
|
'variant09': (components, colors) => `<g stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M23.2 17.6c1.6.8 6 1.7 11.2 1.3 4.5-.4 6.5-1.5 7.8-2.9M75.2 15c2.1 1.9 5.9 2.3 8.3 2.3 2.3.1 5 0 7.1-.4M4 18.5 17.7 26M48.2 29.8A31.5 31.5 0 0 1 68.7 28M96.9 25.6c2.5-1.3 10.6-7.7 13.1-9.6M18.1 26.6c-.3 3.7-1.7 15.6 0 17.6 2.6 3 27.8-1 29.5-1.5 1.6-.6 2-8.8-.5-15.4-2.2-5.5-20.8-3.1-28.4-1.8"/><path d="m19.5 31.9 2.8-5.4c-.8 3.3-3 11-2.8 12 .3 1.2 5.7-12.6 6.3-12.6.6.1-4.5 16-4.5 17s6-17 6.9-17c.9 0-4.2 15.6-3.6 16.5.6 1 5.4-16 6.2-16.9.7-.9-4.3 18.2-3.4 18.1.8 0 6.1-21 6.9-19 .7 2-4.9 21.2-3 19.5 2-1.6 5.4-21 6.8-19.5 1.4 1.5-3.6 20-2.4 19.5 1.3-.5 4.6-17.6 5.2-17.6.6 0-1 17.1-.5 17.1s3.3-14 3.7-15.1c.3-1.2 1-.5 1 3.4-.1 3-1.3 9-1.6 11l3-7.6M70.8 33l2.8-7c-.8 3.3-2.3 10-2 10.9.2 1.2 5-11.5 5.5-11.4.6 0-3.5 13.1-3.5 14 0 1 5-14 5.9-14 .9 0-3.6 14.8-3 15.7.6.9 4.8-15.3 5.6-16.2.7-.9-4.3 18.2-3.4 18.1.8 0 6.1-21 6.9-19 .7 2-5.1 20.7-3.2 19 2-1.6 5.6-20.5 7-19 1.4 1.5-3.6 20-2.4 19.6C88.3 43 91.6 26 92.2 26c.6 0-1 17-.5 17s2.7-12.7 3-13.9c.4-1.1 1.3-.5 1.2 3.3 0 3.1-.8 7.9-1.1 9.9l3-7.6"/><path d="M70.5 24.8c6-2.7 22.2-1 25.2 0 3.8 1.1 3.6 14.7 3.3 18-.4 3.4-22.1.2-26.8 0-3.7-.1-3-12.7-2.1-17.6"/></g>`,
|
|
16
16
|
'variant08': (components, colors) => `<g stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M34.8 27.8c3.3.6 11-.1 14.7-7.9M65.2 15c.5 2.7 2.7 8.5 7.4 10.8 4.6 2.3 8.8 2.3 10.3 2M21.2 40.5a134 134 0 0 1 27.1-5M21 42.7c6.8-1.3 20.5-4.5 25.2-5.2M67.3 34.8c7.1-1.3 22.3 2.4 26.3 4.1"/><path d="M66.7 35.2c7.1-1.2 20.6 3.7 24.6 5.5"/><path d="M66.5 36.1c7-1.3 21.6 4.9 25.6 6.7"/><path d="M66.5 37.5c7-1.3 21.6 5 25.6 6.9M25 41.3c6.5-2.3 20.5-6.6 24-5.2M24 45c6.6-2.3 20.3-6.2 24-7"/></g>`,
|
|
17
|
-
'variant07': (components, colors) => `<
|
|
17
|
+
'variant07': (components, colors) => `<path d="M35.5 48c-.7-.6-5.1-2.3-7.4-6.2-2.3-3.8-2.5-7.7 0-9.3 1.6-1.2 5.1.6 7.4 2.2M36.4 34c1.5-1.6 4.1-3 6.7-1.6 1.8 1 1.6 7.1 0 9.4-1.2 1.9-5.2 5-6.7 6M77.7 33.3c-2.2-2.1-7.1-5.4-9.2-1.7-2.6 4.6 5.6 13 10.2 14.8M79.8 47c2.2-1.7 7-5.4 7.8-6.6 1-1.5 2.8-8 0-10.6-2.8-2.6-8.6 1-8.6 5.2M26 18.3c.6-1.4 3-4.2 7-3.7 5.2.6 6.2 1.5 7.4 3.7M72.2 16.2c.5-1.7 3-4.8 8.2-4 5.2.6 7 3.5 7.3 4.9" stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
18
18
|
'variant06': (components, colors) => `<g stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M42.8 24c-6.4.3-17.8 3.1-17.8 11.4C25 47.8 34.7 50 38.2 50c3 0 9.2-1.6 11.5-4 2.3-2.6 3.2-12.6 1.6-15.8-1.1-2.2-3.2-5-7-5"/><path d="M30.7 32.3c-.4 0-1.2.2-1 .9.3.6 1.4.5 1.6 0 .3-.6-.2-1.8-.2-1.8M78.6 42c.3.6.5.4.7 0"/><path d="M80.3 30.4c-3 .8-8.6 3.8-7.4 9.9 1.3 6 5.8 7.7 10.4 6.4 4.5-1.4 7-7.6 6.4-10.3-1-3.4-5.7-6-9.4-5M28.7 16.7c2.1 1.6 8 4.3 14.3 2.4 6.3-2 11.2-7.5 12.8-10.1M78.9 14.5c-1 1 .2 4.7 2.4 5.5 2.2.9 3.6 1.5 5.8 1.5"/></g>`,
|
|
19
19
|
'variant05': (components, colors) => `<path d="M30.2 23.6c2.6 1.8 7.7 6 8.2 7.8.4 2-8.8 5.3-13.4 6.8M89.4 22c-3.6 1.3-10.5 4.3-9.7 6 1 2.1 6.9 3.7 9.7 5.8" stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
20
20
|
'variant04': (components, colors) => `<path d="M26.7 26.3c1-2.5 4.2-7.3 9.9-7.1 5.7.2 8.3 3.4 8.9 5M71.2 24.6c1-2.9 4.2-8.4 9.2-7.7 5 .6 7.5 4.3 8.1 6M25 43c2.7-4 9.5-6.7 15-6.2 6.7.6 4.3 6.6 2.6 7.3-2.2.9-5.2-.9-3.3-3.3 1.4-2 2.8 0 2.4.8M72.6 38.6c1.7-1.7 6.5-5.2 11.4-5 6.1.4 7.8 3.4 6 5.5-2 2.2-4.6 2.5-4.6 0 0-2.4 2-2.5 2.8-1" stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
21
|
-
'variant03': (components, colors) => `<
|
|
21
|
+
'variant03': (components, colors) => `<path d="M21 41.9c.6-1 2.2-3 4-3.2M25.8 45.2l2.8-5M32.5 41.8c0 1.1-1.2 5.4-1.2 5.4M21.3 32.1c1.2 2.8 5 8.4 10.3 9.2 5.4.7 9.2-1.1 10.4-2.1M80.8 40.3V44M84.4 39.4 86 43M87.8 38.4c.7.7 2.6 2 2.6 3M72.8 35c1.2 1.5 4.2 4.3 6.5 4.3 3 0 8.2-.8 12-4.3M21.1 22c1-1.6 4.6-4.9 11-5.3 6.5-.4 9.1 1.2 9.7 2M73.7 20.7c1.5-2 5.9-6.2 11.5-6.2 2.3.4 7.1 2.1 8.8 6.6" stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
22
22
|
'variant02': (components, colors) => `<g stroke="#000" stroke-linecap="round" stroke-linejoin="round"><path d="M34 27.7c7-2.6 13.2 5.2 13.2 10.9 0 6.8-5.3 12.5-10.3 12.5-5 0-9.9-5.7-9.9-12.5 0-5.7 4-9.8 7.8-11.3M77.4 23.2c6.6-2.6 11 5.4 11 11 0 6.8-3.8 12.6-8.5 12.6-4.6 0-9-4.7-9-12.2C71 27 74.5 24.4 78 23" stroke-width="3"/><path d="M40.1 40.5s0 0 0 0M82 38.2s0 0 0 0" stroke-width="6"/><path d="M28.2 19.3c2.8-3.2 10-7.9 17-1.6M66.2 15.1c4.3-4.2 14.4-10.4 20-1.8" stroke-width="3"/></g>`,
|
|
23
23
|
'variant01': (components, colors) => `<g stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M22.3 39.3c2.2-3.1 9-8.4 19-4M78 35c2.9-2.7 10.6-6.3 19.5 0"/><path d="M30.8 34.8c-1 .5-2.7 2.1-1.5 4.5 1.5 3 6.5.5 6-1.5-.4-1.6-2.2-2-3-2M87.3 32.4c-1 .2-3 1.4-2.4 4 .8 3.3 6.3 2 6.2-.2 0-1.6-1.7-2.4-2.5-2.5M18 25.9c5.4-1.7 18-3.6 25.7 2.2M75.2 28.7c3.4-5.4 14.3-11.2 22-7.6"/></g>`,
|
|
24
24
|
};
|
package/lib/components/top.js
CHANGED
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
import { escape } from '@dicebear/core';
|
|
8
8
|
export const top = {
|
|
9
9
|
'variant29': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M114.5 70c2 .5 6.5 2 8 6.5M122.5 84c-3-5-12.5-14-25.5-10-10 3-17.5 6.5-22.5 6.5M144.5 69c-5.3-.4-16.5 1-19 9.5"/><path d="M121.5 88C116 81 104 77 88 82c-8.6 2.7-20.7 13.5-22 23"/><path d="M119.5 90.5c-11-8-29-2.5-36 1.5-8.8 5-15 12.5-20 20.5"/><path d="M59 120c15.5-7 14.8-14 26.6-21.5C102 88 116 90 122 93.5M126.5 84.5c5-8 15.6-12.8 26.7-11.3s26.8 9.3 37.8 7.3"/><path d="M125.4 88.3c4.4-4.8 15.7-14.8 32.1-9.8 18 5.5 24 16 31.5 15"/><path d="M126.5 90.5c4.2-3.8 20-13.5 36.5-2 21.3 14.8 29.5 8.5 35 4"/><path d="M125 95.5c4.5-3.5 17.5-8 28-2 19 11 27 14.5 40 9.5M119.5 97.5c-14.5-1.5-30.5 3-38 15"/></g>`,
|
|
10
|
-
'variant28': (components, colors) => `<path d="M81 110c11-18.5 70-33.4 96-5.8" stroke="
|
|
10
|
+
'variant28': (components, colors) => `<path d="M81 110c11-18.5 70-33.4 96-5.8" stroke="#000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
11
11
|
'variant27': (components, colors) => `<g stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M80.8 109.7c11-18.5 70-33.3 96-5.8" stroke="#000"/><path d="M78.3 107.7c-7.5-3.3-16-3-22.3-3.1M79.5 111.6c-4.2-.8-8-1.3-15.5.4M82.9 108.3c-5.6-3.8-13.3-12-15.8-14.2M78 99.2c-2-4-5.4-8-8.1-12.8M80.4 89.7c.7 2.2 1 9 3.8 16.5M84 86.7a30.2 30.2 0 0 1 2.6 16.2M67 100.1c-3.5 0-6.5-1.5-9.6-3M174.4 100.8c.2-3.5 1.3-16 7-20.1M178.1 105.3l6.4-17.8M194.6 93.3a30 30 0 0 0-16.5 12M195.7 84.7c-2 .9-6.3 3.8-8.8 8.3M200 97.2c-4.4 1-14.2 4.2-18.8 8.7M201.3 104.3c-5.5.3-17 1-19.7 2M193.5 113.8s-6.2-3.5-13.4-4" stroke="${escape.xml(`${colors.top}`)}"/></g>`,
|
|
12
12
|
'variant26': (components, colors) => `<path d="M86.3 106.7c-5.6-4.5-4.8-3.7-10-5.3M89.5 94.4c-2.8-1.2-4.7-3.4-6.7-5.6M190 108.5s-6.2-.3-12 2M181.4 93.6s-5.3 3.1-9 8.2M171 82.6s-4.4 4.2-6.8 10M158.1 75.5s-3.5 5-4.7 11.2M142.8 73.2s-2.6 5.5-2.8 11.8M124.4 72s-1.3 6 0 12.1M107.5 73.9s2.4 5.6 7 9.8M95 80.2s3 4.3 7.4 9" stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
13
13
|
'variant25': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M115.5 53.2A74 74 0 0 0 96.8 100M122.7 52.8c6.3 3.9 20 17 24.5 38.6"/><path d="M136.8 93.2c-23 2-48.8 11.8-58.8 16.5 0-22.6 19-57 44.7-58.1 25.7-1.3 49.6 19 58.2 41.6-6.8 0-15.3-2.4-44.1 0Z"/><path d="M93.2 103.5c3.5 3.6 11.9 6.6 29 6.6 19 0 48.2-4.2 52.5-6.6 6.7-3.8 6.5-7.4 5.9-10M115.7 52.8c-1.2-3.5-3-10.6-1-11.6 2.7-1.2 9 2.4 8.7 10"/></g>`,
|
|
14
|
-
'variant24': (components, colors) => `<g stroke-linecap="round" stroke-linejoin="round"><path d="M74 67.7c-4.4 16 1.5 23 1.5 26.3 0 3.3 4.2-19.4 6.4-31.9l-3 40.1 9.9-43.1-3.4 47.8 9.7-49.8-3 52.2c.3-4.2 6.6-37.3 9.6-54.5L99 109.3l9.3-52.2-1.4 52.2 8.7-52.2-2 54.8 9.4-54.8-1.5 54.8 7.6-52.2V112l7.7-48.8v48.8l7-46.3c-.8 17.6-.5 50.3 0 46.3l6.5-44.2-.9 44.2 7.3-41.3-.8 41.3 6.7-39v35.7l6-33.7-1.3 33.7 6-28.6.7 27 3-27 1.3 21.2 4.4-17v18" stroke
|
|
14
|
+
'variant24': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-linecap="round" stroke-linejoin="round"><path d="M74 67.7c-4.4 16 1.5 23 1.5 26.3 0 3.3 4.2-19.4 6.4-31.9l-3 40.1 9.9-43.1-3.4 47.8 9.7-49.8-3 52.2c.3-4.2 6.6-37.3 9.6-54.5L99 109.3l9.3-52.2-1.4 52.2 8.7-52.2-2 54.8 9.4-54.8-1.5 54.8 7.6-52.2V112l7.7-48.8v48.8l7-46.3c-.8 17.6-.5 50.3 0 46.3l6.5-44.2-.9 44.2 7.3-41.3-.8 41.3 6.7-39v35.7l6-33.7-1.3 33.7 6-28.6.7 27 3-27 1.3 21.2 4.4-17v18" stroke-width="6"/><path d="M178.2 107.6c-17.1 10-88.5 9.2-100.1-3.8-17.8-20-9.9-38.6 1.8-43.4 11.6-4.8 21.1-14 57.6 0 36.6 14 53.2 18.7 50 38.7-3 20-23.9 25.6-46.4 21-22.6-4.6-52.1 10.1-59.7-3.3-1-1.6-2.7-5.7-1.5-9.2" stroke-width="3"/><path d="M184 108.4c4-8.8 15.3-28 28.6-34.8" stroke-width="3"/><path d="M190 101.5a36 36 0 0 0 19.6-9.4c7-7.7 14-15.8 12-22.6-1.8-6.9-12.2 1-17.1.5-5-.5-20.3 25.2-18.5 32.5" stroke-width="3"/></g>`,
|
|
15
15
|
'variant23': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-linecap="round" stroke-linejoin="round"><path d="M80.8 109 50 83.4C56 73 85.7 50 103.4 50c22 0 18.7 14.3 27 14.3 12.6 0 11.1-3 19.6-12.2 6.7-7.4 43.3 6.8 66 17.3l-39.2 34.3c-6.3-3.4-30.4-8.2-47.9-8.2-17 0-40.4 8.2-48.1 13.4Z" stroke-width="3"/><path d="M159 63c-1 8.5-3 29.7-3 33.2 0 3.9-5-26.5-5.8-28.4l-1.5 27-3.9-24.5-2 24.4-4.7-24-.6 21-6.5-21.4-2.4 21.4-4.5-21.4-1.7 21.4-5.8-23.2L119 93l-14.2-31.4 8.4 33.1L109 87 96 63l8.7 34.3L89.5 66l9.1 33.6-17.2-29.2 8.1 27-14.6-22L88 102.7 73.2 80.5l10.5 25-17-25 6.5 20-9.8-14.7m98.4 10.4 5.4-31.3v33.8l8.2-30.2-1.7 26.2 7.8-24-6.1 29.8 11.1-28.2-1.5 19.4 7.8-17.5v9.3l5.5-6" stroke-width="6"/><path d="M57.2 87.5c10.1-9.7 33.3-29.2 45.2-29.7 11.9-.6 5 5.3 19 12l22.4-2.2c7.6-2.9 10-11 18.3-8 8.4 3 26.1 11.7 43 17.3" stroke-width="3"/></g>`,
|
|
16
|
-
'variant22': (components, colors) => `<g stroke="
|
|
16
|
+
'variant22': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-linecap="round" stroke-linejoin="round"><path d="m82 98 7.5 9.3L82 91l12.5 17.8L83.3 84l19.4 26.2L95.9 91c5.7 8.3 17 24.1 16 21.3-.9-2.8-5.6-12.8-8-17.5l17.5 19L115 96l13.8 16.3-2.5-13 10 11-2.3-15.5 10 15.5-5-18.2 13.2 16.7-4.5-19.2 12 17.7-5.4-19.6 10.9 18.3-5.5-19.7 11 18-5.5-20.2 11 18-5.5-20" stroke-width="6"/><path d="M54 65.6C77 54.4 125 32 134.3 32c9.4 0 51.6 15.6 71.6 23.4L124 99.2 57.8 63.7" stroke-width="3"/><path d="m195.8 57.1-4.2-5.2-3.2 11-3.1-13.8-5.8 18.5-2-21.7-6.6 27.5a110 110 0 0 0 0-29.6c-2.4-8.2-3.5 30.8-5.9 23.8-1.8-5.6-3-22-3.8-27.3v36L154 39v41.2l-5.5-43-3.2 46-5.5-47.8-3.9 56.1-4-56.1-2.3 59.5-6.3-57.7-2.4 57.7-4.6-55.9-5.3 52.5-2.6-49.7-4.9 45-3.4-40.9-3.6 37.3-2-34-5.4 31L87.5 52c-1 7.8-3.6 23.7-5.2 24.4-2 1-1.7-11.8-1.3-20 .3-6.7-3 5.7-5.4 13.6l-3-11-2.4 8.7L66 63" stroke-width="6"/><path d="M79.1 76.5V104c0 3.2 34.6 12.1 42.4 12.1 6.3 0 40.3-8 56.6-12.1V71.7M55.8 67 50 108.5M56.3 66.4v40M57 66.4l3.5 38" stroke-width="3"/></g>`,
|
|
17
17
|
'variant21': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M116.4 28C105.6 33 83.8 49.4 82.6 73c-1.5 29.7-6.6 42.6-1.2 47.8 5.4 5.1 21.9-10.7 48-6.2 26 4.6 44.9 5.9 48.7 0 3.8-5.8 2.7-51.9-3.4-64.1-6.1-12.3-23.3-22-38.6-22.6"/><path d="M80 106.4c25.7-3.9 81.7-9.2 99.3 0M120.2 30.3C113.6 38 99.5 56 96.4 67.5c-3 11.4-3 29.5-3.2 35.6M125.8 29.8c-6.6 7.6-8.5 23.8-11.6 35.2-3 11.5-2.7 30-3 36"/><path d="M135.4 28.4c9.8 4.9 12.9 25 14.3 36.8a338 338 0 0 1 2.6 36.3M130.3 28.9c4.4 2.4 3.1 14 1.3 32a112.7 112.7 0 0 0 1.5 40.1M113 13.5c2.9 1.4 8.4 6.6 10.9 9-2-4-4.2-21 3.6-20.5 7.7.5 4.4 13.6 2.6 18.9 2.2-2.5 8.8-9.4 11.2-7.4 3 2.4 1.9 12.2-9.2 14.5-4.1.8-8.2 2.4-14.3 0-6-2.5-10.2-5.5-12.7-9.7-2.4-4.2 4.3-6.6 7.9-4.8Z"/></g>`,
|
|
18
18
|
'variant20': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M74.3 94.3C72 67.9 73.3 19 93 26.8c24.6 9.9 31 24.6 45.6 20.4 14.8-4.2 33-28 39.3-12 6.3 16.2 0 49.8-2.6 55.7"/><path d="M59.7 109.5c-3-.5-2.9-5.8-2.5-8.3 15-14 93.6-12.2 131-9.5 3.8 1.8 11 6.8 10 11.5-1.3 6-7.6 6.3-18.9 1.7-11.2-4.6-77 3.3-99.5 2-22.4-1.4-16.5 3.3-20.1 2.6Z"/></g>`,
|
|
19
19
|
'variant19': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M81 106.1c11-18.5 70-33.3 96-5.8"/><path d="M81.3 106.5c22.1 16.9 56.8-10.4 61.2-18.7 0 18.1 19.2 24 34.5 12.9"/><path d="M130 91.6c-4 2.9-21.3 13.3-35.6 12.4M104.1 95.3c4-.5 13.1-2.2 18.1-4.4M147.4 91c1.1 2.5 5.5 8 13.7 8.5"/></g>`,
|
|
20
20
|
'variant18': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M188.4 132.5c-4.3-3.6-11.8-5.8-15.1-1.6-5.5 7-4 13.5 1.1 14.6 5.2 1.1 12-1.4 12.9-5.3.6-3-.5-5.7-1.8-7M174 88c-4.4 4.8-7.5 13.6-2.8 17.7 8 7 15.8 5.6 17.4-.4 1.6-6.1-1-14.4-5.5-15.6-3.6-1-6.7.3-8.3 1.8"/><path d="M171 83.8c-4.6-1.8-11.6-1.4-13.1 3-2.6 7.5.5 12.6 5.2 12 4.6-.6 9.6-4.7 9.2-8.2-.4-2.8-2-4.6-3.6-5.3M93.5 78.5c1.1-4.5 0-11-4.3-12-7.2-2-11.7 1.5-10.6 5.8 1.1 4.4 5.5 8.8 8.7 8a6 6 0 0 0 4.6-3.8M160.2 60.8c-2.8 3-5 9.5-2 12.2 5 4.5 10.5 5.2 12.7-1.8 1.3-3.8-2.1-8.4-5-9.2-2.3-.7-4.2 0-5.2 1M74.8 185.3c-3 5.2-2.7 7.6 1.8 8 7.4.5 10-4.7 8.1-8.8-1.8-4.1-7.5-5.4-10.6-4.2M175.4 171.8c-.4 5 4.6 8.1 7.1 4.5 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2.2-1.6 6.1.2 7.2 2.2 1.3 2.6 2.5 7-.6 11.3-3.1 4.4-12.3 4.9-12.5-3.5ZM67.9 87c-.6-5.4 5.6-10.6 12-11 3.4-.2 5.5.4 7.6 2.2 2 1.8 2.1 5.8-1.5 10.3-3.6 4.5-17.1 7.8-18.1-1.4ZM70.7 117c-.5-4.7 4.8-9.2 10.5-9.6 2.8-.1 4.7.3 6.5 2 1.7 1.5 1.8 5-1.3 8.8-3.2 4-14.8 6.8-15.7-1.2Z"/><path d="M79.7 104c-.5-4.7 4.8-9.2 10.5-9.6 2.8-.1 4.7.3 6.5 2 1.7 1.5 1.8 5-1.3 8.8-3.2 4-14.8 6.8-15.7-1.2ZM66.2 148c-.7-6.5 6.8-12.9 14.7-13.3 4-.3 6.6.4 9 2.6 2.5 2.2 2.6 7-1.8 12.5s-20.7 9.4-22-1.7Z"/><path d="M87.7 90c-.5-4.7 4.8-9.2 10.5-9.6 2.8-.1 4.7.3 6.5 2 1.7 1.5 1.8 5-1.3 8.8-3.2 4-14.8 6.8-15.7-1.2Z"/><path d="M66.5 105.2c-2.3-6 3-13.8 10.2-16.2 3.6-1.3 6.3-1.3 9.1.1 2.8 1.4 4.2 5.8 1.5 12-2.7 6.3-16.8 14.1-20.8 4ZM175.2 90.4c-2.3-6 1.6-17.4 8.8-19.9 3.6-1.2 7.7 2.4 10.5 3.9 2.8 1.4 4.2 5.8 1.5 12s-16.8 14-20.8 4ZM191 172c5.3-2.6 13.5-4 16.4 2.3 1.5 3.2 0 6.4-1.9 8.8-2.2 2.9-9 4.9-15 3-6-2-8.7-9.7.4-14Z"/><path d="M188 155c5.3-2.6 13.5-4 16.4 2.3 1.5 3.2 0 6.4-1.9 8.8-2.2 2.9-9 4.9-15 3-6-2-8.7-9.7.4-14Z"/><path d="M189.3 144.8c5.1-2 13-3.3 15.7 1.5 1.4 2.4.4 6.9-1.4 8.6-2.1 2.3-9.8 5-15.6 3.4-5.8-1.5-7.4-10.1 1.3-13.5Z"/><path d="M189.3 133.8c5.2-2 13-3.3 15.7 1.5 1.4 2.4 3.5 4 1.7 5.7-2.1 2.2-11.2 4-17 2.5-5.8-1.5-9-6.3-.4-9.7ZM56.3 105c4.3-3.2 12-2 15.2 2.7 1 1.6.4 7-1 10-1.9 3.6-9.3 4.3-14.2 1.9-4.9-2.5-7.3-9.1 0-14.6ZM169.6 73.8c4.4-3.2 12-2 15.2 2.7 1 1.6.5 7-1 10-1.8 3.6-9.3 4.3-14.2 1.9-4.9-2.5-7.3-9.1 0-14.6Z"/><path d="M67.3 124c.2-5.5 6-10.6 11.7-10.2 4.4.9 5.7 4.2 7 7.1 1.7 3.8-2.5 10-7.5 12.2-5 2.3-11.6 0-11.2-9.2ZM54.7 119c4.1-3.9 6.7-2.2 9.8 3.5 1 2 1.4 9.4 0 13-1.7 4.5-8.4 12-13 9s-3.7-18.7 3.2-25.4ZM183.2 87.1c1-5.6 7.2-4.5 9.9-3 2.7 1.3 6.7 6.6 7.7 10.3 1.3 4.7-1.4 14-6.8 15.1-9 2-12.4-12.9-10.8-22.4Z"/></g>`,
|
|
21
21
|
'variant17': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M84.5 109.8c-19 22.5 5.5 100.5-7 132-4.3 10.8-20.5 19-33.5 16.5M145 68.3c9-8.5 24.1-7.2 34.5 0 13 9 26 24 31.5 106.5s25 82.5 33.5 81"/><path d="M144.5 79.8c-1.5 4-2 9.4-22 12-29 3.9-50.5-3-59 31s-.4 87.5-8 108.5-22.5 21.5-31 16.5"/><path d="M148.5 79.3c0 10-7 16-21.5 17-20.7 1.5-32.5-6.5-51 17.5-13.4 17.4 2.5 75.5-8 109.5-5 16.2-21 19-25 16.5M142 75.3c-3.5 3.5-4.5 6.2-24.5 9-25 3.5-41 4-50.5 17"/><path d="M142.5 71.3c-2.2 2.7-6.8 4.8-22 6-19 1.5-40 4.5-51 17"/><path d="M143 64.3c-5.3-3-24-6.5-45 2-24.6 10-47.3 26-54.5 71.5-7 44.5-7.6 61.5-10 81-.8 6.5-5.5 9-10 9"/><path d="M140 67.8c-17-2-29 0-46.5 9-15.5 8-32.5 20.5-38 62s-3.5 65-7.5 80c-3.3 12.3-12 13.5-17 13.5"/><path d="M21 241.8c4.7 1.5 15.6.3 18.5-18 4.5-28.5 5.6-53.7 7-76.5 1-16.5 3-41.5 35-62.5M148 70.8c14-4.5 33.4-5 41 24.5 9.5 37 12.5 138 22 150a20 20 0 0 0 23 6.5"/><path d="M146 75.3c11-3 30.5-4.5 37 21 6.2 24.5-.5 103.5 2.5 125.5s18.5 37.5 37 30"/><path d="M152 81.3c13.3-4 39.4 3.6 41 68 2 80.5 1.5 101 31 108"/><path d="M152 85.3c18.5 1.5 28.4 18.7 30 41.5 2 28.5-18.5 95.5 0 122 14.8 21.2 30.8 22.5 37 20.5"/></g>`,
|
|
22
|
-
'variant16': (components, colors) => `<g stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M127.5 87c-10.5-1.6-24.5-2.6-41 20M132.5 85c17.5-14 44.5 4.4 48 23.4M132 90.7c4 18.2 23 31.2 48 24.2"
|
|
23
|
-
'variant15': (components, colors) => `<g stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M158.8 105.2c5.3-4.6 7.4-13.1 3.3-23.6-2.5-6.4-5.2-7.2-9.8-15M96 110.4c-21 1.3-16.2-33.5 15.7-39.3"
|
|
22
|
+
'variant16': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M127.5 87c-10.5-1.6-24.5-2.6-41 20M132.5 85c17.5-14 44.5 4.4 48 23.4M132 90.7c4 18.2 23 31.2 48 24.2"/><path d="M132 86.2c10 12.5 28 20 45 24M79.5 121.4c10 9.5 45-4 48.3-27.5M81.5 109c1-22.6 39-36.8 48.5-24.3M128 90.4c-28 6.2-21 18-42.5 23"/><path d="M121.3 97c-7 9.5-13.4 16-34.4 21.7M79.5 113C77 97.3 66 88.7 55.3 92 35 98.3 36 129.3 18 128.3"/><path d="M78.5 115c0-6.6-4.7-16.8-18.7-19.3s-35 2-33 44 2 43.4 1.5 55"/><path d="M68.5 109c-10-5-26.8.8-34 28.4-9 34.5-23.2 67.3-13.7 94.8"/><path d="M78.3 118.7c-6.5-9.5-23.8-8-29 4-6.5 15-17 81-21 90"/><path d="M78.8 119.2c-2.5-3-13.5-3-20.5 12s-15.5 54.5-3.5 92"/><path d="M78.8 120.7c-6-8.5-19.9-3.3-25.5 8.7-7 15-9.5 78-13.5 94M183 107c0-14.5 22.4-23.4 30-11.8 9.5 14.5 14 97.3 5 129.8"/><path d="M185 109c6.5-8.6 24.7-22 43.5-13.3 23.5 11 30 46 17.5 79s-17 46.2-3.5 54.2"/><path d="M181.5 110.7c7-15.5 40.6-19.3 51 1.5 13 26 5.5 42-5 98"/><path d="M184 110.4c16-9.5 46.9-12.5 60.5 16.3 13.6 28.8 5.7 70.7 0 88"/><path d="M183.5 114c9-9 37.8-11.7 47 10.7 11.5 28-2 68.5 5 92.5"/><path d="M183 112.4c1.5-.5 37.5-5.7 45 31.3s-3.5 65.5 2.5 81.5"/><path d="M183 113.4c5.5-8.5 22.6-2.3 29 21.3 6.4 23.6 10 67.2 11 86M134.5 85.7c5.8-1.2 26 0 39 18.7M7.3 232.7c-2.5-3.2-6-14.6 0-35 7.5-25.5 18.5-62.5 21-70s17-24.5 31-24.5 17.7 7.2 19.2 14.2"/><path d="M73.7 118.6c0 2.8 2.7 5.5 6.3-.4 3.9-6.2 1.9-11-.3-10.3M186.5 114.6c0 3.1-2.8 5.7-6-1.3-3.3-7.6-1.2-12.6.9-11.5"/></g>`,
|
|
23
|
+
'variant15': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M158.8 105.2c5.3-4.6 7.4-13.1 3.3-23.6-2.5-6.4-5.2-7.2-9.8-15M96 110.4c-21 1.3-16.2-33.5 15.7-39.3"/><path d="M101.9 109c-13.1-10.4-2.6-39.8 37.3-46.4M168 108.4c7.2-4 17-23.5-8.5-37.3M141.1 101.9c-5.8-5.3-4.5-22.3 4.6-31.4M71.1 125.4C60.6 121 62.6 94.7 85 88.8"/><path d="M79.6 120.9c3.3-9.2-9.8-15 2.6-25.6M185 122.2c5.9 0 9.8-14.4 0-25M111.7 106.5c-9.8-2.7-7.9-26.9 19.6-37.3"/><path d="M120.9 104.5c-6.6-5.9-4.6-21 20.2-37.3"/><path d="M130.7 102.5c-5.3-3.2-6-30.7 14.4-36.6M145.7 91.4c0-5.2 2.6-6.5 2.6-14.4M148.3 101.2c4-3.2 9.2-13.7 5.3-24.2M146.4 54.8c-2.6-26.2 21.3-35 54.3-30.8 41.2 5.2 23 80.3 45.8 111"/><path d="M154.2 52.1c11.2-17.6 30.8 5.3 35.4 28.2 4.2 21.2 20.3 47.8 52.3 36.6"/><path d="M140.5 52.1c-4 1.3-6.5 7.4 3.3 10.5 10.4 3.3 16.3-2.6 14.4-5.9"/><path d="M144 44.3c-4 1.3-6.5 7.4 3.3 10.5 10.5 3.2 16.3-2.7 14.4-6M170.6 41.7c4.6-4 23.4-8.3 30.8 11 9.1 24.3 12.4 30.2 24.2 33.5"/><path d="M179.1 45.6c15 0 11.1 47.1 38.6 47.1"/><path d="M154.9 43.6c9.8-14.4 38-23.5 51.7 1.3 9.2 19.7 7.2 49 23 65.3M177.1 112.4c6-1.4 7.9-9.2 2.7-18.4"/></g>`,
|
|
24
24
|
'variant14': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M116.5 77c11.4-6.3 49-9 61 29.4 18 58.5 31.5 61.8 38.3 66.5"/><path d="M185 144c5.4 32.3-.3 71.4 1.3 85.3 2 17.5 5.4 22.2 14.8 28.3"/><path d="M169.5 76c17.5 18 12.5 37 8 117.5-2 34.9 16 48.3 20.6 50.5"/><path d="M117.6 76.8c8.1-7.3 34.4-15.3 53.4 0 17.7 14.4 21.8 33.6 22.6 81.4.5 33.8 4.7 43.2 6.7 43.6M115.6 77.5A71.7 71.7 0 0 0 78 142.7c0 33 4 82-13.4 104.2"/><path d="M114.7 76a56 56 0 0 0-42.3 51.7c-3.4 31.6 2 76-9.4 102.9"/><path d="M46.4 241.5c-.2-10.3.3-33.8 4-45 4.7-14.2 3.5-88.7 32.3-111 17.5-13.4 33-12.7 36.3-10M119 74.8c3.3-8 20.3-18 44.3-9.4 30.3 10.8 48.4 39.8 43.7 76.1-4.5 34.6-19.7 79.4-1 108"/><path d="M117.6 72.8c2.7-8.3 13.2-23.4 33.6-17.5 25.6 7.4 49.8 31.6 53.1 95.5 3.4 63.8-10 86 24.2 114.9M116.3 72.1c-10.8-7.4-38.3 2-57.1 37.7C39.9 146.2 43.7 217.3 37 234"/><path d="M119 74.2c-2.7-7-12.4-19-29.6-11.5-21.5 9.4-37 24.9-47 84.7-10.1 59.8 6 74.6-2 102.8M120 80.5a67 67 0 0 0 2.8 21.9M125 79c1.5 5.5 4.5 18.5 9.5 23M131.5 78c4.5 8.5 10.2 18.9 12.3 23.7M142.5 78c7.5 3 15.5 10.5 20 17.5M137 78c5 3 10.3 13.2 16.3 19.7M115 85c-.3 3.5-1.8 11.7-6 16"/><path d="M99.5 97c2-1.3 5.5-6 11-12.5M60.5 171.6c.5 11.6-1.6 36.7-2.7 46.4-1.3 12-6 23.5-10.7 30.2"/></g>`,
|
|
25
25
|
'variant13': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M128.8 94.7c-5.1-11.1-20.3-14-29.3 0-12 18.2-2.1 57.6-5.6 83.7-3.5 26-21.4 55.8-44.4 55.8s-40-14.6-38.2-33.1"/><path d="M122.6 83c-9-7.9-34.3-9-38.3 46.7-3.7 53.6-11.7 64.6-28.6 81-15.8 15-36 17.7-50 10.6"/><path d="M126 80.7c-11.3-15.7-37.1-9.8-46.7 2-12 14.7 0 77 0 98.8 0 21.8-10.1 42.6-41 47"/><path d="M126.5 77.4c-4.5-13-19.1-19.7-35.4-10.1-21.5 12.5-22.1 32-26.3 69.5-4.3 37.4-2.3 70.3-33.9 81.1-18 6.2-33.7-9.5-25.8-26.4"/><path d="M31.5 200.5c33.7-5 43.3-42.7 44.4-77.6 1.6-49.5 36-60.1 50.6-41M130.4 88c8.5-4.7 34.9-4.9 38.3 24.8 4.2 37-5.5 72.4 7.8 107.4 5.5 14.3 26 23.6 37.7 19"/><path d="M131.6 82.8c10.7-4.5 31-7.7 38.2 6.4 9.1 17.6 1 83 7.3 103.4 6.3 20.4 27 37.1 41.6 27.6"/><path d="M128.2 80.7c-.7-9 12.4-27 28.1-18.5a59.4 59.4 0 0 1 32 42.2c5.7 39.9 2.1 60 5.7 86 3.5 25.9 16.1 46.2 59 32.9"/><path d="M129.3 80.2c4.5-7.9 12.4-14 26.4-9.6 17.6 5.6 30.6 29.1 30 94.8-.8 65.8 6 75.6 24.6 79.5 18.5 4 30.7-10.4 35.4-18.6"/><path d="M135.5 78c16.9-10.4 55.1-7.8 60.2 27.5 6.2 44.1-3.6 96.4 2 112.5 5.6 16.1 21.4 19.2 34 15.7"/></g>`,
|
|
26
26
|
'variant12': (components, colors) => `<g stroke="${escape.xml(`${colors.top}`)}" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M133.6 74.5c-6.4 8-18.5 10.4-26 11.5-13 2-19.5 9.3-25 27.3-7.6 25-3.2 46.5-5.4 65.4-2.7 22.6 4 27.2 5.4 28.4"/><path d="M134.2 69.2c-4.9 7-17.9 9-33.6 12.2-19.7 4-32.7 33-31 73 1.4 32 .6 48.4 0 52.7"/><path d="M58.9 195.5c5.2-7.6 4.5-22.4 3.5-33.6-3.5-37 5.2-64.3 17.3-77.6 15.4-16.8 40-8.1 53.9-19.1"/><path d="M131.9 61.7c-8.7-5.8-25.4-2-34.2 1.2-11 4-35.2 20-38.8 56.7-4 41.8-14.2 71.6 0 84.8"/><path d="M47.9 216.9c4.6-12.7-2.9-23.2-2.9-46.3 0-19.8 9.5-65.4 16.5-78.8C69 77.4 71.8 70 85.5 61.1c16.2-10.4 39.9-15.7 49.1-1.2M137.7 58.8c16.2-15 31.4-2 41.6 10.4 12.8 15.7 16.6 20.9 20 53.9 3.5 33 2 36.8 3 46.9 1 13.1 6 17.8 14.7 24.8"/><path d="M137.6 66.4c9.9 9.8 15.8 5 25.8 9.6 15.4 7 20.9 16.8 23.8 31.9 2.9 15-2.3 48.6 0 59.6 1.8 8.8 5 17.1 16.2 20.2"/><path d="M137.6 62.3c12.7-3 16-2.4 26 1.7 12.8 5.2 29.4 26 28.8 56.2-.6 30.1-4.6 54.4 13.3 73.5"/><path d="M137 70.4c1.2 4.1 5.4 8.8 16.8 11.7 22.8 5.7 27.6 28.3 28.8 49.1 1.1 20.8-4.5 38.8 3 54.5 6 12 14.2 16.6 20.8 16.6"/><path d="M136.5 75.6c1.7 11.6 13.9 13.3 29 22.6 15 9.3 14.6 33.3 11.6 58.2-2.5 21.2 3 35.8 18.7 35.8"/></g>`,
|
|
@@ -9,37 +9,37 @@ export function getComponents({ prng, options }) {
|
|
|
9
9
|
const faceComponent = pickComponent({
|
|
10
10
|
prng,
|
|
11
11
|
group: 'face',
|
|
12
|
-
values: options.face
|
|
12
|
+
values: options.face,
|
|
13
13
|
});
|
|
14
14
|
const noseComponent = pickComponent({
|
|
15
15
|
prng,
|
|
16
16
|
group: 'nose',
|
|
17
|
-
values: options.nose
|
|
17
|
+
values: options.nose,
|
|
18
18
|
});
|
|
19
19
|
const beardComponent = pickComponent({
|
|
20
20
|
prng,
|
|
21
21
|
group: 'beard',
|
|
22
|
-
values: options.beard
|
|
22
|
+
values: options.beard,
|
|
23
23
|
});
|
|
24
24
|
const mouthComponent = pickComponent({
|
|
25
25
|
prng,
|
|
26
26
|
group: 'mouth',
|
|
27
|
-
values: options.mouth
|
|
27
|
+
values: options.mouth,
|
|
28
28
|
});
|
|
29
29
|
const topComponent = pickComponent({
|
|
30
30
|
prng,
|
|
31
31
|
group: 'top',
|
|
32
|
-
values: options.top
|
|
32
|
+
values: options.top,
|
|
33
33
|
});
|
|
34
34
|
const mustacheComponent = pickComponent({
|
|
35
35
|
prng,
|
|
36
36
|
group: 'mustache',
|
|
37
|
-
values: options.mustache
|
|
37
|
+
values: options.mustache,
|
|
38
38
|
});
|
|
39
39
|
const eyesComponent = pickComponent({
|
|
40
40
|
prng,
|
|
41
41
|
group: 'eyes',
|
|
42
|
-
values: options.eyes
|
|
42
|
+
values: options.eyes,
|
|
43
43
|
});
|
|
44
44
|
return {
|
|
45
45
|
'face': faceComponent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/croodles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-alpha.0",
|
|
4
4
|
"description": "Avatar style for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"test": "uvu tests"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@dicebear/core": "
|
|
33
|
-
"@tsconfig/recommended": "^1.0.
|
|
32
|
+
"@dicebear/core": "6.0.0-alpha.0",
|
|
33
|
+
"@tsconfig/recommended": "^1.0.2",
|
|
34
34
|
"del-cli": "^5.0.0",
|
|
35
|
-
"typescript": "^
|
|
36
|
-
"uvu": "^0.5.
|
|
35
|
+
"typescript": "^5.0.2",
|
|
36
|
+
"uvu": "^0.5.6"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@dicebear/core": "^
|
|
39
|
+
"@dicebear/core": "^6.0.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
|
-
"node": "
|
|
42
|
+
"node": ">=16.0.0"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "64646747611ff92b5028205ef3e509be5ff2060b"
|
|
48
48
|
}
|