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

216 lines
6.2 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>
<g
id="layer3"
style="display:inline">
<g
id="g6">
<rect
x="5"
y="8.6585369"
class="st0"
width="10.451612"
height="10.772984"
id="rect4"
style="fill:none;stroke:#7f849c;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
<rect
x="5"
y="8.6585369"
class="st0"
width="10.451612"
height="10.772984"
id="rect1"
style="fill:none;stroke:#11111b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
</g>
<g
id="g5">
<rect
x="5"
y="26.61351"
class="st0"
width="10.451612"
height="10.772984"
id="rect5"
style="fill:none;stroke:#7f849c;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
<rect
x="5"
y="26.61351"
class="st0"
width="10.451612"
height="10.772984"
id="rect2"
style="fill:none;stroke:#11111b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
</g>
<g
id="g4">
<rect
x="5"
y="44.568478"
class="st0"
width="10.451612"
height="10.772984"
id="rect6"
style="fill:none;stroke:#7f849c;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
<rect
x="5"
y="44.568478"
class="st0"
width="10.451612"
height="10.772984"
id="rect3"
style="fill:none;stroke:#11111b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
</g>
<g
id="g1"
transform="translate(0,-1.7954979)">
<line
class="st1"
x1="24.161291"
y1="15.840527"
x2="59"
y2="15.840527"
id="line6"
style="fill:#7f849c;stroke:#7f849c;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
<line
class="st1"
x1="24.161291"
y1="15.840527"
x2="59"
y2="15.840527"
id="line3"
style="fill:none;stroke:#11111b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
</g>
<g
id="g2"
transform="translate(0,-1.795496)">
<line
class="st1"
x1="24.161291"
y1="33.795498"
x2="59"
y2="33.795498"
id="line7"
style="fill:#7f849c;stroke:#7f849c;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
<line
class="st1"
x1="24.161291"
y1="33.795498"
x2="59"
y2="33.795498"
id="line4"
style="fill:none;stroke:#11111b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
</g>
<g
id="g3"
transform="translate(0,-1.7954998)">
<line
class="st1"
x1="24.161291"
y1="51.750469"
x2="59"
y2="51.750469"
id="line8"
style="fill:#7f849c;stroke:#7f849c;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
<line
class="st1"
x1="24.161291"
y1="51.750469"
x2="59"
y2="51.750469"
id="line5"
style="fill:none;stroke:#11111b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none" />
</g>
</g>
</svg>