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

137 lines
4.0 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="svg4024"
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="defs4026">
<linearGradient
xlink:href="#linearGradient3866"
id="linearGradient3771"
x1="98"
y1="1047.3622"
x2="81"
y2="993.36218"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0,-1,-1,0,1052.3622,124.00001)" />
<linearGradient
id="linearGradient3866">
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="0"
id="stop3868" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3870" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3866"
id="linearGradient3781"
x1="10"
y1="39.999996"
x2="53"
y2="25.999996"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-48)" />
<linearGradient
xlink:href="#linearGradient3891"
id="linearGradient3897"
x1="130.56519"
y1="118.31313"
x2="147.897"
y2="157.05659"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3891">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3893" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3895" />
</linearGradient>
</defs>
<metadata
id="metadata4029">
<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="layer1"
style="display:inline"
transform="translate(0,16)">
<rect
style="fill:#6c7086;fill-opacity:1;stroke:#1e1e2e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2987"
width="45.999996"
height="58.000004"
x="-38.999996"
y="3"
transform="rotate(-90)" />
<rect
style="fill:url(#linearGradient3781);fill-opacity:1;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2987-1"
width="41.999996"
height="54.000004"
x="-36.999996"
y="5"
transform="rotate(-90)" />
<g
transform="matrix(0.83467743,0,0,0.8346775,-83.185485,-99.185496)"
id="g3879"
style="fill:none;stroke:#4c1313;stroke-width:9.58454">
<circle
style="fill:none;stroke:#4c1313;stroke-width:55.1111"
transform="matrix(0.17391304,0,0,0.17391304,114,114)"
id="circle3869"
r="124"
cy="138"
cx="138" />
<line
style="fill:none;stroke:#4c1313;stroke-width:9.58454"
id="line3871"
y2="154.17392"
x2="154.17392"
y1="121.82609"
x1="121.82609" />
</g>
<g
transform="matrix(0.83467743,0,0,0.8346775,-83.185485,-99.185496)"
id="g3879-5"
style="display:inline;fill:none;stroke:url(#linearGradient3897);stroke-width:4.79227">
<circle
style="display:inline;fill:none;stroke:#f2cdcd;stroke-width:27.5556"
transform="matrix(0.17391304,0,0,0.17391304,114,114)"
id="circle3869-3"
r="124"
cy="138"
cx="138" />
<line
style="display:inline;fill:none;stroke:#f2cdcd;stroke-width:4.79227"
id="line3871-5"
y2="154.17392"
x2="154.17392"
y1="121.82609"
x1="121.82609" />
</g>
</g>
</svg>