Update templates and the template-generator script.
- Add linear-gradient in the chocolate template - Add "Tisane de Noël" template - Add the logic to populate the gradient colors in the script - Add template definition in the products definitions csv
This commit is contained in:
@@ -20,6 +20,26 @@
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<defs
|
||||
id="defs929">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient8793">
|
||||
<stop
|
||||
style="stop-color:#${gradient_color0};stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop8789" />
|
||||
<stop
|
||||
style="stop-color:#${gradient_color1};stop-opacity:1;"
|
||||
offset="0.33000001"
|
||||
id="stop10635" />
|
||||
<stop
|
||||
style="stop-color:#${gradient_color2};stop-opacity:1;"
|
||||
offset="0.66000003"
|
||||
id="stop10637" />
|
||||
<stop
|
||||
style="stop-color:#${gradient_color3};stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop8791" />
|
||||
</linearGradient>
|
||||
<rect
|
||||
x="203.87482"
|
||||
y="162.76645"
|
||||
@@ -620,6 +640,15 @@
|
||||
width="134.27728"
|
||||
height="38.101315"
|
||||
id="rect169275-2" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient8793"
|
||||
id="linearGradient8795"
|
||||
x1="1.0034179e-07"
|
||||
y1="70"
|
||||
x2="47.999779"
|
||||
y2="70"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
inkscape:document-rotation="0"
|
||||
@@ -637,10 +666,10 @@
|
||||
inkscape:window-height="1435"
|
||||
inkscape:window-width="2190"
|
||||
showgrid="false"
|
||||
inkscape:current-layer="layer3"
|
||||
inkscape:current-layer="layer5"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:cy="192.75503"
|
||||
inkscape:cx="54.011917"
|
||||
inkscape:cy="204.23256"
|
||||
inkscape:cx="81.017875"
|
||||
inkscape:zoom="2.9623092"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
@@ -691,6 +720,46 @@
|
||||
width="47.999779"
|
||||
id="rect1878-9-8-2"
|
||||
style="display:inline;opacity:1;fill:#${color};fill-opacity:0.36078432;stroke:none;stroke-width:2.82885;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers" />
|
||||
<rect
|
||||
inkscape:label="Bandeau Bloc Composition"
|
||||
ry="0"
|
||||
y="-35"
|
||||
x="-47.999779"
|
||||
height="22"
|
||||
width="47.999779"
|
||||
id="rect1878-9-8"
|
||||
style="display:inline;fill-opacity:0.360784;stroke:none;stroke-width:3.16274;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers"
|
||||
transform="rotate(180,-8.8249455,-16.947161)" />
|
||||
<rect
|
||||
inkscape:label="Bandeau Titre Composition"
|
||||
ry="0"
|
||||
y="-35"
|
||||
x="-47.999779"
|
||||
height="4.9999771"
|
||||
width="47.999779"
|
||||
id="rect1878-9-8-5"
|
||||
style="display:inline;fill-opacity:0.360784;stroke:none;stroke-width:1.82601;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers"
|
||||
transform="rotate(180,-8.8249455,-16.947161)" />
|
||||
<rect
|
||||
inkscape:label="Bandeau Titre Infusion 2"
|
||||
ry="0"
|
||||
y="59"
|
||||
x="1.0034179e-07"
|
||||
height="22"
|
||||
width="47.999779"
|
||||
id="rect1878-6"
|
||||
style="display:inline;fill-opacity:1;stroke:none;stroke-width:3.65202;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers;fill:url(#linearGradient8795);opacity:0.36"
|
||||
transform="translate(-17.649891,-33.894322)" />
|
||||
<rect
|
||||
inkscape:label="Bandeau Titre Infusion"
|
||||
ry="0"
|
||||
y="59"
|
||||
x="1.0034179e-07"
|
||||
height="22"
|
||||
width="47.999779"
|
||||
id="rect22255"
|
||||
style="display:inline;fill-opacity:1;stroke:none;stroke-width:3.65202;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers;fill:url(#linearGradient8795);opacity:0.36"
|
||||
transform="translate(-17.649891,-33.894322)" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
@@ -1124,57 +1193,37 @@
|
||||
inkscape:label="Bloc Texte Conservation"><tspan
|
||||
x="-111.76953"
|
||||
y="270.68079"
|
||||
id="tspan43604"><tspan
|
||||
id="tspan22523"><tspan
|
||||
style="text-align:start"
|
||||
id="tspan43602">À conserver dans un endroit sec, à l'abri de
|
||||
id="tspan22521">À conserver dans un endroit sec, à l'abri de
|
||||
</tspan></tspan><tspan
|
||||
x="-111.76953"
|
||||
y="277.34745"
|
||||
id="tspan43608"><tspan
|
||||
id="tspan22527"><tspan
|
||||
style="text-align:start"
|
||||
id="tspan43606">la lumière.
|
||||
id="tspan22525">la lumière.
|
||||
</tspan></tspan><tspan
|
||||
x="-111.76953"
|
||||
y="284.0141"
|
||||
id="tspan43616"><tspan
|
||||
id="tspan22535"><tspan
|
||||
style="text-align:start"
|
||||
id="tspan43610">À consommer de préférence avant : </tspan><tspan
|
||||
id="tspan22529">À consommer de préférence avant : </tspan><tspan
|
||||
style="font-weight:bold;text-align:start"
|
||||
id="tspan43612">${dluo}</tspan><tspan
|
||||
id="tspan22531">${dluo}</tspan><tspan
|
||||
style="text-align:start"
|
||||
id="tspan43614">
|
||||
id="tspan22533">
|
||||
</tspan></tspan><tspan
|
||||
x="-111.76953"
|
||||
y="290.68076"
|
||||
id="tspan43620"><tspan
|
||||
id="tspan22539"><tspan
|
||||
style="font-weight:bold;text-align:start"
|
||||
id="tspan43618">*Produits issus de l'agriculture biologique.</tspan></tspan></text>
|
||||
id="tspan22537">*Produits issus de l'agriculture biologique.</tspan></tspan></text>
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer3"
|
||||
inkscape:label="Textes À Modifier"
|
||||
style="display:inline">
|
||||
<rect
|
||||
inkscape:label="Bandeau Bloc Composition"
|
||||
ry="0"
|
||||
y="-35"
|
||||
x="-47.999779"
|
||||
height="22"
|
||||
width="47.999779"
|
||||
id="rect1878-9-8"
|
||||
style="display:inline;fill-opacity:0.360784;stroke:none;stroke-width:3.16274;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers"
|
||||
transform="scale(-1)" />
|
||||
<rect
|
||||
inkscape:label="Bandeau Titre Composition"
|
||||
ry="0"
|
||||
y="-35"
|
||||
x="-47.999779"
|
||||
height="4.9999771"
|
||||
width="47.999779"
|
||||
id="rect1878-9-8-5"
|
||||
style="display:inline;fill-opacity:0.360784;stroke:none;stroke-width:1.82601;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers"
|
||||
transform="scale(-1)" />
|
||||
<g
|
||||
style="display:inline;stroke-width:1.00001"
|
||||
inkscape:label="Bloc Titre Composition"
|
||||
@@ -1221,24 +1270,6 @@
|
||||
id="rect1460" /></flowRegion><flowPara
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:10px;font-family:sans-serif;-inkscape-font-specification:sans-serif;text-align:start;text-anchor:start;stroke-width:1.00001;font-size:8.00003669px"
|
||||
id="flowPara168235">${ingredients}</flowPara></flowRoot>
|
||||
<rect
|
||||
inkscape:label="Bandeau Titre Infusion 2"
|
||||
ry="0"
|
||||
y="59"
|
||||
x="1.0034179e-07"
|
||||
height="22"
|
||||
width="47.999779"
|
||||
id="rect1878-6-5"
|
||||
style="display:inline;fill-opacity:0.360784;stroke:none;stroke-width:3.65202;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers" />
|
||||
<rect
|
||||
inkscape:label="Bandeau Titre Infusion"
|
||||
ry="0"
|
||||
y="59"
|
||||
x="1.0034179e-07"
|
||||
height="22"
|
||||
width="47.999779"
|
||||
id="rect1878-6"
|
||||
style="display:inline;fill-opacity:0.360784;stroke:none;stroke-width:3.65202;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.473118;paint-order:stroke fill markers" />
|
||||
<flowRoot
|
||||
inkscape:label="Culture a la main"
|
||||
transform="matrix(0.26458212,0,0,0.26458212,-66.840166,-16.855178)"
|
||||
@@ -1284,8 +1315,8 @@
|
||||
inkscape:label="Désignation"><tspan
|
||||
x="244.91243"
|
||||
y="187.77976"
|
||||
id="tspan43624"><tspan
|
||||
id="tspan22543"><tspan
|
||||
style="font-weight:normal;font-stretch:normal;font-family:Karumbi;-inkscape-font-specification:Karumbi"
|
||||
id="tspan43622">${designation}</tspan></tspan></text>
|
||||
id="tspan22541">${designation}</tspan></tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Reference in New Issue
Block a user