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

114 lines
4.4 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="matrix(1.6025418,0,0,1.6025418,-62.702986,-103.41392)" />
</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)">
<g
id="g3480"
transform="matrix(0.62400869,0,0,0.62400869,64.531186,8.8727926)">
<rect
style="fill:#6c7086;fill-opacity:1;stroke:#1e1e2e;stroke-width:3.20508;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2987"
width="73.716919"
height="92.947426"
x="-48.280106"
y="-98.6063"
transform="rotate(-90)" />
<rect
style="fill:url(#linearGradient3781);fill-opacity:1;stroke:#cdd6f4;stroke-width:3.20508;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2987-1"
width="67.306747"
height="86.537262"
x="-45.07502"
y="-95.401222"
transform="rotate(-90)" />
<rect
y="3.4089394"
x="-79.375793"
height="32.050835"
width="35.25592"
id="rect3860"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#0846b3;stroke-width:9.61525;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<ellipse
transform="matrix(0.94010182,0,0,0.93943263,-74.0964,-29.451089)"
id="path3862"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#0846b3;stroke-width:10.2315;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
cx="30.181818"
cy="33.272728"
rx="18.751118"
ry="18.764475" />
<rect
y="3.4089398"
x="-79.375793"
height="32.050835"
width="35.25592"
id="rect3860-5"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#89b4fa;stroke-width:3.20508;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<ellipse
transform="matrix(0.94010181,0,0,0.9394326,-74.0964,-29.451088)"
id="path3862-7"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#89b4fa;stroke-width:3.41051;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
cx="30.181818"
cy="33.272728"
rx="18.751118"
ry="18.764475" />
</g>
</g>
</svg>