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

163 lines
5.9 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
id="svg11300"
height="64"
width="64"
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="defs3">
<linearGradient
id="linearGradient3873">
<stop
style="stop-color:#cdd6f4;stop-opacity:1;"
offset="0"
id="stop3875" />
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="1"
id="stop3877" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3857"
id="radialGradient3163"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.57142881,0.57142866,-0.9230769,0.92307704,56.905976,-22.610628)"
cx="43.783218"
cy="41.446495"
fx="43.783218"
fy="41.446495"
r="12.458333" />
<linearGradient
id="linearGradient3857">
<stop
style="stop-color:#94e2d5;stop-opacity:1"
offset="0"
id="stop3859" />
<stop
style="stop-color:#258e7e;stop-opacity:1"
offset="1"
id="stop3861" />
</linearGradient>
<linearGradient
id="linearGradient3863">
<stop
style="stop-color:#94e2d5;stop-opacity:1"
offset="0"
id="stop3865" />
<stop
style="stop-color:#54d1bc;stop-opacity:1"
offset="1"
id="stop3867" />
</linearGradient>
<linearGradient
gradientTransform="matrix(1.7932228,0,0,1.7932228,-206.36667,-43.044388)"
y2="44.079514"
x2="140.73358"
y1="38.502964"
x1="139.61827"
gradientUnits="userSpaceOnUse"
id="linearGradient3908"
xlink:href="#linearGradient3863" />
<linearGradient
xlink:href="#linearGradient3873"
id="linearGradient4221"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.0691034,0,0,0.48906084,-241.80772,-5.9211985)"
x1="127.49857"
y1="-0.16112821"
x2="129.43178"
y2="57.091461" />
<linearGradient
xlink:href="#linearGradient3873"
id="linearGradient1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-2.0691034,0,0,-0.48906084,289.80772,21.921198)"
x1="127.49857"
y1="-0.16112821"
x2="129.43178"
y2="57.091461" />
</defs>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:contributor>
<cc:Agent>
<dc:title>Martin Ruskov (http://commons.wikimedia.org/wiki/Tango_icon)</dc:title>
</cc:Agent>
</dc:contributor>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
transform="translate(0,16)">
<path
id="rect3057"
d="m 32.131959,23.304845 7.172892,-7.172891 21.518673,21.518702 -7.172891,7.172868 z"
style="fill:url(#linearGradient3908);fill-opacity:1;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:2.04" />
<path
id="path3865"
d="M 58.681573,38.333467 40.749345,20.401248"
style="fill:none;stroke:#94e2d5;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
transform="matrix(1.826087,0,0,1.8260868,-62.739135,-73.260863)"
d="m 59,44.5 a 11.5,11.5 0 1 1 -23,0 11.5,11.5 0 1 1 23,0 z"
id="path3055"
style="fill:url(#radialGradient3163);fill-opacity:1;stroke:#103b35;stroke-width:1.09523809;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:2.04" />
<path
transform="matrix(1.6521739,0,0,1.6521739,-54.47826,-65.521736)"
d="m 59,44.5 a 11.5,11.5 0 1 1 -23,0 11.5,11.5 0 1 1 23,0 z"
id="path3055-1"
style="fill:none;stroke:#94e2d5;stroke-width:1.21052635;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:2.04" />
<path
style="fill:url(#linearGradient4221);fill-opacity:1;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 17,2 24,-9 31,2 Z M 18,15 7,8 18,1 Z"
id="rect3871" />
<path
style="fill:url(#linearGradient1);fill-opacity:1;stroke:#103b35;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 31,14 24,25 17,14 Z M 30,1 41,8 30,15 Z"
id="rect3871-7" />
</g>
</svg>