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

468 lines
18 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:#bc8009;stop-opacity:1;"
offset="0"
id="stop59" />
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="0.54268295"
id="stop58" />
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="1"
id="stop805" />
</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="linearGradient869"
x1="983.18237"
y1="958.18414"
x2="1079.1696"
y2="1089.5997"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient53"
id="linearGradient871"
x1="1153.2407"
y1="1099.8772"
x2="1183.7623"
y2="1134.4603"
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">
<g
id="g97"
transform="matrix(0.23865363,0,0,0.23831825,-224.95297,-221.23056)"
style="stroke-width:1.5848">
<g
id="g872"
transform="matrix(0.97528091,0.26169349,-0.26095849,0.97528091,307.16096,-252.68061)"
style="stroke-width:1.5696">
<path
d="m 1170.7026,1096.2564 c 13.8072,0 24.9937,11.1972 24.9937,25.0043 0,13.8071 -11.1865,24.9961 -24.9937,24.9961 -13.8071,0 -25.0019,-11.189 -25.0019,-24.9961 0,-13.8071 11.1948,-25.0043 25.0019,-25.0043 z"
style="fill:#89b4fa;fill-rule:evenodd;stroke:#05255a;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path864" />
<path
d="m 1036.1997,960.52337 c -41.42138,0 -74.99758,33.57519 -74.99758,74.99653 0,41.4213 33.5762,75.0048 74.99758,75.0048 41.4213,0 74.9975,-33.5835 74.9975,-75.0048 0,-41.42134 -33.5762,-74.99653 -74.9975,-74.99653 z"
style="fill:#89b4fa;fill-rule:evenodd;stroke:#05255a;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path862" />
<path
d="m 1038.1311,953.04092 c -10.7212,-0.25408 -21.5966,1.58572 -32.0237,5.67125 -33.36701,13.07309 -54.48126,46.18793 -52.24626,81.95453 2.234,35.7666 27.30802,65.9975 62.04236,74.8162 l 146.7952,37.2729 c 13.5924,3.4506 27.8657,-2.2052 35.4037,-14.0306 7.537,-11.8255 6.64,-27.1537 -2.226,-38.0187 l -95.7602,-117.34242 c -15.5769,-19.08835 -38.3986,-29.76417 -61.9851,-30.32316 z m -0.1146,4.99922 c 22.157,0.52511 43.5958,10.55589 58.2287,28.48738 l 95.7602,117.34248 c 7.502,9.1934 8.2613,22.1609 1.8823,32.1671 -6.378,10.0061 -18.452,14.7952 -29.9532,11.8752 l -146.8034,-37.2729 c -32.62925,-8.2842 -56.17877,-36.6852 -58.27776,-70.2842 -2.099,-33.5989 17.73497,-64.70723 49.07906,-76.98801 9.7951,-3.83784 20.0127,-5.56573 30.0841,-5.32705 z"
style="fill:#f9e2af;fill-rule:evenodd;stroke:#f9e2af;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path863" />
<path
d="m 1038.2793,946.8125 c -11.5396,-0.27347 -23.2321,1.70684 -34.4434,6.09961 -35.9015,14.06611 -58.59619,49.65829 -56.19137,88.14259 2.40379,38.4849 29.35372,70.9762 66.72657,80.4648 l 146.7949,37.2735 c 16.2144,4.1162 33.1972,-2.6139 42.1895,-16.7207 8.9907,-14.1065 7.9245,-32.3431 -2.6524,-45.3047 l -95.7617,-117.34182 c -16.7464,-20.52153 -41.2859,-32.01187 -66.6621,-32.61328 z m -0.4121,17.45703 c 20.3668,0.48269 40.0895,9.69907 53.5527,26.19727 l 95.7598,117.3398 c 5.7917,7.0975 6.3799,17.1577 1.4551,24.8829 -4.9243,7.7253 -14.2898,11.4395 -23.168,9.1855 l -146.8027,-37.2734 c -29.9902,-7.6142 -51.66457,-33.7534 -53.59379,-64.6348 -1.92921,-30.8811 16.32559,-59.51124 45.13479,-70.79883 9.013,-3.53142 18.4052,-5.11782 27.6621,-4.89844 z"
style="fill:#f9e2af;fill-rule:evenodd;stroke:#221e0c;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path865" />
<path
d="m 1038.082,955.11719 c 22.9899,0.54485 45.2368,10.948 60.4239,29.55859 l 95.7617,117.34372 c 8.2957,10.1662 9.1363,24.5248 2.084,35.5899 -7.0533,11.065 -20.4224,16.3634 -33.1407,13.1347 l -146.7949,-37.2734 c -33.85465,-8.5954 -58.30501,-38.0732 -60.48241,-72.9336 -2.17838,-34.8605 18.40956,-67.14857 50.93161,-79.89062 10.1657,-3.98308 20.7685,-5.77691 31.2168,-5.52929 z m -0.018,0.84765 c -10.3429,-0.24511 -20.8349,1.52879 -30.8907,5.46875 -32.18893,12.61181 -52.54814,44.54611 -50.39255,79.05081 2.15557,34.5047 26.32909,63.6585 59.83785,72.166 l 146.8028,37.2734 c 12.3754,3.142 25.3543,-2.0033 32.2168,-12.7695 6.8638,-10.7666 6.0487,-24.7056 -2.0235,-34.5977 l -95.7597,-117.34176 c -15.0228,-18.40922 -37.0374,-28.71075 -59.791,-29.25 z"
style="fill:#f8c459;fill-rule:evenodd;stroke:#ebd200;stroke-width:3.73761;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path866" />
<path
d="m 1036.1992,966.75195 c 37.9498,0 68.7696,30.81797 68.7696,68.76755 -1e-4,37.9496 -30.8208,68.7774 -68.7696,68.7774 -37.94883,0 -68.76951,-30.8278 -68.76951,-68.7774 0,-37.94959 30.81967,-68.76755 68.76951,-68.76755 z"
style="fill:url(#linearGradient869);fill-rule:evenodd;stroke:#89b4fa;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path867" />
<path
d="m 1170.7031,1102.4844 c 10.3342,0 18.7657,8.4383 18.7657,18.7754 0,10.3371 -8.4291,18.7675 -18.7657,18.7675 -10.3364,0 -18.7734,-8.4329 -18.7734,-18.7675 0,-10.3347 8.4394,-18.7754 18.7734,-18.7754 z"
style="fill:url(#linearGradient871);fill-rule:evenodd;stroke:#89b4fa;stroke-width:6.22935;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path869" />
<path
d="m 1036.1997,1020.2595 c -8.4322,0 -15.2674,6.8334 -15.2674,15.2637 0,8.4303 6.8352,15.2654 15.2674,15.2654 8.4321,0 15.2673,-6.8351 15.2673,-15.2654 0,-8.4303 -6.8352,-15.2637 -15.2673,-15.2637 z"
style="fill:#05255a;fill-opacity:1;fill-rule:evenodd;stroke:#89b4fa;stroke-width:6.22934;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path871" />
<path
d="m 1170.6991,1114.1665 c -3.9175,0 -7.0931,3.1737 -7.0931,7.0889 0,3.9153 3.1756,7.0898 7.0931,7.0898 3.9176,0 7.0932,-3.1745 7.0932,-7.0898 0,-3.9152 -3.1756,-7.0889 -7.0932,-7.0889 z"
style="fill:#05255a;fill-opacity:1;fill-rule:evenodd;stroke:#89b4fa;stroke-width:6.22936;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
id="path872" />
</g>
</g>
</g>
<g
id="g3"
transform="matrix(-0.56337058,-0.12619946,-0.12612416,0.56349252,69.722304,33.49564)"
style="display:inline;stroke-width:1.14374">
<path
style="fill:#d76363;stroke:#4c1313;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 22,23 v 8 L 11,18 22,5 v 8 c 13.990861,0.89236 21.709688,5.800761 29.050356,20.088298 L 42.152059,39.09018 C 39.06111,31.270541 32,23 22,23 Z"
id="path1" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 20,10.5 13.6,18 20,25.5 V 21 c 9,-1 17.528195,4.302646 23.08961,15.156457 l 5.317803,-3.78926 C 43.035465,23.02279 36.505774,14.797281 20,15 Z"
id="path2" />
</g>
<g
id="g4"
transform="matrix(-0.56337058,-0.12619946,-0.12612416,0.56349252,44.927602,5.098289)"
style="display:inline;stroke-width:1.14374">
<path
style="fill:#d76363;stroke:#4c1313;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 22,23 v 8 L 11,18 22,5 v 8 c 13.990861,0.89236 21.709688,5.800761 29.050356,20.088298 L 42.152059,39.09018 C 39.06111,31.270541 32,23 22,23 Z"
id="path3" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:2.2875;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 20,10.5 13.6,18 20,25.5 V 21 c 9,-1 17.528195,4.302646 23.08961,15.156457 l 5.317803,-3.78926 C 43.035465,23.02279 36.505774,14.797281 20,15 Z"
id="path4" />
</g>
</svg>