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

68 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg version="1.1" id="svg4564" height="64" width="64" 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/">
<defs id="defs4566">
<radialGradient r="34.345188" fy="672.79736" fx="225.26402" cy="672.79736" cx="225.26402" gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)" gradientUnits="userSpaceOnUse" id="radialGradient4572" xlink:href="#linearGradient3144-3" />
<linearGradient id="linearGradient3144-3">
<stop id="stop3146-7" offset="0" style="stop-color:#cdd6f4;stop-opacity:1" />
<stop id="stop3148-0" offset="1" style="stop-color:#cdd6f4;stop-opacity:0" />
</linearGradient>
<radialGradient r="34.345188" fy="672.79736" fx="225.26402" cy="672.79736" cx="225.26402" gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)" gradientUnits="userSpaceOnUse" id="radialGradient4574" xlink:href="#linearGradient3144-0" />
<linearGradient id="linearGradient3144-0">
<stop id="stop3146-2" offset="0" style="stop-color:#cdd6f4;stop-opacity:1" />
<stop id="stop3148-9" offset="1" style="stop-color:#cdd6f4;stop-opacity:0" />
</linearGradient>
<radialGradient r="34.345188" fy="672.79736" fx="225.26402" cy="672.79736" cx="225.26402" gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)" gradientUnits="userSpaceOnUse" id="radialGradient3846" xlink:href="#linearGradient3144-3" />
<radialGradient r="34.345188" fy="672.79736" fx="225.26402" cy="672.79736" cx="225.26402" gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)" gradientUnits="userSpaceOnUse" id="radialGradient3848" xlink:href="#linearGradient3144-0" />
<linearGradient id="linearGradient3836-0-6-4">
<stop id="stop3838-2-7-0" offset="0" style="stop-color:#912424;stop-opacity:1" />
<stop id="stop3840-5-5-9" offset="1" style="stop-color:#f2cdcd;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient3836-0-6">
<stop id="stop3838-2-7" offset="0" style="stop-color:#912424;stop-opacity:1" />
<stop id="stop3840-5-5" offset="1" style="stop-color:#f2cdcd;stop-opacity:1" />
</linearGradient>
</defs>
<metadata id="metadata4569">
<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>[bitacovir]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date />
<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>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag />
</dc:subject>
<dc:description />
</cc:Work>
</rdf:RDF>
</metadata>
<g transform="translate(0,-988.36218)" id="layer1">
<path id="path913" d="m 16.001457,991.61563 v 8.76197" style="fill:#cdd6f4;stroke:#cdd6f4;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path style="fill:#cdd6f4;stroke:#cdd6f4;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="m 16.005154,1008.394 v 8.7619" id="path913-6" />
<path id="path913-6-4" d="M 3.2625654,1004.386 H 11.992377" style="fill:#cdd6f4;stroke:#cdd6f4;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path style="fill:#cdd6f4;stroke:#cdd6f4;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 19.969916,1004.3436 H 28.72376" id="path913-6-4-4" />
</g>
</svg>