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

127 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="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,-0.99852609,-0.91482141,0,965.44923,123.86441)" />
<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="linearGradient1"
x1="98"
y1="1047.3622"
x2="81"
y2="993.36218"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0,-0.99852609,-0.91482141,0,965.44923,123.8644)" />
<linearGradient
xlink:href="#linearGradient3866"
id="linearGradient2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0,-0.99852609,-0.91482141,0,965.44923,123.86441)"
x1="98"
y1="1047.3622"
x2="81"
y2="993.36218" />
</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">
<g
id="layer3"
style="display:inline;stroke-width:0.955758"
transform="matrix(0,1.0931095,-1.0014761,0,64.047233,-2.979454)">
<g
id="layer3-3"
style="display:inline;stroke-width:0.955758">
<path
style="fill:url(#linearGradient2);fill-opacity:1;stroke:#1e1e2e;stroke-width:1.91152;stroke-linecap:butt;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 11,3 v 58.00002 h 42 v -48 L 43,3 Z"
id="path2991" />
<path
style="display:inline;fill:url(#linearGradient3771);fill-opacity:1;stroke:#cdd6f4;stroke-width:1.91152;stroke-linecap:butt;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 12.912109,4.9121094 h 29.296875 l 8.878907,8.8789066 V 59.087891 H 12.912109 Z"
id="path1" />
<path
style="fill:#1e1e2e;fill-opacity:0.392157;stroke:#1e1e2e;stroke-width:1.91152;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 43,3 V 13.00002 H 53 Z"
id="path2993" />
</g>
</g>
<g
transform="matrix(0.61151012,0,0,0.61150998,6.5206223,12.370854)"
id="layer1-7"
style="fill:#cdd6f4;stroke:#1e1e2e">
<rect
width="56.18182"
height="46.545456"
x="4"
y="9.272728"
id="rect3002"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:#cdd6f4;fill-opacity:1;fill-rule:nonzero;stroke:#1e1e2e;stroke-width:4;marker:none;enable-background:accumulate" />
<rect
width="65.411766"
height="52.329411"
x="2.4192533"
y="5.934762"
id="rect3002-9"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:#cdd6f4;stroke:#1e1e2e;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
d="M 2.4192533,19.017115 H 67.831017"
id="path3790"
style="fill:#cdd6f4;stroke:#1e1e2e;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
d="M 25.313371,5.9347618 V 58.264173"
id="path3792"
style="fill:#cdd6f4;stroke:#1e1e2e;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
d="M 2.4192533,32.099467 H 67.831017"
id="path3794"
style="fill:#cdd6f4;stroke:#1e1e2e;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
d="M 2.4192533,45.18182 H 67.831017"
id="path3796"
style="fill:#cdd6f4;stroke:#1e1e2e;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>