use svg for flags

This commit is contained in:
Gaspard Jankowiak 2024-03-22 09:41:01 +01:00
commit 0664e96b72
7 changed files with 335 additions and 163 deletions

138
images/flags/at_de.svg Normal file
View file

@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="320"
height="210"
viewBox="0 0 84.666665 55.562499"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="at_de.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="2"
inkscape:cx="388.25"
inkscape:cy="62.25"
inkscape:window-width="2560"
inkscape:window-height="1403"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g2" />
<defs
id="defs1">
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath1">
<path
id="path1"
clip-path="none"
style="stroke-width:0.264583"
d="M 81.418287,2.1316528 3.2483806,53.430847 C 4.8314737,54.760699 6.8743931,55.5625 9.1131387,55.5625 H 75.553528 c 5.048572,0 9.113139,-4.064566 9.113139,-9.113139 V 9.1131387 c 0,-2.8098263 -1.261457,-5.3124018 -3.24838,-6.9814859 z" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath2">
<rect
style="fill:#110004;fill-opacity:1;stroke-width:0.264583"
id="rect4"
width="84.666664"
height="55.5625"
x="1.3333333e-06"
y="2.1316282e-14"
ry="9.1129551"
clip-path="none" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath6">
<path
id="path6"
clip-path="none"
style="display:inline;fill:#110004;stroke-width:0.266671"
d="m 75.731296,55.827083 c 5.096654,0 9.199956,-4.103301 9.199956,-9.199955 V 8.9353708 c 0,-1.9537204 -0.606409,-3.7585915 -1.63711,-5.2451556 L 5.1149343,54.994576 c 1.163529,0.529771 2.4542273,0.832507 3.8204378,0.832507 z M 1.3730433,51.872286 79.551218,0.56792283 C 78.3878,0.03827463 77.097343,-0.26458333 75.731296,-0.26458333 H 8.9353721 c -5.0966529,0 -9.1999541,4.10330123 -9.1999541,9.19995413 V 46.627128 c 0,1.953834 0.60681923,3.758545 1.6376253,5.245158 z" />
</clipPath>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g2"
transform="rotate(180,42.333334,27.78125)">
<g
id="g6"
clip-path="url(#clipPath6)">
<g
id="g4"
clip-path="url(#clipPath2)"
style="display:inline">
<rect
style="fill:#000000;fill-opacity:1;stroke-width:0.264583"
id="rect1"
width="84.666664"
height="18.520834"
x="1.2715658e-06"
y="-8.8817842e-16" />
<rect
style="fill:#ffce00;fill-opacity:1;stroke-width:0.264583"
id="rect2"
width="84.666664"
height="18.520834"
x="1.2715658e-06"
y="37.041668" />
<rect
style="fill:#dd0000;fill-opacity:1;stroke-width:0.264583"
id="rect3"
width="84.666664"
height="18.520834"
x="1.2715658e-06"
y="18.520834" />
</g>
<g
id="g4-6"
clip-path="url(#clipPath1)"
style="display:inline">
<rect
style="fill:#d80033;fill-opacity:1;stroke-width:0.264583"
id="rect1-2"
width="84.666664"
height="18.520834"
x="1.2715658e-06"
y="-8.8817842e-16" />
<rect
style="fill:#d80033;fill-opacity:1;stroke-width:0.264583"
id="rect2-6"
width="84.666664"
height="18.520834"
x="1.2715658e-06"
y="37.041668" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke-width:0.264583"
id="rect3-1"
width="84.666664"
height="18.520834"
x="1.2715658e-06"
y="18.520834" />
</g>
</g>
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Layer 2" />
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

88
images/flags/fr.svg Normal file
View file

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="320"
height="210"
viewBox="0 0 84.666665 55.562499"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="fr.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="2.0283687"
inkscape:cx="0.49300701"
inkscape:cy="100.81993"
inkscape:window-width="1920"
inkscape:window-height="1011"
inkscape:window-x="2560"
inkscape:window-y="32"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1">
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath9">
<rect
style="display:inline;fill:#110004;fill-opacity:1;stroke-width:0.264583"
id="rect10"
width="84.666664"
height="55.5625"
x="1.2715658e-06"
y="-5.3290705e-15"
ry="9.1129551"
clip-path="none" />
</clipPath>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g9"
style="display:inline"
clip-path="url(#clipPath9)">
<rect
style="fill:#002752;fill-opacity:1;stroke-width:0.339341"
id="rect7"
width="28.310417"
height="55.5625"
x="0"
y="-6.2311267e-15"
rx="0"
ry="0" />
<rect
style="fill:#ffffff;fill-opacity:1;stroke-width:0.337752"
id="rect8"
width="28.045834"
height="55.5625"
x="28.310417"
y="-6.2311267e-15"
rx="0"
ry="0" />
<rect
style="fill:#de002c;fill-opacity:1;stroke-width:0.339341"
id="rect9"
width="28.310417"
height="55.5625"
x="56.356251"
y="-6.2311267e-15"
rx="0"
ry="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

99
images/flags/uk.svg Normal file
View file

@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="320"
height="210"
viewBox="0 0 84.666665 55.562499"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="uk.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="1.4342733"
inkscape:cx="-134.56292"
inkscape:cy="190.68891"
inkscape:window-width="1920"
inkscape:window-height="1011"
inkscape:window-x="2560"
inkscape:window-y="32"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1">
<clipPath
id="s">
<path
d="M 0,0 V 30 H 60 V 0 Z"
id="path1" />
</clipPath>
<clipPath
id="t">
<path
d="m 30,15 h 30 v 15 z m 0,0 V 30 H 0 Z m 0,0 H 0 V 0 Z m 0,0 V 0 h 30 z"
id="path2" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath1">
<rect
style="display:inline;fill:#110004;fill-opacity:1;stroke-width:0.163663"
id="rect1"
width="60"
height="30"
x="9.0110962e-07"
y="-2.8773385e-15"
ry="4.9203806"
clip-path="none" />
</clipPath>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
clip-path="url(#clipPath1)"
id="g7"
transform="scale(1.4111111,1.8520833)"
style="display:inline">
<path
d="M 0,0 V 30 H 60 V 0 Z"
fill="#012169"
id="path3" />
<path
d="M 0,0 60,30 M 60,0 0,30"
stroke="#ffffff"
stroke-width="6"
id="path4" />
<path
d="M 0,0 60,30 M 60,0 0,30"
clip-path="url(#t)"
stroke="#c8102e"
stroke-width="4"
id="path5" />
<path
d="M 30,0 V 30 M 0,15 h 60"
stroke="#ffffff"
stroke-width="10"
id="path6" />
<path
d="M 30,0 V 30 M 0,15 h 60"
stroke="#c8102e"
stroke-width="6"
id="path7" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB