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

357 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
version="1.1"
viewBox="0 0 64 64"
id="svg96"
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="defs26">
<linearGradient
id="linearGradient1">
<stop
style="stop-color:#efdc3d;stop-opacity:1;"
offset="0"
id="stop1" />
<stop
style="stop-color:#bba80d;stop-opacity:1;"
offset="1"
id="stop3" />
</linearGradient>
<linearGradient
id="linearGradient4383">
<stop
stop-color="#307bf7"
offset="0"
id="stop2" />
<stop
stop-color="#89b4fa"
offset="1"
id="stop4" />
</linearGradient>
<linearGradient
id="linearGradient4399"
x1="48.714"
x2="44.714"
y1="45.586"
y2="34.586"
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="linearGradient69056"
x1="27.244"
x2="22.244"
y1="54.588"
y2="40.588"
gradientTransform="translate(-1.2435,-2.5881)"
gradientUnits="userSpaceOnUse">
<stop
stop-color="#bc8009"
offset="0"
id="stop14" />
<stop
stop-color="#f9e2af"
offset="1"
id="stop16" />
</linearGradient>
<linearGradient
id="linearGradient3774">
<stop
stop-color="#359b2e"
offset="0"
id="stop21" />
<stop
stop-color="#a6e3a1"
offset="1"
id="stop23" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4383"
id="linearGradient9"
x1="32"
y1="64"
x2="32"
y2="14.419661"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient4399"
id="linearGradient13"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(1.2856,1.4142)"
x1="48.714"
y1="45.586"
x2="44.714"
y2="34.586" />
<linearGradient
xlink:href="#linearGradient1"
id="linearGradient14"
gradientUnits="userSpaceOnUse"
x1="8.000092"
y1="31.5"
x2="55.999914"
y2="31.5" />
<linearGradient
xlink:href="#linearGradient3774"
id="linearGradient15"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-1.2435,-2.5881)"
x1="20.244"
y1="37.588"
x2="17.244"
y2="27.588" />
<linearGradient
xlink:href="#linearGradient3774"
id="linearGradient16"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-12.714,-17.586)"
x1="48.714"
y1="45.586"
x2="44.714"
y2="34.586" />
<linearGradient
xlink:href="#linearGradient69056"
id="linearGradient17"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-41.2435,-2.5881)"
x1="20.243999"
y1="37.588001"
x2="17.243999"
y2="27.587999" />
<linearGradient
xlink:href="#linearGradient4399"
id="linearGradient18"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-52.714,-17.586)"
x1="48.714001"
y1="45.585999"
x2="44.714001"
y2="34.585999" />
<linearGradient
xlink:href="#linearGradient4383"
id="linearGradient19"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,-0.026667,0,1,81.696,-5.3735)"
x1="20.244"
y1="37.588"
x2="17.244"
y2="27.588" />
<linearGradient
xlink:href="#linearGradient4383"
id="linearGradient20"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(61.2256,1.0356)"
x1="50.714"
y1="25.586"
x2="48.714"
y2="20.586" />
<linearGradient
xlink:href="#linearGradient69056"
id="linearGradient21"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-1.2435,-2.5881)"
x1="27.244"
y1="54.588"
x2="22.244"
y2="40.588" />
</defs>
<metadata
id="metadata28">
<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="layer3"
style="display:inline">
<path
style="fill:#0846b3;fill-opacity:1;stroke:#05255a;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="path4"
d="M 29.921921,10.073012 26.993293,6.1977395 C 26.21651,5.1698698 25.163057,4.5924975 24.064598,4.5924975 H 5.0714589 c -1.1437425,0 -2.0708717,1.2268134 -2.0708717,2.740257 V 58.484215 c 0,0.504481 0.309043,0.913419 0.6902905,0.913419 H 60.294706 c 0.381247,0 0.690291,-0.408938 0.690291,-0.913419 V 12.813269 c 0,-1.513445 -0.927129,-2.740257 -2.070872,-2.740257 z" />
<path
style="fill:#0846b3;fill-opacity:1;stroke:#307bf7;stroke-width:2;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="path7"
d="M 5.2089844,6.5917969 H 24.064453 c 0.375444,0 0.874561,0.2026195 1.333984,0.8105468 l 3.527344,4.6699223 h 29.84961 c 0.0082,0.01044 0.01784,0.02289 0.02734,0.03711 0.01056,0.0158 0.02193,0.03237 0.0332,0.05273 0.08049,0.145363 0.148438,0.361331 0.148438,0.650391 v 44.58594 H 5 V 7.3320312 C 5,7.0436394 5.0678061,6.828994 5.1484375,6.6835937 c 0.011294,-0.020366 0.022609,-0.038859 0.033203,-0.054687 0.00953,-0.014245 0.019073,-0.026632 0.027344,-0.03711 z" />
<path
style="fill:#89b4fa;fill-opacity:1;stroke:#05255a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="path6-0"
d="m 29.919347,14.419661 -2.927223,3.534545 C 26.215716,18.891703 25.16247,19.41831 24.064012,19.41831 H 3.0000008 l 0.015588,39.156085 c 2.171e-4,0.460126 0.3093777,0.833108 0.6906252,0.833108 h 56.603828 c 0.381248,0 0.690139,-0.372982 0.689957,-0.833108 L 60.983419,16.918986 C 60.982865,15.538609 60.055293,14.419661 58.91155,14.419661 H 29.919344 Z" />
<path
style="fill:url(#linearGradient9);fill-opacity:1;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
id="path8"
d="m 30.861328,16.419922 h 28.050781 c 0,0 0.07225,0.463543 0.07227,0.5 L 59,57.408203 H 5.015625 L 5,21.417969 h 19.064453 c 1.756119,0 3.349555,-0.836095 4.46875,-2.1875 z" />
</g>
<g
id="g20"
transform="matrix(0.57654394,0,0,0.57654394,13.743375,57.059518)">
<g
id="g40-3"
style="stroke-width:2"
transform="matrix(0.80408661,0,0,0.80408661,3.6084445,-50.31302)">
<path
d="M 9,49 V 35 l 28,10 v 14 z"
id="path30-3"
style="font-variation-settings:normal;opacity:1;fill:url(#linearGradient21);fill-opacity:1;stroke:#664506;stroke-width:1.99978;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#11111b;stop-opacity:1" />
<path
d="M 37,59 V 45 L 55,28 v 13 z"
id="path32-5"
style="fill:url(#linearGradient13);stroke:#664506;stroke-width:1.99978;stroke-linejoin:round;stroke-dasharray:none" />
<path
d="M 11.008,47.606 11,37.9997 l 24,8 0.0081,10.185 z"
id="path34-7"
style="fill:none;stroke:#f9e2af" />
<path
d="M 39.005,54.168 39,45.9998 l 14,-13 0.0021,7.1768 z"
id="path36-3"
style="fill:none;stroke:#f8c459" />
<path
d="M 9,35 28,18 55,28 37,45 Z"
id="path38-5"
style="fill:url(#linearGradient14);stroke:#664506;stroke-linejoin:round" />
<path
d="M 12.804336,34.208711 28.573658,19.940661 51.218486,28.771569 36.523799,42.772294 Z"
id="path34-3-5"
style="fill:none;stroke:#f9e2af;stroke-width:2" />
</g>
<g
id="g8"
transform="translate(-1.3048518,-63.456928)">
<path
style="color:#11111b;fill:#d76363;stroke:#650707;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 24.478541,15.553224 a 1.4365924,1.4365924 0 0 0 -1.436592,1.436592 l 0.0029,2.466338 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 l -0.0029,-2.466337 a 1.4365924,1.4365924 0 0 0 -1.436593,-1.433787 z m 0.0056,6.776115 a 1.4365924,1.4365924 0 0 0 -1.436592,1.436592 l 0.0029,2.873185 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 l -0.0029,-2.873185 a 1.4365924,1.4365924 0 0 0 -1.436593,-1.433786 z m 0.0056,7.182962 a 1.4365924,1.4365924 0 0 0 -1.433787,1.436592 v 2.873185 a 1.4365924,1.4365924 0 0 0 1.439398,1.436592 1.4365924,1.4365924 0 0 0 1.433787,-1.439398 v -2.873185 a 1.4365924,1.4365924 0 0 0 -1.439381,-1.433786 z m 0.0056,7.182962 a 1.4365924,1.4365924 0 0 0 -1.433786,1.436592 l 0.0029,2.873185 a 1.4365924,1.4365924 0 0 0 1.436592,1.436592 1.4365924,1.4365924 0 0 0 1.436593,-1.439398 l -0.0029,-2.873185 a 1.4365924,1.4365924 0 0 0 -1.439372,-1.433786 z"
id="path6-6" />
<path
style="fill:none;fill-rule:evenodd;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 24.915491,23.656877 v 3.057837"
id="path8-7" />
<path
style="fill:none;fill-rule:evenodd;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 24.915491,38.063657 v 3.057837"
id="path4-4" />
<path
style="fill:none;fill-rule:evenodd;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 24.915491,30.860267 v 3.057837"
id="path7-9" />
</g>
<g
id="g963-8"
transform="matrix(0.80408661,0,0,0.80408661,30.624528,-64.424445)">
<g
style="stroke:#1c5017;stroke-width:2;stroke-linejoin:round"
transform="translate(-40)"
id="g48-7">
<path
style="fill:url(#linearGradient15)"
id="path42-2"
d="M 9,35 V 21 l 14,5 v 14 z" />
<path
style="fill:#a6e3a1"
id="path44-5"
d="M 9,21 28.585,5.209 42,10.0001 l -19,16 z" />
<path
style="fill:url(#linearGradient16)"
id="path46-9"
d="M 23,40 V 26 l 7.9726,-6.7138 0.02739,13.714 z" />
</g>
<path
style="fill:url(#linearGradient17);fill-opacity:1;stroke:#1c5017;stroke-width:2;stroke-linejoin:round"
id="path912-0"
d="M -31,35 V 21 l 14,5 v 14 z" />
<path
style="fill:#f9e2af;fill-opacity:1;stroke:#1c5017;stroke-width:2;stroke-linejoin:round;stroke-opacity:1"
id="path914-7"
d="M -31,21 -11.415,5.209 2,10.0001 l -19,16 z" />
<path
style="fill:url(#linearGradient18);fill-opacity:1;stroke:#1c5017;stroke-width:2;stroke-linejoin:round"
id="path916-5"
d="M -17,40 V 26 L 2,10.0001 2.0000003,23 Z" />
<path
d="m -15,35.578425 v -9 L 0.08743031,14.309658 0.2139029,22.129247 Z"
id="path50-7"
style="fill:none;stroke:#f9e2af;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-4"
style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-opacity:1" />
</g>
<path
style="color:#11111b;fill:#d76363;stroke:#650707;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 26.441831,-47.827151 a 1.3954961,1.4210831 0 0 0 -1.762541,0.906679 1.3954961,1.4210831 0 0 0 0.892953,1.792215 l 2.652896,0.885533 a 1.3954961,1.4210831 0 0 0 1.759944,-0.90668 1.3954961,1.4210831 0 0 0 -0.892951,-1.792215 z m 6.629645,2.212511 a 1.3954961,1.4210831 0 0 0 -1.759946,0.906681 1.3954961,1.4210831 0 0 0 0.890356,1.794858 l 2.652897,0.885533 a 1.3954961,1.4210831 0 0 0 1.759946,-0.909324 1.3954961,1.4210831 0 0 0 -0.890356,-1.792214 z m 6.629644,2.215156 a 1.3954961,1.4210831 0 0 0 -1.759944,0.906681 1.3954961,1.4210831 0 0 0 0.890355,1.792213 l 2.652897,0.885534 a 1.3954961,1.4210831 0 0 0 1.759945,-0.906681 1.3954961,1.4210831 0 0 0 -0.890356,-1.792213 z m 6.629646,2.212511 a 1.3954961,1.4210831 0 0 0 -1.759946,0.906681 1.3954961,1.4210831 0 0 0 0.890356,1.794858 l 2.652895,0.885534 a 1.3954961,1.4210831 0 0 0 1.759946,-0.909324 1.3954961,1.4210831 0 0 0 -0.890356,-1.792215 z"
id="path5-6" />
<path
style="fill:none;fill-rule:evenodd;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 39.300532,-42.479528 2.818448,0.918371"
id="path3" />
<g
id="g943-9"
transform="matrix(0.72287451,0,0,0.72287451,-25.415947,-58.269988)">
<path
d="m 91,33.5 -0.02739,-14.214 12.967,4.3352 v 14.5 z"
id="path54-5"
style="fill:url(#linearGradient19);stroke:#052459;stroke-width:2;stroke-linejoin:round" />
<path
d="m 92.927,32.029 0.04731,-10.141 8.9272,3.29 0.0781,10.042 z"
id="path56-7"
style="fill:none;stroke:#89b4fa;stroke-width:2" />
<path
d="m 103.94,38.121 v -14.5 l 11,-9 L 115,28 Z"
id="path58-8"
style="fill:url(#linearGradient20);stroke:#052459;stroke-width:2;stroke-linejoin:round" />
<path
d="m 105.94,33.621 v -9 l 7,-6 -0.0122,8.5816 z"
id="path60-0"
style="fill:none;stroke:#89b4fa;stroke-width:2" />
<path
d="M 90.973,19.286 102,9.9998 l 12.94,4.6214 -11,9 z"
id="path62-3"
style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linejoin:round" />
</g>
<path
style="fill:none;fill-rule:evenodd;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 26.000232,-46.880657 2.818449,0.918371"
id="path1" />
<path
style="fill:none;fill-rule:evenodd;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 32.65834,-44.672757 2.818448,0.918371"
id="path2" />
</g>
</svg>