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

316 lines
12 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">
<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="#linearGradient14"
id="linearGradient1202"
gradientUnits="userSpaceOnUse"
x1="20.84487"
y1="23.22938"
x2="59.215775"
y2="21.504377" />
<linearGradient
id="linearGradient14">
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="0"
id="stop13" />
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0.44444445"
id="stop15" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="0.6388889"
id="stop14" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3801-5"
id="linearGradient3807"
x1="74.090889"
y1="36.438313"
x2="98.940155"
y2="39.402027"
gradientUnits="userSpaceOnUse"
spreadMethod="reflect"
gradientTransform="translate(-61,-0.19620034)" />
<linearGradient
xlink:href="#linearGradient3"
id="linearGradient1032"
gradientUnits="userSpaceOnUse"
x1="22.892637"
y1="20.68401"
x2="57.249859"
y2="18.718092" />
<linearGradient
id="linearGradient3">
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="0"
id="stop1" />
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0.4285714"
id="stop2" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="0.72727275"
id="stop3" />
</linearGradient>
</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>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/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="g3"
transform="rotate(-120,31.879612,32.082447)">
<g
id="g15-6"
transform="matrix(1.1122207,0,0,1.1122207,-3.793277,28.042367)">
<path
id="ellipse12-0"
style="fill:url(#linearGradient1202);stroke:#052459;stroke-width:1.43649;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
d="m 44,26 c 0,2.209139 -5.372583,4 -12,4 -6.627417,0 -12,-1.790861 -12,-4 0,-0.97756 0,-12.999156 0,-12.999156 L 44,13 c 0,0 0,10.790861 0,13 z" />
<path
id="path15-7"
style="fill:none;stroke:#89b4fa;stroke-width:1.436;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
d="m 42.613211,25.495355 c 0,1.885463 -4.934755,3.259253 -10.613211,3.259253 -5.678457,0 -10.657405,-1.417985 -10.657405,-3.303448 V 16.3125 C 27.4375,19 36,19.375 42.613211,16.35597 Z" />
<ellipse
style="fill:#89b4fa;fill-opacity:1;stroke:#052459;stroke-width:1.43649;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
id="path2994-7-7"
cx="32"
cy="13.000844"
rx="12"
ry="3.9999998" />
</g>
<g
id="g2"
transform="matrix(0,-0.70000239,0.70000239,0,10.072048,65.638672)"
style="display:inline">
<path
id="path1"
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;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path2"
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;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g2-7"
transform="matrix(0.91296596,0,0,0.91296596,2.582875,-2.7977076)">
<path
style="fill:#f9e2af;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
d="m 56.000001,50.3673 c 0,4.418278 -10.745166,8 -24,8 -13.254833,0 -23.9999985,-3.581722 -23.9999985,-8 l -2e-6,-23.901751 H 56 Z"
id="path2994-3" />
<path
style="fill:url(#linearGradient3807);fill-opacity:1;stroke:#f9e2af;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
d="m 54,49.094573 c 0,4.016616 -9.84973,7.272727 -22,7.272727 -12.150264,0 -21.999999,-3.256111 -21.999999,-7.272727 L 9.9999995,28.21155 H 54 Z"
id="path2994-3-6" />
<path
style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
d="m 54,30.64805 c -2,3.272727 -9.84973,5.272727 -22,5.272727 -12.150264,0 -19,-2 -21.999999,-5.272727"
id="path2994-3-6-9" />
<ellipse
style="fill:#f9e2af;stroke:#664506;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
id="path2994"
cx="32"
cy="26.465549"
rx="24"
ry="7.9999995" />
</g>
<g
id="g15"
transform="matrix(1.1122207,0,0,1.1122207,-3.793277,-7.0714821)">
<path
id="ellipse12"
style="fill:url(#linearGradient1032);stroke:#052459;stroke-width:1.43649;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dashoffset:20.4;stroke-opacity:1"
d="m 44,24 c 0,2.209139 -5.372583,4 -12,4 -6.627417,0 -12,-1.790861 -12,-4 V 13.000844 L 44,13 Z" />
<path
id="path15"
style="fill:none;stroke:#89b4fa;stroke-width:1.436;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
d="m 42.613211,23.495355 c 0,1.885463 -4.934755,3.259253 -10.613211,3.259253 -5.678457,0 -10.657405,-1.417985 -10.657405,-3.303448 V 16.3125 C 27.4375,19 36,19.375 42.613211,16.35597 Z" />
<ellipse
style="fill:#89b4fa;fill-opacity:1;stroke:#052459;stroke-width:1.43649;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-dashoffset:20.4;stroke-opacity:1"
id="path2994-7"
cx="32"
cy="13.000844"
rx="12"
ry="3.9999998" />
</g>
</g>
<g
id="g13"
transform="rotate(-120,32.120361,31.864491)">
<g
id="g12"
transform="matrix(0,0.70000239,-0.70000239,0,54.300069,4.2920858)"
style="display:inline">
<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;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<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;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3894"
transform="matrix(-0.03889488,-0.66828501,0.66828501,-0.03889488,13.898176,69.121863)">
<path
id="path3034"
style="fill:#d76363;stroke:#4c1313;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 39.727861,59.856357 -7.931696,1.051156 16.468003,13.415414 9.308602,-16.824452 -7.931071,1.047948 c 0,0 -4.769344,-11.438514 -4.482124,-23.814377 0.28722,-12.375864 2.122864,-21.560053 5.002308,-27.8806611 L 58.035007,8.2705416 49.401308,-9.8243533 32.447357,3.658281 40.32048,5.0774383 c -2.215519,7.1939257 -4.944461,17.7161567 -5.097129,29.4339847 -0.152668,11.717827 4.50451,25.344934 4.50451,25.344934 z" />
<path
id="path3034-3"
style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 42.294596,61.458559 36.569302,62.26303 47.6973,71.281842 53.888294,59.977938 47.993171,60.40505 c 0,0 -5.098096,-12.019738 -4.755572,-25.591292 C 43.580123,21.242204 44.972361,12.57644 49.056995,4.8823104 L 54.501933,5.7523283 48.673377,-6.64344 37.040489,2.5499919 l 5.69744,1.262008 C 40.115582,12.087163 37.884178,20.2052 37.277916,34.520587 c -0.606263,14.315386 5.01668,26.937972 5.01668,26.937972 z" />
</g>
</g>
</g>
</svg>