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

158 lines
4.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
width="64"
height="64"
id="svg3085"
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="defs3087">
<linearGradient
id="linearGradient5062">
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop5058" />
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="1"
id="stop5060" />
</linearGradient>
<linearGradient
id="linearGradient3836-0">
<stop
id="stop5008"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop5010"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient7597">
<stop
id="stop7599"
style="stop-color:#000003;stop-opacity:1"
offset="0" />
<stop
id="stop7601"
style="stop-color:#000003;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient3893">
<stop
id="stop3895"
style="stop-color:#cdd6f4;stop-opacity:1"
offset="0" />
<stop
id="stop3897"
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
x1="15.71482"
y1="22.299377"
x2="34.136208"
y2="22.299377"
id="linearGradient7603"
xlink:href="#linearGradient7597"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3836-0-3">
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop3838-2" />
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="1"
id="stop3840-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5064"
x1="33.055637"
y1="43.596096"
x2="42.195377"
y2="57.417107"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5072"
x1="3.8125484"
y1="51.68948"
x2="19.800535"
y2="51.68948"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5080"
x1="13.818283"
y1="25.689482"
x2="29.806271"
y2="25.689482"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5088"
x1="43.818283"
y1="11.684036"
x2="59.806271"
y2="11.684036"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata3090">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="g3"
transform="matrix(1.000003,0,0,1.0000084,-0.29066176,-16.687102)"
style="stroke-width:0.999994">
<path
style="fill:none;stroke:#052459;stroke-width:7.99996;stroke-dasharray:none"
d="M 9,63.796199 32.290565,40.68676 h 15.999952"
id="path2" />
<path
style="display:inline;fill:#307bf7;stroke:#052459;stroke-width:1.99999;stroke-linejoin:round;stroke-dasharray:none"
d="M 3.5811389,69.57704 5,56.796232 16,67.79618 Z"
id="path1" />
<path
style="display:inline;fill:none;stroke:#052459;stroke-width:7.99996;stroke-linecap:round;stroke-dasharray:none"
d="m 58.290487,30.686844 -9.99997,9.999916 9.99997,9.999916"
id="path3" />
<path
style="display:inline;fill:none;stroke:#307bf7;stroke-width:3.99997;stroke-linecap:round;stroke-dasharray:none"
d="M 9.1435549,63.768554 32,40.796309 h 16.290517"
id="path6" />
<path
style="fill:none;stroke:#307bf7;stroke-width:3.99997;stroke-linecap:round;stroke-dasharray:none"
d="m 58.290487,30.686844 -9.999726,9.999916 9.999726,9.999916"
id="path7" />
<path
style="fill:none;stroke:#89b4fa;stroke-width:1.99999;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="M 9.3644222,62.012639 30.999635,39.796771 h 16.290517"
id="path4" />
<path
style="fill:none;stroke:#89b4fa;stroke-width:1.99999;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="m 57.290202,29.686856 -9.999726,9.999916 9.999726,9.999916"
id="path5" />
</g>
</svg>