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

107 lines
3.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">
<linearGradient
id="linearGradient5">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop19" />
<stop
style="stop-color:#f2cdcd;stop-opacity:0;"
offset="1"
id="stop20" />
</linearGradient>
<linearGradient
id="swatch18">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop18" />
</linearGradient>
<linearGradient
id="swatch15">
<stop
style="stop-color:#581616;stop-opacity:1;"
offset="0"
id="stop15" />
</linearGradient>
<linearGradient
id="linearGradient5-1">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop5" />
<stop
style="stop-color:#f2cdcd;stop-opacity:0;"
offset="1"
id="stop6" />
</linearGradient>
<linearGradient
id="linearGradient3836-9">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1" />
</linearGradient>
</defs>
<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;stroke-linejoin:round;-inkscape-stroke:none"
d="M 32,9.3535156 C 19.527776,9.3535156 9.3535156,19.527776 9.3535156,32 9.3535156,44.472224 19.527776,54.646484 32,54.646484 44.472224,54.646484 54.646484,44.472224 54.646484,32 54.646484,19.527776 44.472224,9.3535156 32,9.3535156 Z m 0,6.0000004 c 9.229581,0 16.646484,7.416903 16.646484,16.646484 0,9.229581 -7.416903,16.646484 -16.646484,16.646484 -9.229581,0 -16.646484,-7.416903 -16.646484,-16.646484 0,-9.229581 7.416903,-16.646484 16.646484,-16.646484 z"
id="path25" />
<path
style="color:#11111b;fill:#11111b;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
d="m 32,2 a 3.000005,3.000005 0 0 0 -3,3 v 54 a 3.000005,3.000005 0 0 0 3,3 3.000005,3.000005 0 0 0 3,-3 V 5 A 3.000005,3.000005 0 0 0 32,2 Z"
id="path26" />
<path
style="color:#11111b;fill:#11111b;fill-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none"
d="m 5,29 a 3.000005,3.000005 0 0 0 -3,3 3.000005,3.000005 0 0 0 3,3 h 54 a 3.000005,3.000005 0 0 0 3,-3 3.000005,3.000005 0 0 0 -3,-3 z"
id="path27" />
</svg>