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

535 lines
20 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64px"
height="64px"
id="svg2821"
version="1.1"
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="defs2823">
<linearGradient
id="linearGradient59">
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="0"
id="stop59" />
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="1"
id="stop58" />
</linearGradient>
<linearGradient
id="linearGradient53">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop53" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="1"
id="stop52" />
</linearGradient>
<linearGradient
id="linearGradient11">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop11" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop9" />
</linearGradient>
<linearGradient
id="linearGradient6">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop6" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="1"
id="stop5" />
</linearGradient>
<linearGradient
id="linearGradient4">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="1"
id="stop1" />
</linearGradient>
<linearGradient
id="linearGradient3">
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="0"
id="stop3" />
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="1"
id="stop2" />
</linearGradient>
<linearGradient
id="linearGradient35">
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="0"
id="stop33" />
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="1"
id="stop34" />
</linearGradient>
<linearGradient
id="linearGradient21">
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="0"
id="stop21" />
<stop
style="stop-color:#307bf7;stop-opacity:0;"
offset="1"
id="stop22" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3377"
id="radialGradient3701"
gradientUnits="userSpaceOnUse"
cx="84.883324"
cy="77.042847"
fx="84.883324"
fy="77.042847"
r="19.467436"
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)" />
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#f9d791;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#f8ca69;stop-opacity:1;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3377"
id="radialGradient3699"
gradientUnits="userSpaceOnUse"
cx="76.383331"
cy="94.369568"
fx="76.383331"
fy="94.369568"
r="19.467436"
gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)" />
<linearGradient
xlink:href="#linearGradient3801-5"
id="linearGradient3807-7"
x1="110"
y1="35"
x2="85"
y2="35"
gradientUnits="userSpaceOnUse"
spreadMethod="reflect"
gradientTransform="translate(-62,-16)" />
<linearGradient
id="linearGradient3801-5">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop3803-3" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3805-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3838"
id="linearGradient3844"
x1="2802.9631"
y1="538.36249"
x2="2859.7263"
y2="786.05646"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3838">
<stop
style="stop-color:#94e2d5;stop-opacity:1"
offset="0"
id="stop3840" />
<stop
style="stop-color:#258e7e;stop-opacity:1"
offset="1"
id="stop3842" />
</linearGradient>
<linearGradient
y2="786.05646"
x2="2859.7263"
y1="538.36249"
x1="2802.9631"
gradientUnits="userSpaceOnUse"
id="linearGradient3045"
xlink:href="#linearGradient3172" />
<linearGradient
id="linearGradient3172">
<stop
id="stop3174"
offset="0"
style="stop-color:#f2cdcd;stop-opacity:1" />
<stop
id="stop3176"
offset="1"
style="stop-color:#912424;stop-opacity:1" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3172"
id="linearGradient3880"
gradientUnits="userSpaceOnUse"
x1="2802.9631"
y1="626.0874"
x2="2849.4058"
y2="822.17853" />
<linearGradient
xlink:href="#linearGradient11"
id="linearGradient22"
x1="22.782017"
y1="37.760967"
x2="10.12716"
y2="31.568081"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0546639,0,0,1.047623,-9.2679129,3.0093584)" />
<linearGradient
id="linearGradient4389"
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="linearGradient3774">
<stop
stop-color="#359b2e"
offset="0"
id="stop21-8" />
<stop
stop-color="#a6e3a1"
offset="1"
id="stop23" />
</linearGradient>
<linearGradient
id="linearGradient69042"
x1="48.714001"
x2="44.714001"
y1="45.585999"
y2="34.585999"
gradientTransform="translate(-12.714,-17.586)"
gradientUnits="userSpaceOnUse"
xlink:href="#linearGradient3774" />
<linearGradient
id="linearGradient69056"
x1="27.243999"
x2="22.243999"
y1="54.588001"
y2="40.588001"
gradientTransform="translate(-1.2435,-2.5881)"
gradientUnits="userSpaceOnUse">
<stop
stop-color="#bc8009"
offset="0"
id="stop14-4" />
<stop
stop-color="#f9e2af"
offset="1"
id="stop16" />
</linearGradient>
<linearGradient
id="linearGradient4399"
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
xlink:href="#linearGradient21"
id="linearGradient27"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-0.30409276,0.05778729)"
x1="22.782017"
y1="37.760967"
x2="11.930232"
y2="29.936911" />
<linearGradient
xlink:href="#linearGradient69056"
id="linearGradient33"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.9938046,0,0,1.9613155,1.0732527,-49.356425)"
x1="22.782017"
y1="37.760967"
x2="7.864368"
y2="32.411785" />
<linearGradient
xlink:href="#linearGradient3"
id="linearGradient2"
x1="14.883397"
y1="43.811935"
x2="25.259163"
y2="50.94812"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.8048567,0,0,1.7835759,4.5436424,-43.019855)" />
<linearGradient
xlink:href="#linearGradient3"
id="linearGradient2-0"
x1="14.883397"
y1="43.811935"
x2="25.259163"
y2="50.94812"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.8048567,0,0,1.7835759,96.609777,-8.4537881)" />
<linearGradient
xlink:href="#linearGradient69056"
id="linearGradient33-9"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.9938046,0,0,1.9613155,114.04645,31.478968)"
x1="22.782017"
y1="37.760967"
x2="7.864368"
y2="32.411785" />
<linearGradient
xlink:href="#linearGradient69056"
id="linearGradient33-1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.9938046,0,0,1.9613155,100.92145,-12.646032)"
x1="22.782017"
y1="37.760967"
x2="7.864368"
y2="32.411785" />
<linearGradient
xlink:href="#linearGradient3"
id="linearGradient2-8"
x1="5.1180787"
y1="51.030579"
x2="24.220299"
y2="43.028637"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.8048567,0,0,1.7835759,137.32907,24.566604)" />
<linearGradient
xlink:href="#linearGradient53"
id="linearGradient52"
x1="27.806639"
y1="35.451977"
x2="46.224998"
y2="46.523647"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient59"
id="linearGradient58"
x1="24.624025"
y1="15.293372"
x2="40.848633"
y2="24.625977"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient59"
id="linearGradient62"
x1="15.949214"
y1="22.059929"
x2="30.508333"
y2="47.490852"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient11"
id="linearGradient64"
x1="43.78125"
y1="41.326977"
x2="36.255554"
y2="28.957039"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient53"
id="linearGradient76"
x1="21.207121"
y1="46.348202"
x2="12.139155"
y2="43.338463"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata2826">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2011-10-10</dc:date>
<dc:relation>http://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/Part/Gui/Resources/icons/Part_Cylinder.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"
style="stroke-width:1.5;stroke-dasharray:none">
<path
style="fill:#89b4fa;fill-rule:nonzero;stroke:#05255a;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="m 40.848632,10.960155 v 8.087534 l -4.438625,-5.511075 z"
id="path74" />
<path
style="fill:#89b4fa;fill-rule:nonzero;stroke:#05255a;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="M 2.7148438,29.701172 5.6484375,31.392578 40.848632,10.960155 37.914062,9.4023438 Z"
id="path73" />
<g
id="g69"
transform="matrix(-0.60621985,0.35000119,-0.35000119,-0.60621985,70.246003,30.283761)"
style="display:inline;stroke-width:2.14284984;stroke-dasharray:none">
<path
id="path68"
d="M 15,27 V 19 L 0.87149136,31.999999 15,45 v -8 h 14.714369 c 0,2.2e-5 0,0 0,0 V 27 Z"
style="fill:#d76363;stroke:#4c1313;stroke-width:2.14284984;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-dasharray:none" />
<path
id="path69"
d="m 13.066964,29 0.02232,-5.529467 -9.1754064,8.529466 9.2200494,8.574111 V 35.089285 L 27.762035,35 v -6 0 z"
style="fill:none;stroke:#f2cdcd;stroke-width:2.14284984;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none" />
</g>
<path
d="M 49.648437,19.550781 32.048828,29.701172 v 6.765625 L 49.648437,26.318359 Z"
style="fill-rule:evenodd;stroke-width:1.5;fill:#f8c459;stroke:#05255a;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
id="path46" />
<path
d="m 2.7148438,29.701172 2.9335937,1.691406 8.8007815,-5.074219 v -3.382812 z"
style="fill-rule:evenodd;stroke-width:1.5;fill:#89b4fa;stroke:#05255a;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
id="path41" />
<path
d="M 14.449219,28.347656 V 26.318359 L 5.6484375,31.392578 V 44.925781 L 14.449219,39.851562 Z"
style="fill-rule:evenodd;stroke-width:1.5;fill:#89b4fa;stroke:#05255a;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
id="path40" />
<path
d="M 14.449219,39.851562 5.6484375,44.925781 23.248047,55.076172 V 44.925781 Z"
style="fill-rule:evenodd;stroke-width:1.5;fill:#89b4fa;stroke:#05255a;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
id="path39" />
<g
id="g65"
style="display:inline;stroke-width:1.5;stroke-dasharray:none">
<path
style="fill:#f9e2af;fill-rule:nonzero;stroke:#664506;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="M 14.449219,39.851562 V 19.550781 L 32.048828,29.701172 32,50 14.449219,39.851562"
id="path53" />
<path
style="fill:url(#linearGradient62);fill-rule:nonzero;stroke:#f9e2af;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="M 15.949214,39.014965 V 22.059929 l 14.599619,8.477518 -0.0405,16.953405 -14.559114,-8.475887"
id="path61" />
</g>
<path
d="M 26.181641,60.150391 V 43.234375 L 23.248047,41.542969 V 55.076172 L 5.6484375,44.925781 V 31.392578 L 2.7148438,29.701172 v 16.916015 z"
style="fill-rule:evenodd;stroke-width:1.5;fill:#89b4fa;stroke:#05255a;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
id="path38" />
<g
id="g64"
style="display:inline;stroke-width:1.5;stroke-dasharray:none">
<path
style="fill:#f9e2af;fill-rule:nonzero;stroke:#664506;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="M 32.048828,29.701172 49.648437,19.550781 v 21.2422 L 32,50 Z"
id="path54" />
<path
style="fill:url(#linearGradient64);fill-rule:nonzero;stroke:#f9e2af;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="m 33.538887,30.5344 14.6112,-8.483614 V 39.804844 L 33.49835,47.499996 Z"
id="path62" />
</g>
<path
d="m 49.648437,26.318359 -17.599609,10.148438 -8.800781,5.076172 2.933594,1.691406 35.199218,-20.298828 -2.933593,-1.69336 z"
style="fill-rule:evenodd;stroke-width:1.5;fill:#89b4fa;stroke:#05255a;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
id="path37" />
<path
d="M 61.380859,22.935547 26.181641,43.234375 V 60.150391 L 61.380859,39.851562 Z"
style="fill-rule:evenodd;stroke-width:1.5;fill:#89b4fa;stroke:#05255a;stroke-opacity:1;stroke-dasharray:none;stroke-linejoin:round;stroke-linecap:round"
id="path36" />
<path
d="M 59.805468,25.642676 27.838344,44.159575 V 57.473804 L 59.805468,38.989029 Z"
style="fill:url(#linearGradient52);fill-rule:evenodd;stroke:#89b4fa;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path49" />
<path
d="M 14.448242,41.893394 8.7387739,44.925781 21.691544,52.340505 V 45.825908 Z"
style="fill:url(#linearGradient76);fill-rule:evenodd;stroke:#89b4fa;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path50" />
<path
d="m 13.199225,28.576227 -6.2382932,3.566339 0.084088,10.055548 6.1542056,-3.574095 z"
style="fill:#89b4fa;fill-rule:evenodd;stroke:#89b4fa;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path51" />
<g
id="g66"
style="display:inline;stroke-width:1.5;stroke-dasharray:none">
<path
style="fill:#f9e2af;fill-rule:nonzero;stroke:#664506;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="M 32.048828,29.701172 14.449219,19.550781 32.048828,9.4023438 49.648437,19.550781 Z"
id="path55" />
<path
style="fill:url(#linearGradient58);fill-rule:nonzero;stroke:#f9e2af;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="M 32.048828,28.06771 17.449224,19.551758 32.048828,11.035806 46.554682,19.551758 Z"
id="path56" />
</g>
<path
style="display:none;fill:#f2cdcd;fill-rule:nonzero;stroke:#220b0b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="m 14.449219,28.347656 5.865234,-10.15039 3.945313,2.27539 11.732421,-6.765625 -3.943359,-2.27539 17.599609,-3.3828129 -5.867187,10.1484379 -3.943359,-2.273438 -11.734375,6.765625 3.945312,2.275391 z"
id="path66" />
<path
style="display:none;fill:#d76363;fill-rule:nonzero;stroke:#f2cdcd;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="m 17.096619,26.49927 3.659775,-6.51214 3.414984,1.999598 13.996935,-8.38417 -2.454733,-1.496361 11.485063,-2.293273 -3.913602,6.609104 -3.447287,-1.960938 -14.197206,8.19673 2.850649,1.710402 z"
id="path67" />
<g
id="g12"
transform="matrix(0.60621985,-0.35000119,0.35000119,0.60621985,-6.1466967,22.776521)"
style="display:inline;stroke-width:2.14284984;stroke-dasharray:none">
<path
id="path11"
d="M 15,27 V 19 L 0.87149136,31.999999 15,45 v -8 h 14.714369 c 0,2.2e-5 0,0 0,0 V 27 Z"
style="fill:#d76363;stroke:#4c1313;stroke-width:2.14284984;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-dasharray:none" />
<path
id="path12"
d="m 13.066964,29 0.02232,-5.529467 -9.1754064,8.529466 9.2200494,8.574111 V 35.089285 L 27.762035,35 v -6 0 z"
style="fill:none;stroke:#f2cdcd;stroke-width:2.14284984;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
</svg>