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

97 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64px" height="64px" id="svg3364" sodipodi:version="0.32" inkscape:version="0.48.5 r10040" sodipodi:docname="Part_Section.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1">
<defs id="defs3366">
<linearGradient id="linearGradient3864">
<stop id="stop3866" offset="0" style="stop-color:#89b4fa;stop-opacity:1;"/>
<stop id="stop3868" offset="1" style="stop-color:#0841a6;stop-opacity:1;"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3864" id="radialGradient2571" gradientUnits="userSpaceOnUse" cx="342.58258" cy="27.256668" fx="342.58258" fy="27.256668" r="19.571428" gradientTransform="matrix(1.6258409,0.5434973,-8.8819886e-2,0.2656996,-215.02413,-170.90186)"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3593" id="radialGradient3352" gradientUnits="userSpaceOnUse" cx="345.28433" cy="15.560534" fx="345.28433" fy="15.560534" r="19.571428" gradientTransform="translate(-0.1767767,-2.6516504)"/>
<linearGradient id="linearGradient3593">
<stop style="stop-color:#89b4fa;stop-opacity:1;" offset="0" id="stop3595"/>
<stop style="stop-color:#78a9f9;stop-opacity:1;" offset="1" id="stop3597"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3593" id="radialGradient3354" gradientUnits="userSpaceOnUse" cx="330.63791" cy="39.962704" fx="330.63791" fy="39.962704" r="19.571428" gradientTransform="translate(-0.1767767,-2.6516504)"/>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 32 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="64 : 32 : 1" inkscape:persp3d-origin="32 : 21.333333 : 1" id="perspective3372"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3864" id="radialGradient3369" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.6258409,0.5434973,-8.8819886e-2,0.2656996,-461.81066,-173.06271)" cx="342.58258" cy="27.256668" fx="342.58258" fy="27.256668" r="19.571428"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3593" id="radialGradient3372" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-327.50313,-4.3316646)" cx="345.28433" cy="15.560534" fx="345.28433" fy="15.560534" r="19.571428"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3593" id="radialGradient3375" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-287.81791,-28.143054)" cx="330.63791" cy="39.962704" fx="330.63791" fy="39.962704" r="19.571428"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3864" id="radialGradient3380" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.9829174,1.3240854,-1.2330051,0.8105158,-131.04134,-483.74563)" cx="320.44025" cy="113.23357" fx="320.44025" fy="113.23357" r="19.571428"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3864" id="linearGradient3914" x1="6.94525" y1="36.838673" x2="48.691113" y2="36.838673" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-4.8699606,-2.3863162)"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3794" id="radialGradient3800" cx="1" cy="45" fx="1" fy="45" r="41" gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" id="linearGradient3794">
<stop style="stop-color:#11111b;stop-opacity:1;" offset="0" id="stop3796"/>
<stop style="stop-color:#11111b;stop-opacity:0;" offset="1" id="stop3798"/>
</linearGradient>
<linearGradient gradientTransform="translate(0,-9)" inkscape:collect="always" xlink:href="#linearGradient3777" id="linearGradient3783" x1="53.896763" y1="51.179787" x2="48" y2="32" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" id="linearGradient3777">
<stop style="stop-color:#0846b3;stop-opacity:1" offset="0" id="stop3779"/>
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3781"/>
</linearGradient>
<linearGradient gradientTransform="translate(22,-17)" inkscape:collect="always" xlink:href="#linearGradient3767" id="linearGradient3773" x1="22.116516" y1="55.717518" x2="19" y2="33" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" id="linearGradient3767">
<stop style="stop-color:#307bf7;stop-opacity:1" offset="0" id="stop3769"/>
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="1" id="stop3771"/>
</linearGradient>
<linearGradient gradientTransform="translate(-2,-11)" inkscape:collect="always" xlink:href="#linearGradient3777-6" id="linearGradient3783-3" x1="53.896763" y1="51.179787" x2="48" y2="32" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" id="linearGradient3777-6">
<stop style="stop-color:#0846b3;stop-opacity:1" offset="0" id="stop3779-7"/>
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3781-5"/>
</linearGradient>
<linearGradient y2="32" x2="48" y1="51.179787" x1="53.896763" gradientTransform="translate(-24,-13)" gradientUnits="userSpaceOnUse" id="linearGradient3066" xlink:href="#linearGradient3777-6" inkscape:collect="always"/>
</defs>
<sodipodi:namedview id="base" pagecolor="#cdd6f4" bordercolor="#38394b" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="5.3472951" inkscape:cx="71.117438" inkscape:cy="46.016694" inkscape:current-layer="layer1" showgrid="true" inkscape:document-units="px" inkscape:grid-bbox="true" inkscape:window-width="1600" inkscape:window-height="873" inkscape:window-x="0" inkscape:window-y="27" inkscape:snap-global="true" inkscape:window-maximized="1">
<inkscape:grid type="xygrid" id="grid3005" empspacing="2" visible="true" enabled="true" snapvisiblegridlinesonly="true"/>
</sodipodi:namedview>
<metadata id="metadata3369">
<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:title>Part_Section</dc:title>
<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_Section.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" inkscape:label="Layer 1" inkscape:groupmode="layer">
<path style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="m 7.0000001,5 0,48.691179 44.0000009,6.955882 0,-48.691178 z" id="path3105-9-2" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc" id="path3825" d="m 35,12 22,4 0,26 -22,-4 z" 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"/>
<path style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 37,14.42772 0.0087,21.919116 18.008671,3.268799 -0.0087,-21.933614 z" id="path3765" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 17,46 41,50 57,42 35,38 z" id="path2993-6" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:url(#linearGradient3066);fill-opacity:1;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="m 35,12 0,26 -18,8 0,-28 z" id="path2995-3" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:none;stroke:#307bf7;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 19.01243,19.433833 -0.01226,23.535301 14.001105,-6.300993 3.6e-4,-21.867363 z" id="path3775-5" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 17,18 41,22 57,16 35,12 z" id="path2993" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:url(#linearGradient3783);fill-opacity:1;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="m 57,16 0,26 -16,8 0,-28 z" id="path2995" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:none;stroke:#307bf7;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 43.01243,23.433833 -0.01226,23.535301 12.001105,-6.300993 3.6e-4,-21.867363 z" id="path3775" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="m 17,18 0,28 24,4 0,-28 z" id="path3105" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="m 17,18 0,28 24,4 0,-28 z" id="path3105-2" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="opacity:0.4;fill:#89b4fa;stroke:none" d="m 8,6 0,47 42,6 0,-46 z m 6,8.3 28,4.7 c 0,0 1.215502,0.908743 1.579227,1.470117 C 43.942951,21.031491 44,22 44,22 l 0,32 -31,-6 z" id="path3105-9" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccccczcccc"/>
<path style="opacity:0.4;fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 9,7.3005 0,44.725 40,6.375 0,-44.725 z" id="path3105-9-1" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc"/>
<path style="fill:none;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 51,14 0,32" id="path3966" inkscape:connector-curvature="0"/>
</g>
</svg>