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

75 lines
6.8 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="svg2860" sodipodi:version="0.32" inkscape:version="0.48.5 r10040" sodipodi:docname="Part_CrossSections.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1">
<defs id="defs2862">
<linearGradient inkscape:collect="always" id="linearGradient3814">
<stop style="stop-color:#307bf7;stop-opacity:1;" offset="0" id="stop3816"/>
<stop style="stop-color:#0846b3;stop-opacity:1" offset="1" id="stop3818"/>
</linearGradient>
<linearGradient inkscape:collect="always" id="linearGradient3804">
<stop style="stop-color:#89b4fa;stop-opacity:1;" offset="0" id="stop3806"/>
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3808"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3377" id="radialGradient3692" cx="45.883327" cy="28.869568" fx="45.883327" fy="28.869568" r="19.467436" gradientUnits="userSpaceOnUse"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3377" id="radialGradient3703" gradientUnits="userSpaceOnUse" cx="135.38333" cy="97.369568" fx="135.38333" fy="97.369568" r="19.467436" gradientTransform="matrix(0.97435,0.2250379,-0.4623105,2.0016728,48.487554,-127.99883)"/>
<linearGradient id="linearGradient3377">
<stop id="stop3379" offset="0" style="stop-color:#89b4fa;stop-opacity:1;"/>
<stop id="stop3381" offset="1" style="stop-color:#0841a6;stop-opacity:1;"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3377" id="radialGradient3705" gradientUnits="userSpaceOnUse" cx="148.88333" cy="81.869568" fx="148.88333" fy="81.869568" r="19.467436" gradientTransform="matrix(1.3852588,-0.05136783,0.03705629,0.9993132,-60.392403,7.7040438)"/>
<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="perspective2868"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3804" id="linearGradient3810" x1="-35" y1="14" x2="-28" y2="56" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3814" id="linearGradient3820" x1="-16" y1="12" x2="-13" y2="52" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3804" id="linearGradient3829" gradientUnits="userSpaceOnUse" x1="-35" y1="14" x2="-28" y2="56" gradientTransform="translate(80,0)"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3814" id="linearGradient3831" gradientUnits="userSpaceOnUse" x1="-16" y1="12" x2="-13" y2="52" gradientTransform="translate(80,0)"/>
</defs>
<sodipodi:namedview id="base" pagecolor="#cdd6f4" bordercolor="#38394b" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="4" inkscape:cx="-0.067669164" inkscape:cy="63.550523" inkscape:current-layer="g3822" 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:window-maximized="1" showguides="true" inkscape:guide-bbox="true" inkscape:object-paths="false" inkscape:snap-nodes="true" inkscape:snap-grids="true">
<inkscape:grid type="xygrid" id="grid3008" empspacing="2" visible="true" enabled="true" snapvisiblegridlinesonly="true"/>
</sodipodi:namedview>
<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:title/>
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Part_CrossSections</dc:title>
<dc:date>2012-12-03</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_CrossSections.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">
<g id="g3822" transform="translate(-20,0)">
<path sodipodi:nodetypes="ccccc" inkscape:connector-curvature="0" id="path3010" d="M 49,3 37,11 61,13 71,5 z" style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"/>
<path inkscape:connector-curvature="0" id="path3798" d="m 37,11 0,48 24,2 0,-48 z" style="fill:#89b4fa;stroke:#11111b;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"/>
<path inkscape:connector-curvature="0" id="path3800" d="m 71,5 0,48 -10,8 0,-48 z" style="fill:#307bf7;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"/>
<path sodipodi:nodetypes="ccccc" inkscape:connector-curvature="0" id="path3802" d="m 39,13.1 0,44.1 20,1.7 0,-44.1 z" style="fill:url(#linearGradient3829);fill-opacity:1;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"/>
<path sodipodi:nodetypes="ccccc" inkscape:connector-curvature="0" id="path3812" d="M 63,14 63,56.8 69,52 69,9.2 z" style="fill:url(#linearGradient3831);fill-opacity:1;stroke:#307bf7;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"/>
<path style="fill:#f2cdcd;stroke:#912424;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 73,36.15625 73,37 62,45 37,43 37,37.1875 23,47 65,51 81,37 73,36.15625 z" id="path3010-6-7" inkscape:connector-curvature="0"/>
<path style="fill:#f2cdcd;stroke:#912424;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 73,18.15625 73,19 62,27 37,25 37,19.1875 23,29 65,33 81,19 73,18.15625 z" id="path3010-6-7-5" inkscape:connector-curvature="0"/>
</g>
</g>
</svg>