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

66 lines
4.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="svg2980" height="64px" width="64px">
<defs id="defs2982">
<linearGradient id="linearGradient3794">
<stop id="stop3796" offset="0" style="stop-color:#11111b;stop-opacity:1" />
<stop id="stop3798" offset="1" style="stop-color:#11111b;stop-opacity:0" />
</linearGradient>
<linearGradient id="linearGradient3864">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3866" />
<stop style="stop-color:#0841a6;stop-opacity:1" offset="1" id="stop3868" />
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" y2="21.31134" x2="17.328547" y1="55.717518" x1="22.116516" id="linearGradient3773" xlink:href="#linearGradient3767" gradientTransform="translate(0,-4)" />
<linearGradient id="linearGradient3767">
<stop id="stop3769" offset="0" style="stop-color:#307bf7;stop-opacity:1" />
<stop id="stop3771" offset="1" style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" y2="21.83742" x2="47.502235" y1="51.179787" x1="53.896763" id="linearGradient3783" xlink:href="#linearGradient3777" gradientTransform="translate(0,-4)" />
<linearGradient id="linearGradient3777">
<stop id="stop3779" offset="0" style="stop-color:#0846b3;stop-opacity:1" />
<stop id="stop3781" offset="1" style="stop-color:#307bf7;stop-opacity:1" />
</linearGradient>
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)" r="41" fy="45" fx="1" cy="45" cx="1" id="radialGradient3800" xlink:href="#linearGradient3794" />
</defs>
<metadata id="metadata2985">
<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>[triplus]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title></dc:title>
<dc:date>2016-02-26</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/PartWorkbench.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">
<path transform="matrix(0.73170732,0,0,0.80769231,31.268293,15.153846)" d="m 42,45 a 41,13 0 1 1 -82,0 41,13 0 1 1 82,0 z" id="path3024" style="fill:url(#radialGradient3800);fill-opacity:1;stroke:none" />
<path id="path2993" d="M 3,13 37,19 61,11 31,7 z" style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path id="path2995" d="M 61,11 61,47 37,57 37,19 z" style="fill:url(#linearGradient3783);fill-opacity:1;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path style="fill:url(#linearGradient3773);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="M 3,13 37,19 37,57 3,51 z" id="path3825" />
<path id="path3765" d="m 5,15.42772 0.00867,33.919116 30.008671,5.268799 -0.0087,-33.933614 z" style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3775" d="m 39.01243,20.433833 -0.01226,33.535301 20.001105,-8.300993 3.6e-4,-31.867363 z" style="fill:none;stroke:#307bf7;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>