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

53 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.1" id="svg2985" height="64px" width="64px" 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/">
<title id="title849">Part_SectionCut</title>
<defs id="defs2987">
<linearGradient id="linearGradient3764">
<stop style="stop-color:#258e7e;stop-opacity:1" offset="0" id="stop3766" />
<stop style="stop-color:#94e2d5;stop-opacity:1" offset="1" id="stop3768" />
</linearGradient>
<linearGradient id="linearGradient3778">
<stop style="stop-color:#258e7e;stop-opacity:1" offset="0" id="stop3780" />
<stop style="stop-color:#94e2d5;stop-opacity:1" offset="1" id="stop3782" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3778" id="linearGradient3784" x1="31.905455" y1="47.934547" x2="20.734545" y2="7.9054546" gradientUnits="userSpaceOnUse" />
<linearGradient xlink:href="#linearGradient3764" id="linearGradient3770" x1="34" y1="60" x2="32" y2="6" gradientUnits="userSpaceOnUse" />
<linearGradient xlink:href="#linearGradient3764-6" id="linearGradient3770-3" x1="34" y1="60" x2="32" y2="6" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3764-6">
<stop style="stop-color:#bc8009;stop-opacity:1" offset="0" id="stop3766-7" />
<stop style="stop-color:#f9e2af;stop-opacity:1" offset="1" id="stop3768-5" />
</linearGradient>
</defs>
<metadata id="metadata2990">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Part_SectionCut</dc:title>
<dc:date>2022-02-15</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 />
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:creator>
<cc:Agent>
<dc:title>Uwe Stöhr</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<g id="g13817" transform="matrix(1.2827988,0,0,1.108,65.816671,3.0689759)" style="stroke-width:0.838786">
<path style="fill:#d32cd3;fill-opacity:1;stroke:black;stroke-width:0.838786px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M -34.015748,11.338583 V 41.574803 C -34.015748,45.354331 -34.015748,49.133858 -30.23622,49.133858 H -11.338583 C -7.5590551,49.133858 -7.5590551,45.354331 -7.5590551,41.574803 V 11.338583 H -11.338583 V 41.574803 C -11.338583,45.354331 -11.338583,45.354331 -15.11811,45.354331 H -26.456693 C -30.23622,45.354331 -30.23622,45.354331 -30.23622,41.574803 V 11.338583 Z" id="path9483" />
<path style="fill:#2c2cd3;fill-opacity:1;stroke:black;stroke-width:0.838786px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M -18.897638,41.574803 V 11.338583 C -18.897638,7.5590551 -18.897638,3.7795281 -22.677166,3.7795281 H -41.574803 C -45.354331,3.7795281 -45.354331,7.5590551 -45.354331,11.338583 V 41.574803 H -41.574803 V 11.338583 C -41.574803,7.5590551 -41.574803,7.5590551 -37.795276,7.5590551 H -26.456693 C -22.677166,7.5590551 -22.677166,7.5590551 -22.677166,11.338583 V 41.574803 Z" id="path9483-0" />
</g>
</svg>