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

355 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" />
<linearGradient
xlink:href="#linearGradient10"
id="linearGradient11"
x1="12.375"
y1="23.75"
x2="64"
y2="28.5"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient10">
<stop
style="stop-color:#585b70;stop-opacity:1"
offset="0"
id="stop10-9" />
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="1"
id="stop11" />
</linearGradient>
</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="layer3-8"
style="display:inline"
transform="matrix(0.58333335,0,0,0.58333335,12.166666,19.64741)">
<path
id="path4498"
d="M 31.906888,60.999998 V 12.276532 l -24.5860006,1e-6 -2.904e-4,-3.0939183 24.58542,-6.1826135 h 8.71e-4 15.462656 v 9.2765308 h 13.308118 l 2.89e-4,2.030582 -13.308407,4.061163 v 42.631722 z"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path6"
d="m 32.154297,5 h 13.214844 v 9.277344 h 8.55664 l -8.55664,2.611328 V 59 H 33.90625 V 10.277344 H 11.164063 Z"
style="fill:url(#linearGradient11);fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path4504"
d="m 33.453879,17.976538 9.277594,8.71e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1"
d="m 33.457361,48.841436 6.185063,5.81e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path2"
d="m 33.457361,41.125284 6.185063,5.81e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path3"
d="m 33.457361,33.409133 6.185063,5.81e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path4-5"
d="m 33.457361,25.692981 6.185063,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path5"
d="m 33.453879,56.557588 9.277594,8.72e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path11"
d="m 34.230469,19.976538 7.724414,8.71e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path12"
d="m 34.233368,50.841436 5.14961,5.81e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path13"
d="m 34.233368,43.125284 5.14961,5.81e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path14"
d="m 34.233368,35.409133 5.14961,5.81e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path15"
d="m 34.233368,27.692981 5.14961,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path16"
d="m 34.230469,58.557588 8.501004,8.72e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path4500"
d="M 7.3208874,27.158429 H 34.22781 l 0.0019,28.741042 H 28.043227 V 37.209528 L 7.3208874,32.571857 Z"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path4502"
d="m 45.82444,20.585383 14.854673,4.062178 2.9e-4,2.510868 H 50.463816 l 0.0016,14.741042 h -4.638797 z"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path7-5"
d="M 9.3203125,29.158203 H 32.228516 l 0.002,24.742188 h -2.1875 V 35.607422 L 9.3203125,30.970703 Z"
style="fill:#45475a;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path18"
d="m 31.176195,46.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path19"
d="m 31.176195,48.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path20"
d="m 31.176195,42.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path21"
d="m 31.176195,44.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path22"
d="m 31.176195,38.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path23"
d="m 31.176195,40.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path24"
d="m 31.176195,50.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path25"
d="m 31.176195,52.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path26"
d="m 31.176195,34.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path27"
d="m 31.176195,36.622396 1.64761,5.8e-4"
style="fill:#6c7086;fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>