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

242 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg2860"
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="defs2862">
<linearGradient
gradientTransform="translate(0,-4)"
xlink:href="#linearGradient3767"
id="linearGradient3773"
x1="22.116516"
y1="55.717518"
x2="17.328547"
y2="21.31134"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3767">
<stop
style="stop-color:#f8c459;stop-opacity:1"
offset="0"
id="stop3769" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3771" />
</linearGradient>
<linearGradient
gradientTransform="translate(0,-4)"
xlink:href="#linearGradient3777"
id="linearGradient3783"
x1="53.896763"
y1="51.179787"
x2="47.502235"
y2="21.83742"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3777">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop3779" />
<stop
style="stop-color:#f8c459;stop-opacity:1"
offset="1"
id="stop3781" />
</linearGradient>
</defs>
<metadata
id="metadata2865">
<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>[Bernd Hahnebach]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2016-12-20</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/</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="display:inline">
<path
style="fill:none;stroke:#11111b;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 55.818182,23.636364 c 0.242424,0 0.242424,0 0,0 z"
id="path2422" />
<path
style="fill:#f9e2af;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 3,13 37,19 61,11 31,7 Z"
id="path2993" />
<path
style="fill:url(#linearGradient3783);fill-opacity:1;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 61,11 V 47 L 37,57 V 19 Z"
id="path2995" />
<path
id="path3825"
d="m 3,13 34,6 V 57 L 3,51 Z"
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3773);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 5,15.42772 0.0087,33.919116 30.008671,5.268799 -0.0087,-33.933614 z"
id="path3765" />
<path
style="fill:none;stroke:#f8c459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 39.01243,20.433833 -0.01226,33.535301 20.001105,-8.300993 3.6e-4,-31.867363 z"
id="path3775" />
<path
d="M 24.834027,17.037294 24.826215,29.033388 25,54.882353 l 12.173785,1.966612 10,-4.166016 L 47,28 V 27.666016 17.783203 16 L 46.316406,15.894531 34.927734,14.138672 Z"
style="fill:#f2cdcd;stroke:none;stroke-width:2;stroke-linejoin:round"
id="path20" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 25,54 V 17"
id="path3051" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 13,52 V 15"
id="path3051-3" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 47,51.999998 V 16"
id="path3051-6" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 55,49.5 V 13"
id="path3051-7" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 24.363636,8.5909091 55,13"
id="path3853" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 13.75,10.875 47,16"
id="path3873" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 13.049334,14.759655 40.11871,8.215828"
id="path3875" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 25.745115,16.848834 50.365288,9.5849195"
id="path3875-3" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 3,25 34,6"
id="path3895" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 3,39 34,6"
id="path3895-5" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 37,45 61,35"
id="path3915" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 37,31 61,23"
id="path3915-6" />
<path
style="fill:none;stroke:#4c1313;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 25,28.882812 37,31 47,27.666016"
id="path3936" />
<path
style="fill:none;stroke:#11111b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 25,17 12,2 9.316406,-3.105469"
id="path21" />
<path
style="fill:none;stroke:#11111b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 37,19 V 57"
id="path22" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 47,21.833008 37,25"
id="path24" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 25,22.882812 37,25"
id="path25" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 47,21.833008 37,25"
id="path26" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 25,36.000861 12,2.117187"
id="path27" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 47,34.234475 37,38.118048"
id="path28" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 30.658203,17.999999 v 37.88086"
id="path30" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 41.988935,17.310162 V 54.921277"
id="path31" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 30.658203,17.999999 40.62207,15.016602"
id="path32" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 18.566828,15.779512 29.023437,13.228516"
id="path33" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 41.988935,17.310162 30.378647,15.481761"
id="path34" />
<path
style="fill:none;stroke:#4f1414;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 25,17 V 54.882353 L 37,57 47,52.833333 V 16 L 34.927734,14.138672 Z"
id="path35" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 25,48.733951 12,2.117187"
id="path1" />
<path
style="fill:none;stroke:#4f1414;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 47,46.967565 37,50.851138"
id="path2" />
<path
style="fill:none;stroke:#4c1313;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 25,42.882812 37,45 47,40.730571"
id="path3" />
</g>
</svg>