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

271 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
id="svg3559"
version="1.1"
viewBox="0 0 64 64"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs3561">
<linearGradient
id="linearGradient4383-3">
<stop
id="stop73188"
offset="0"
style="stop-color:#307bf7;stop-opacity:1" />
<stop
id="stop73190"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3774">
<stop
style="stop-color:#359b2e;stop-opacity:1"
offset="0"
id="stop3776" />
<stop
style="stop-color:#a6e3a1;stop-opacity:1"
offset="1"
id="stop3778" />
</linearGradient>
<linearGradient
id="linearGradient2380">
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop2382" />
<stop
style="stop-color:#307bf7;stop-opacity:1"
offset="1"
id="stop2384" />
</linearGradient>
<linearGradient
id="linearGradient4399-70"
x1="48.714001"
x2="44.714001"
y1="45.585999"
y2="34.585999"
gradientTransform="translate(1.2856,1.4142)"
gradientUnits="userSpaceOnUse">
<stop
stop-color="#bc8009"
offset="0"
id="stop8" />
<stop
stop-color="#f8c459"
offset="1"
id="stop10" />
</linearGradient>
<linearGradient
id="linearGradient69709"
x1="20.243999"
x2="17.243999"
y1="37.588001"
y2="27.587999"
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
gradientUnits="userSpaceOnUse"
xlink:href="#linearGradient4383-3" />
<linearGradient
id="linearGradient4389-9"
x1="20.243999"
x2="17.243999"
y1="37.588001"
y2="27.587999"
gradientTransform="translate(-1.2435,-2.5881)"
gradientUnits="userSpaceOnUse"
xlink:href="#linearGradient3774" />
<linearGradient
id="linearGradient69042-0"
x1="48.714001"
x2="44.714001"
y1="45.585999"
y2="34.585999"
gradientTransform="translate(-12.714,-17.586)"
gradientUnits="userSpaceOnUse"
xlink:href="#linearGradient3774" />
<linearGradient
xlink:href="#linearGradient4399-70"
id="linearGradient922"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-52.714,-17.586)"
x1="48.714001"
y1="45.585999"
x2="44.714001"
y2="34.585999" />
<linearGradient
xlink:href="#linearGradient2380"
id="linearGradient3034-7"
gradientUnits="userSpaceOnUse"
x1="41.791897"
y1="20.134634"
x2="23.705669"
y2="34.083359"
gradientTransform="matrix(-0.82942185,-0.69481004,-0.70076106,0.82237821,78.689134,17.828742)" />
<linearGradient
xlink:href="#linearGradient2380"
id="linearGradient3034-4-9"
gradientUnits="userSpaceOnUse"
x1="26.221533"
y1="31.125586"
x2="46.731483"
y2="21.766298"
gradientTransform="matrix(0.82942185,0.69481004,0.70076106,-0.82237821,-14.689134,46.171259)" />
</defs>
<metadata
id="metadata3564">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:date>2015-07-04</dc:date>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/Path/Gui/Resources/icons/Path-Stock.svg</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<g
id="g1124"
transform="matrix(1.0964113,0,0,1.0964113,-13.226965,60.643745)"
style="opacity:1">
<g
id="g40"
style="stroke-width:2"
transform="translate(9.249999,-58.229485)">
<path
d="M 9,49 V 35 l 28,10 v 14 z"
id="path30"
style="fill:#585b70;stroke:#103b35;stroke-linejoin:round;stroke-opacity:1" />
<path
d="M 37,59 V 45 L 55,28 v 13 z"
id="path32"
style="fill:#585b70;stroke:#103b35;stroke-linejoin:round;stroke-opacity:1" />
<path
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
id="path34"
style="fill:#45475a;stroke:#585b70" />
<path
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
id="path36"
style="fill:#45475a;stroke:#585b70" />
<path
d="M 23,40 42,23 55,28 37,45 Z"
id="path38"
style="fill:#6c7086;stroke:#103b35;stroke-linejoin:round;stroke-opacity:1" />
</g>
<g
id="g943"
transform="translate(-50.750001,-58.229485)">
<path
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
id="path54"
style="fill:url(#linearGradient69709);stroke:#103b35;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
<path
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
id="path56"
style="fill:#45475a;stroke:#585b70;stroke-width:2" />
<path
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
id="path58"
style="fill:#f8c459;stroke:#103b35;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
<path
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
id="path60"
style="fill:#45475a;stroke:#585b70;stroke-width:2" />
<path
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
id="path62"
style="fill:#6c7086;stroke:#103b35;stroke-width:2;stroke-linejoin:round;stroke-opacity:1" />
</g>
<g
id="g963"
transform="translate(49.249999,-58.229485)">
<g
style="stroke:#1c5017;stroke-width:2;stroke-linejoin:round"
transform="translate(-40)"
id="g48">
<path
style="fill:url(#linearGradient4389-9)"
id="path42"
d="M 9,35 V 21 l 14,5 v 14 z" />
<path
style="fill:#a6e3a1"
id="path44"
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
<path
style="fill:url(#linearGradient69042-0)"
id="path46"
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
</g>
<path
style="fill:#45475a;fill-opacity:1;stroke:#103b35;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
id="path912"
d="M -31,35 V 21 l 14,5 v 14 z" />
<path
style="fill:#6c7086;fill-opacity:1;stroke:#103b35;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
id="path914"
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
<path
style="fill:url(#linearGradient922);fill-opacity:1;stroke:#103b35;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
id="path916"
d="M -17,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
<path
d="m -15,36 v -9 l 4,-3.5 v 9 z"
id="path50"
style="fill:#45475a;stroke:#585b70;stroke-width:2;stroke-opacity:1" />
<path
d="m -29.049,33.746 0.08695,-9.9796 9.9568,3.5229 -0.02105,9.9613 z"
id="path52"
style="fill:none;stroke:#585b70;stroke-width:2;stroke-opacity:1" />
</g>
</g>
</g>
<g
id="layer3"
style="display:inline;stroke-width:1.00001"
transform="matrix(0.99999395,0,0,0.99999769,1.9375e-4,7.39671e-5)">
<path
style="color:#11111b;display:block;overflow:visible;visibility:visible;fill:url(#linearGradient3034-7);fill-opacity:1;fill-rule:nonzero;stroke:#05255a;stroke-width:2.00001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
d="M 6.7411068,28.35175 C 1.4831503,3.6363838 28.09784,-5.6492191 51.300453,12.499428 L 58.138947,5.0555856 58.001843,29.387215 36.57066,29.365336 c 0,0 7.133319,-7.951066 7.133319,-7.951066 C 27.386121,9.1527 6.487378,10.070587 6.7411068,28.35175 Z"
id="path1880" />
<path
id="path2807"
d="M 8.9327084,16.531664 C 10.778287,7.0872986 29.562949,-3.0013417 51.45955,15.429377 l 4.588842,-4.832097 -0.19413,16.695009 -14.599448,0.0047 5.534397,-6.0237 C 33.264206,10.416141 16.345195,7.4769202 8.9327084,16.531664 Z"
style="color:#11111b;display:block;overflow:visible;visibility:visible;fill:none;stroke:#89b4fa;stroke-width:2.00001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:21;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" />
<path
style="color:#11111b;display:block;overflow:visible;visibility:visible;fill:url(#linearGradient3034-4-9);fill-opacity:1;fill-rule:nonzero;stroke:#05255a;stroke-width:2.00001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
d="M 57.258893,35.64825 C 62.516849,60.363616 35.90216,69.649219 12.699547,51.500572 l -6.8384943,7.443843 0.1371039,-24.33163 21.4311834,0.02188 c 0,0 -7.13332,7.951066 -7.13332,7.951066 16.317859,12.26157 37.216602,11.343683 36.962873,-6.93748 z"
id="path1880-2" />
<path
id="path2807-5"
d="M 55.067292,47.468336 C 53.683665,57.143642 34.437051,67.001342 12.54045,48.570623 l -4.5888419,4.832097 0.19413,-16.695009 14.5994479,-0.0047 -5.534397,6.0237 c 13.525005,10.857147 30.444015,13.796366 37.856503,4.741623 z"
style="color:#11111b;display:block;overflow:visible;visibility:visible;fill:none;stroke:#89b4fa;stroke-width:2.00001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:21;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" />
</g>
</svg>