soccer-jersey-fork 1.0.82 → 1.0.83
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.
|
@@ -9,26 +9,31 @@ const meta = {
|
|
|
9
9
|
export default meta;
|
|
10
10
|
export const Default = {
|
|
11
11
|
args: {
|
|
12
|
-
shirtColor: "#
|
|
13
|
-
sleeveColor: "#
|
|
14
|
-
shirtStyle: "
|
|
15
|
-
shirtStyleColor: "
|
|
16
|
-
shirtBottomColor: "
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
shirtColor: "#ED1C24",
|
|
13
|
+
sleeveColor: "#ED1C24",
|
|
14
|
+
shirtStyle: "stripedThick",
|
|
15
|
+
shirtStyleColor: "",
|
|
16
|
+
shirtBottomColor: "",
|
|
17
|
+
shirtStyleDirection: "vertical",
|
|
18
|
+
collarType: "folded",
|
|
19
|
+
collarColor: "#000000",
|
|
20
|
+
sleeveStyleColor: "",
|
|
21
|
+
sleeveCuffColor: "#ffffff",
|
|
22
|
+
images: [
|
|
22
23
|
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
backgroundColor: "#dc7f7f",
|
|
29
|
-
outlineColor: "#444",
|
|
24
|
+
src: "https://resources.simcups.com/flags/w80/1429.svg",
|
|
25
|
+
x: 59,
|
|
26
|
+
y: 20,
|
|
27
|
+
width: 14,
|
|
28
|
+
height: 13,
|
|
30
29
|
},
|
|
31
30
|
],
|
|
32
|
-
|
|
31
|
+
texts: [],
|
|
32
|
+
shortsColor: "#000000",
|
|
33
|
+
shortsCuffColor: "",
|
|
34
|
+
shirtSideColor: "",
|
|
35
|
+
shortsSideColor: "",
|
|
36
|
+
shoulderSideColor: "",
|
|
37
|
+
withBadge: false,
|
|
33
38
|
},
|
|
34
39
|
};
|
|
@@ -59,7 +59,7 @@ export default function drawSoccerJersey({ shirtColor = "plain", sleeveColor = s
|
|
|
59
59
|
/**
|
|
60
60
|
* The points start from the left then spread out to the leftest
|
|
61
61
|
*/
|
|
62
|
-
.path("m36 0.5 l -5 5 15 5 l 3 -5 2 0 3 5 15 -5 -
|
|
62
|
+
.path("m36 0.5 l -5 5 15 5 l 3 -5 2 0 3 5 15 -5 -4.3 -5 c -4 5 -26 5 -29 0")
|
|
63
63
|
.fill(collarColor || "#eee")
|
|
64
64
|
.stroke({
|
|
65
65
|
color: collarColor,
|