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

63 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
id="svg2869"
version="1.1"
viewBox="0 0 64 64"
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="defs2871" />
<metadata
id="metadata2874">
<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>[maxwxyz]</dc:title>
</cc:Agent>
</dc:creator>
<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/</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:date>2024</dc:date>
</cc:Work>
</rdf:RDF>
</metadata>
<path
style="color:#11111b;fill:#11111b;fill-rule:evenodd;stroke-linecap:round;-inkscape-stroke:none;fill-opacity:1"
d="m 46.537109,13.740234 a 3.000005,3.000005 0 0 1 -2.121093,3.673828 C 31.625728,20.84121 21.645898,30.821041 18.21875,43.611328 a 3.000005,3.000005 0 0 1 -3.675781,2.123047 3.000005,3.000005 0 0 1 -2.121094,-3.675781 C 16.401336,27.207044 28.011732,15.598601 42.863281,11.619141 a 3.000005,3.000005 0 0 1 3.673828,2.121093 z"
id="path25" />
<path
id="path23"
style="color:#11111b;fill:#11111b;fill-rule:evenodd;-inkscape-stroke:none;fill-opacity:1"
d="M 5.3378906 37.279297 L 11.080078 58.662109 L 26.742188 43.013672 L 5.3378906 37.279297 z " />
<path
id="path20"
style="color:#11111b;fill:#11111b;fill-rule:evenodd;-inkscape-stroke:none;fill-opacity:1"
d="M 38.083984 4.5351562 L 43.818359 25.939453 L 59.464844 10.275391 L 38.083984 4.5351562 z " />
<path
style="color:#11111b;fill:#11111b;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none;fill-opacity:1"
d="m 11.207031,8.3007813 a 3.000005,3.000005 0 0 0 -2.1210935,0.8789062 3.000005,3.000005 0 0 0 0,4.2421875 L 51.914062,56.25 a 3.000005,3.000005 0 0 0 4.242188,0 3.000005,3.000005 0 0 0 0,-4.242188 L 13.328125,9.1796875 A 3.000005,3.000005 0 0 0 11.207031,8.3007813 Z"
id="path2-6" />
</svg>