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.
@@ -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
- ? "m 17 10 1.36 -1 L 36 0.5"
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.path(leftPath).fill("none").stroke({ width: 2, color, linecap: "butt" });
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 L 82.1 8.52 82.25 9.04" // Starts at collar center (63.5) -> moves right to wrist (82.25)
364
- : `m 101 35 l -16.5 -26 -21 -8.5`;
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: 2, color, linecap: "butt" });
372
+ .stroke({ width: 1.5, color, linecap: "butt" });
370
373
  }
371
374
  export function addShirtSideColor(page, color) {
372
375
  page
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soccer-jersey-fork",
3
- "version": "1.0.123",
3
+ "version": "1.0.124",
4
4
  "description": "Generate soccer jerseys in SVG format",
5
5
  "main": "lib/index.js",
6
6
  "author": "nadchif (https://github.com/nadchif)",