soccer-jersey-fork 1.0.123 → 1.0.124
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/lib/patterns/patterns.js +8 -5
- package/package.json +1 -1
package/lib/patterns/patterns.js
CHANGED
|
@@ -356,17 +356,20 @@ export const addShortSideColor = (page, color) => {
|
|
|
356
356
|
export function addShoulderSideColor(page, color, isLongSleeve) {
|
|
357
357
|
// left
|
|
358
358
|
const leftPath = isLongSleeve
|
|
359
|
-
? "
|
|
359
|
+
? "M 36 0.5 C 26 5, 17.4 9, 17.4 9 C 9.7 13.9 8.6 24.4 7.5 32.6 C 5.7 43 7.3 61 6 90.1" // Starts at collar center (63.5) all the way long to the sleeve
|
|
360
360
|
: `m 0 35 l 16.5 -26 20 -8.5`;
|
|
361
|
-
page
|
|
361
|
+
page
|
|
362
|
+
.path(leftPath)
|
|
363
|
+
.fill("none")
|
|
364
|
+
.stroke({ width: 1.5, color, linecap: "butt" });
|
|
362
365
|
const rightPath = isLongSleeve
|
|
363
|
-
? "M 63.5 0.5
|
|
364
|
-
: `m 101 35 l -16.5 -26 -
|
|
366
|
+
? "M 63.5 0.5 C 74.5 5, 82.9 8.2, 82.9 8.2 C 90.7 13.2 91.8 23.7 92.9 31.9 C 94.7 42.2 93.1 60.2 94.4 89.3"
|
|
367
|
+
: `m 101 35 l -16.5 -26 -20 -8.5`;
|
|
365
368
|
// right
|
|
366
369
|
page
|
|
367
370
|
.path(rightPath)
|
|
368
371
|
.fill("none")
|
|
369
|
-
.stroke({ width:
|
|
372
|
+
.stroke({ width: 1.5, color, linecap: "butt" });
|
|
370
373
|
}
|
|
371
374
|
export function addShirtSideColor(page, color) {
|
|
372
375
|
page
|