Files
create/icons/themed/Draft_PolarArray.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

326 lines
12 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"
version="1.1"
id="svg5821"
height="64px"
width="64px">
<title
id="title862">Draft_PolarArray</title>
<defs
id="defs5823">
<linearGradient
id="linearGradient6349">
<stop
id="stop6351"
offset="0"
style="stop-color:#11111b;stop-opacity:1;" />
<stop
id="stop6353"
offset="1"
style="stop-color:#11111b;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#0845b0;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#5190f8;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientTransform="matrix(-1,0,0,1,2199.356,0)"
gradientUnits="userSpaceOnUse"
y2="1190.875"
x2="1267.9062"
y1="1190.875"
x1="901.1875"
id="linearGradient3383"
xlink:href="#linearGradient3377" />
<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"
xlink:href="#linearGradient6349" />
<linearGradient
id="linearGradient3791-6">
<stop
id="stop3793-7"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795-5"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3820"
xlink:href="#linearGradient3791-6" />
<linearGradient
id="linearGradient3791-0">
<stop
id="stop3793-6"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795-2"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3896"
xlink:href="#linearGradient3791-0" />
<linearGradient
id="linearGradient3791-6-9">
<stop
id="stop3793-7-7"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795-5-3"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06364,54.837797)"
xlink:href="#linearGradient3791-6-9"
id="linearGradient3834-6"
gradientUnits="userSpaceOnUse"
x1="939.98767"
y1="1097.5122"
x2="893.2572"
y2="989.77716" />
<linearGradient
id="linearGradient3791-2">
<stop
id="stop3793-9"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795-3"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3896-1"
xlink:href="#linearGradient3791-2" />
<linearGradient
y2="1049.63"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06364,54.837797)"
gradientUnits="userSpaceOnUse"
id="linearGradient911"
xlink:href="#linearGradient3791-6-9" />
<linearGradient
y2="941.8949"
x2="893.2572"
y1="989.77716"
x1="939.98773"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06352,186.42979)"
gradientUnits="userSpaceOnUse"
id="linearGradient926"
xlink:href="#linearGradient3791-6-9" />
<linearGradient
y2="941.8949"
x2="893.2572"
y1="989.77716"
x1="939.98773"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06352,186.42979)"
gradientUnits="userSpaceOnUse"
id="linearGradient934"
xlink:href="#linearGradient3791-6-9" />
<linearGradient
y2="941.8949"
x2="893.2572"
y1="989.77716"
x1="939.98773"
gradientTransform="matrix(1.251547,0,0,1.2214422,104.06352,186.42979)"
gradientUnits="userSpaceOnUse"
id="linearGradient942"
xlink:href="#linearGradient3791-6-9" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.1367863,0,0,0.1367863,-119.15519,-134.86962)"
id="g3360">
<path
id="path864"
d="m 1002.6968,1380.7642 h 233.9416"
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 944.21145,1322.2788 V 1088.3372"
id="path862" />
<path
id="path858"
d="M 973.45414,1329.5894 1096.1609,1117.5799"
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 1002.6968,1351.5215 1222.017,1234.5507"
id="path860" />
<path
d="m 943.94776,1099.3995 a 285.37994,281.36465 0 0 1 285.37994,281.3647"
id="path944"
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" />
<g
id="g903">
<rect
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"
id="rect3808-6-1-20"
width="73.106735"
height="73.106735"
x="1214.7063"
y="1329.5894" />
</g>
<g
transform="translate(0,14.621347)"
id="g916">
<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="rect3808-2-6"
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="rect905"
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" />
</g>
<g
transform="translate(-29.242576,-131.59199)"
id="g922">
<rect
y="1314.968"
x="1200.0851"
height="102.34943"
width="102.34941"
id="rect918"
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(#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"
id="rect920"
width="73.106735"
height="73.106735"
x="1214.7063"
y="1329.5894" />
</g>
<g
id="g932"
transform="translate(-153.52403,-248.56277)">
<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="rect928"
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="rect930"
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" />
</g>
<g
transform="translate(-307.04835,-292.42682)"
id="g940">
<rect
y="1314.968"
x="1200.0851"
height="102.34943"
width="102.34941"
id="rect936"
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(#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"
id="rect938"
width="73.106735"
height="73.106735"
x="1214.7063"
y="1329.5894" />
</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_PolarArray</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_PolarArray.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</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>rectangle</rdf:li>
<rdf:li>array</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>