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

130 lines
13 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="svg3052" sodipodi:version="0.32" inkscape:version="0.48.5 r10040" sodipodi:docname="PartDesign_CoordinateSystem.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1">
<defs id="defs3054">
<linearGradient id="linearGradient4032">
<stop style="stop-color:#89b4fa;stop-opacity:1;" offset="0" id="stop4034"/>
<stop style="stop-color:#0841a6;stop-opacity:1;" offset="1" id="stop4036"/>
</linearGradient>
<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="perspective3060"/>
<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.6244669,-0.05136783,0.04345521,0.9993132,-102.99033,7.7040438)"/>
<linearGradient id="linearGradient3377">
<stop id="stop3379" offset="0" style="stop-color:#a6e3a1;stop-opacity:1;"/>
<stop id="stop3381" offset="1" style="stop-color:#47ad40;stop-opacity:1;"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3206" id="radialGradient3703" gradientUnits="userSpaceOnUse" cx="135.38333" cy="97.369568" fx="135.38333" fy="97.369568" r="19.467436" gradientTransform="matrix(0.87904684,0.2250379,-0.41709097,2.0016728,56.73751,-127.99883)"/>
<linearGradient id="linearGradient3199">
<stop id="stop3201" offset="0" style="stop-color:#f9d791;stop-opacity:1;"/>
<stop id="stop3203" offset="1" style="stop-color:#f8ca69;stop-opacity:1;"/>
</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"/>
<linearGradient id="linearGradient3206">
<stop id="stop3208" offset="0" style="stop-color:#f9d791;stop-opacity:1;"/>
<stop id="stop3210" offset="1" style="stop-color:#f8ca69;stop-opacity:1;"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4032" id="radialGradient4030" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.260164,-0.05136783,0.03370995,0.9993132,-43.139781,7.2044077)" cx="148.88333" cy="81.869568" fx="148.88333" fy="81.869568" r="19.467436"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-2-6" id="linearGradient3801-1-3-14-0-9-3" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-2-6">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-0-7"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-23-5"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-2" id="linearGradient3801-1-3-14-0-9" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-2">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-0"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-23"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-2-6-6" id="linearGradient3801-1-3-14-0-9-3-3" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-2-6-6">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-0-7-7"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-23-5-5"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-2-62" id="linearGradient3801-1-3-14-0-9-35" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-2-62">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-0-9"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-23-1"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-2-6-9" id="linearGradient3801-1-3-14-0-9-3-7" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-2-6-9">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-0-7-2"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-23-5-0"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-2-3" id="linearGradient3801-1-3-14-0-9-2" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-2-3">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-0-75"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-23-9"/>
</linearGradient>
</defs>
<sodipodi:namedview id="base" pagecolor="#cdd6f4" bordercolor="#38394b" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="6.1640625" inkscape:cx="41.043084" inkscape:cy="28.047092" inkscape:current-layer="layer1" showgrid="true" inkscape:document-units="px" inkscape:grid-bbox="true" inkscape:window-width="1600" inkscape:window-height="834" inkscape:window-x="0" inkscape:window-y="27" inkscape:window-maximized="1">
<inkscape:grid type="xygrid" id="grid3076" empspacing="2" visible="true" enabled="true" snapvisiblegridlinesonly="true"/>
</sodipodi:namedview>
<metadata id="metadata3057">
<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>[Stefan Tröger]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>PartDesign_CoordinateSystem</dc:title>
<dc:date>2015-05-18</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/PartDesign/Gui/Resources/icons/PartDesign_CoordinateSystem.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:none;stroke:#052459;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 26,36 30,10e-7" id="path3165-22" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#307bf7;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 26,36 30,10e-7" id="path3165-9-8" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 26,34.999999 56,35" id="path3165-9-1-9" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<g transform="matrix(0.5613787,1.5641823e-8,0,0.56576972,49.28696,6.558916)" id="g3827-1-3-92-1-7-3-3">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7-5-5-1">
<path inkscape:connector-curvature="0" style="fill:#f2cdcd;stroke:#4c1313;stroke-width:3.54880524;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-71-6-49-2-9-6-9" d="M -26.118221,5.6643347 A 8.9379793,8.8680774 0 1 1 -12.540634,17.200906 8.9379793,8.8680774 0 1 1 -26.118221,5.6643347 z"/>
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient3801-1-3-14-0-9-3-7);fill-opacity:1;stroke:#f2cdcd;stroke-width:3.54880428;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-7-3-2-5-7-2-2-4" d="m -23.40227,7.9744858 a 5.3439706,5.3025298 0 1 1 8.11794,6.8981452 5.3439706,5.3025298 0 0 1 -8.11794,-6.8981452 z"/>
</g>
</g>
<path style="fill:none;stroke:#052459;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 28,36 28,8.000001" id="path3165-2" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#307bf7;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 28,36 28,8.000001" id="path3165-9-7" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 27,36 27,8.000001" id="path3165-9-1-0" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#052459;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 8,56 28,36.000001" id="path3165" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#307bf7;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="M 8,56 28,36.000001" id="path3165-9" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 7.3,55.3 20,-19.999999" id="path3165-9-1" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<g transform="matrix(0.5613787,1.5641823e-8,0,0.56576972,1.28696,26.558916)" id="g3827-1-3-92-1-7">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7-5">
<path inkscape:connector-curvature="0" style="fill:#f2cdcd;stroke:#4c1313;stroke-width:3.54880524;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-71-6-49-2-9" d="M -26.118221,5.6643347 A 8.9379793,8.8680774 0 1 1 -12.540634,17.200906 8.9379793,8.8680774 0 1 1 -26.118221,5.6643347 z"/>
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient3801-1-3-14-0-9);fill-opacity:1;stroke:#f2cdcd;stroke-width:3.54880428;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-7-3-2-5-7-2" d="m -23.40227,7.9744858 a 5.3439706,5.3025298 0 1 1 8.11794,6.8981452 5.3439706,5.3025298 0 0 1 -8.11794,-6.8981452 z"/>
</g>
</g>
<g transform="matrix(0.5613787,1.5641823e-8,0,0.56576972,21.28696,6.558916)" id="g3827-1-3-92-1-7-3">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7-5-5">
<path inkscape:connector-curvature="0" style="fill:#f2cdcd;stroke:#4c1313;stroke-width:3.54880524;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-71-6-49-2-9-6" d="M -26.118221,5.6643347 A 8.9379793,8.8680774 0 1 1 -12.540634,17.200906 8.9379793,8.8680774 0 1 1 -26.118221,5.6643347 z"/>
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient3801-1-3-14-0-9-3);fill-opacity:1;stroke:#f2cdcd;stroke-width:3.54880428;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-7-3-2-5-7-2-2" d="m -23.40227,7.9744858 a 5.3439706,5.3025298 0 1 1 8.11794,6.8981452 5.3439706,5.3025298 0 0 1 -8.11794,-6.8981452 z"/>
</g>
</g>
<g transform="matrix(0.5613787,1.5641823e-8,0,0.56576972,21.28696,-21.441084)" id="g3827-1-3-92-1-7-3-2">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7-5-5-6">
<path inkscape:connector-curvature="0" style="fill:#f2cdcd;stroke:#4c1313;stroke-width:3.54880524;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-71-6-49-2-9-6-1" d="M -26.118221,5.6643347 A 8.9379793,8.8680774 0 1 1 -12.540634,17.200906 8.9379793,8.8680774 0 1 1 -26.118221,5.6643347 z"/>
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient3801-1-3-14-0-9-3-3);fill-opacity:1;stroke:#f2cdcd;stroke-width:3.54880428;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-7-3-2-5-7-2-2-8" d="m -23.40227,7.9744858 a 5.3439706,5.3025298 0 1 1 8.11794,6.8981452 5.3439706,5.3025298 0 0 1 -8.11794,-6.8981452 z"/>
</g>
</g>
</g>
</svg>