Files
create/icons/themed/Draft_PolarLinkArray.svg
forbes d7b532255b
Some checks failed
Build and Test / build (pull_request) Has been cancelled
feat(icons): add icon theming infrastructure with Catppuccin color remapping
- Remove hand-crafted kindred-icons/ in favor of auto-generated themed icons
- Add icons/mappings/ with FCAD.csv (Tango palette) and kindred.csv (Catppuccin Mocha)
- Add icons/retheme.py script to remap upstream FreeCAD SVG colors
- Generate icons/themed/ with 1,595 themed SVGs (45,300 color replacements)
- BitmapFactory loads icons/themed/ as highest priority before default icons
- 157-color mapping covers the full Tango palette, interpolating between
  4 luminance anchors per color family

Regenerate: python3 icons/retheme.py
2026-02-15 20:34:22 -06:00

369 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="64px"
height="64px"
id="svg5821"
version="1.1">
<title
id="title862">Draft_PolarLinkArray</title>
<defs
id="defs5823">
<linearGradient
id="linearGradient6349">
<stop
style="stop-color:#11111b;stop-opacity:1;"
offset="0"
id="stop6351" />
<stop
style="stop-color:#11111b;stop-opacity:0;"
offset="1"
id="stop6353" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#0845b0;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#5190f8;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3377"
id="linearGradient3383"
x1="901.1875"
y1="1190.875"
x2="1267.9062"
y2="1190.875"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1,0,0,1,2199.356,0)" />
<radialGradient
xlink:href="#linearGradient6349"
id="radialGradient6355"
cx="1103.6399"
cy="1424.4465"
fx="1103.6399"
fy="1424.4465"
r="194.40614"
gradientTransform="matrix(-1.4307499,-1.3605156e-7,-1.202713e-8,0.1264801,2674.7488,1244.2826)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3791-6">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop3793-7" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop3795-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3791-6"
id="linearGradient3820"
x1="939.98767"
y1="1097.5122"
x2="893.2572"
y2="989.77716"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3791-0">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop3793-6" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop3795-2" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3791-0"
id="linearGradient3896"
x1="939.98767"
y1="1097.5122"
x2="893.2572"
y2="989.77716"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3791-6-9">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop3793-7-7" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop3795-5-3" />
</linearGradient>
<linearGradient
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
gradientUnits="userSpaceOnUse"
id="linearGradient3834-6"
xlink:href="#linearGradient3791-6-9"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06364,54.837797)" />
<linearGradient
id="linearGradient3791-2">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop3793-9" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop3795-3" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3791-2"
id="linearGradient3896-1"
x1="939.98767"
y1="1097.5122"
x2="893.2572"
y2="989.77716"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient3791-6-9"
id="linearGradient911"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06364,54.837797)"
x1="939.98767"
y1="1097.5122"
x2="893.2572"
y2="1049.63" />
<linearGradient
xlink:href="#linearGradient3791-6-9"
id="linearGradient926"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06352,186.42979)"
x1="939.98773"
y1="989.77716"
x2="893.2572"
y2="941.8949" />
<linearGradient
xlink:href="#linearGradient3791-6-9"
id="linearGradient934"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06352,186.42979)"
x1="939.98773"
y1="989.77716"
x2="893.2572"
y2="941.8949" />
<linearGradient
xlink:href="#linearGradient3791-6-9"
id="linearGradient942"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06352,186.42979)"
x1="939.98773"
y1="989.77716"
x2="893.2572"
y2="941.8949" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1.4307499,-1.3605156e-7,-1.202713e-8,0.1264801,2674.7488,1244.2826)"
r="194.40614"
fy="1424.4465"
fx="1103.6399"
cy="1424.4465"
cx="1103.6399"
id="radialGradient6355-6"
xlink:href="#linearGradient6349" />
<linearGradient
y2="7.5416322"
x2="372.52457"
y1="358.15811"
x1="288.11227"
gradientTransform="matrix(-0.51964051,0,0,0.50042191,1386.3532,982.21378)"
gradientUnits="userSpaceOnUse"
id="linearGradient5137"
xlink:href="#linearGradient3774" />
<linearGradient
id="linearGradient3774">
<stop
id="stop3776"
offset="0"
style="stop-color:#359b2e;stop-opacity:1" />
<stop
id="stop3778"
offset="1"
style="stop-color:#a6e3a1;stop-opacity:1" />
</linearGradient>
</defs>
<g
id="layer1">
<g
id="g3360"
transform="matrix(0.1367863,0,0,0.1367863,-119.15519,-134.86962)">
<path
style="fill:none;fill-rule:evenodd;stroke:#0c1622;stroke-width:14.62134731;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:43.86404194,14.62134731;stroke-opacity:0.50196078;stroke-dashoffset:0"
d="m 1002.6968,1380.7642 h 233.9416"
id="path864" />
<path
id="path862"
d="M 944.21145,1322.2788 V 1088.3372"
style="fill:none;fill-rule:evenodd;stroke:#0c1622;stroke-width:14.62134731;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:43.86404194,14.62134731;stroke-opacity:0.50196078;stroke-dashoffset:0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#0c1622;stroke-width:14.62134731;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:43.86404194,14.62134731;stroke-opacity:0.50196078;stroke-dashoffset:0"
d="M 973.45414,1329.5894 1096.1609,1117.5799"
id="path858" />
<path
id="path860"
d="M 1002.6968,1351.5215 1222.017,1234.5507"
style="fill:none;fill-rule:evenodd;stroke:#0c1622;stroke-width:14.62134731;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:43.86404194,14.62134731;stroke-opacity:0.50196078;stroke-dashoffset:0" />
<path
style="opacity:0.5;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:14.62134743;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path944"
d="m 943.94776,1099.3995 a 285.37994,281.36465 0 0 1 285.37994,281.3647" />
<g
id="g903">
<rect
y="1329.5894"
x="1214.7063"
height="73.106735"
width="73.106735"
id="rect3808-6-1-20"
style="fill:url(#linearGradient3834-6);fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:14.62134743;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<g
id="g916"
transform="translate(0,14.621347)">
<rect
y="1314.968"
x="1200.0851"
height="102.34943"
width="102.34941"
id="rect3808-2-6"
style="fill:#307bf7;fill-opacity:1;fill-rule:nonzero;stroke:#052459;stroke-width:14.62134838;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="fill:url(#linearGradient911);fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:14.62134743;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect905"
width="73.106735"
height="73.106735"
x="1214.7063"
y="1329.5894" />
</g>
<g
id="g922"
transform="translate(-29.242576,-131.59199)">
<rect
style="fill:#307bf7;fill-opacity:1;fill-rule:nonzero;stroke:#052459;stroke-width:14.62134838;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect918"
width="102.34941"
height="102.34943"
x="1200.0851"
y="1314.968" />
<rect
y="1329.5894"
x="1214.7063"
height="73.106735"
width="73.106735"
id="rect920"
style="fill:url(#linearGradient926);fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:14.62134743;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<g
transform="translate(-153.52403,-248.56277)"
id="g932">
<rect
y="1314.968"
x="1200.0851"
height="102.34943"
width="102.34941"
id="rect928"
style="fill:#307bf7;fill-opacity:1;fill-rule:nonzero;stroke:#052459;stroke-width:14.62134838;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="fill:url(#linearGradient934);fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:14.62134743;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect930"
width="73.106735"
height="73.106735"
x="1214.7063"
y="1329.5894" />
</g>
<g
id="g940"
transform="translate(-307.04835,-292.42682)">
<rect
style="fill:#307bf7;fill-opacity:1;fill-rule:nonzero;stroke:#052459;stroke-width:14.62134838;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect936"
width="102.34941"
height="102.34943"
x="1200.0851"
y="1314.968" />
<rect
y="1329.5894"
x="1214.7063"
height="73.106735"
width="73.106735"
id="rect938"
style="fill:url(#linearGradient942);fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:14.62134743;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
</g>
</g>
<metadata
id="metadata3357">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Draft_PolarLinkArray</dc:title>
<cc:license
rdf:resource="" />
<dc:date>Dec 24 18:30:00 2019 CST</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[vocx]</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_PolarLinkArray.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson, [yorikvanhavre]</dc:title>
</cc:Agent>
</dc:contributor>
<dc:description>Four rectangles in a polar pattern spanning 90 degrees, and a green arrow denoting that it uses the Link component</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>rectangle</rdf:li>
<rdf:li>array</rdf:li>
<rdf:li>link</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="matrix(0.1367863,0,0,0.1367863,-124.99724,-133.02985)"
id="g4218">
<path
id="path4228"
d="m 1145.5648,1074.1543 c 18.5937,-18.383 48.2169,-28.9064 88.8688,-31.5737 v -37.4326 c 0,-4.0003 1.9294,-6.80966 5.7868,-8.43006 4.0547,-1.61639 7.5171,-0.95178 10.3849,2.00121 l 75.9581,73.15065 c 1.8799,1.8121 2.8184,3.9543 2.8184,6.4303 0,2.4767 -0.9389,4.6185 -2.8184,6.429 l -75.9602,73.1502 c -1.7833,1.81 -4.0064,2.7148 -6.6772,2.7148 -1.1865,0 -2.4222,-0.2382 -3.7083,-0.7141 -3.8572,-1.6204 -5.7882,-4.4273 -5.7882,-8.4296 v -35.8618 c -15.9228,1.2386 -29.1503,3.7387 -39.6881,7.5008 -10.5331,3.7627 -18.9637,9.0247 -25.2946,15.7879 -14.738,15.7158 -19.9806,42.6214 -15.7274,80.7237 0.1953,2.4775 -0.9389,4.0963 -3.4125,4.858 -0.2967,0.097 -0.7414,0.142 -1.3349,0.142 -1.9778,0 -3.361,-0.8095 -4.154,-2.4285 l -2.9667,-5.7148 c -1.3832,-2.6676 -3.3858,-6.9784 -6.007,-12.9313 -2.6194,-5.9556 -4.9969,-11.9071 -7.1237,-17.8612 -2.1269,-5.9515 -4.0298,-12.5235 -5.7119,-19.7147 -1.6805,-7.194 -2.5219,-13.5508 -2.5219,-19.074 0,-32.0039 8.3606,-56.2428 25.078,-72.7222 z"
style="opacity:1;fill:#a6e3a1;fill-opacity:1;stroke:#1c5017;stroke-width:14.62134743;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="opacity:1;fill:url(#linearGradient5137);fill-opacity:1;stroke:none;stroke-width:34.75331116;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 1252.6459,1025.0625 c 18.4441,17.7617 37.1632,35.1962 55.3062,53.3235 -19.0906,18.0067 -37.542,36.7844 -56.7747,54.6184 -0.018,-12.2743 -0.087,-24.5491 0.032,-36.8231 -26.4463,1.6409 -53.9694,3.575 -77.8197,17.2303 -17.0095,9.5803 -28.4884,27.8106 -34.5388,47.088 -3.5743,-21.5969 -1.2897,-45.3408 10.607,-63.6609 11.0273,-16.9013 29.5358,-25.7267 47.629,-30.3404 14.7839,-4.3279 30.2561,-4.0127 45.1276,-7.7257 7.8392,-4.3982 10.4187,-14.9284 9.2176,-23.8416 -0.062,-3.7919 -0.2886,-7.6325 -0.4323,-11.451 0.5488,0.5275 1.0977,1.055 1.6465,1.5825 z"
id="path5135" />
</g>
</svg>