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

107 lines
3.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="#linearGradient3775-1"
id="linearGradient3781-9"
x1="10"
y1="39.999996"
x2="53"
y2="25.999996"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-48)" />
<linearGradient
id="linearGradient3775-1">
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="0"
id="stop3777-2" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3779-7" />
</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="layer4"
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-9);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)" />
<rect
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="rect3894"
width="50"
height="38"
x="7"
y="-3" />
<rect
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="rect4664"
width="23.999994"
height="12.000004"
x="33"
y="23" />
<path
style="fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 37,27 h 15.398794 v 0"
id="path4666" />
<path
style="fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 37,31 h 15.642526 v 0"
id="path4666-7" />
</g>
<g
id="g5-0"
style="stroke:#1e1e2e">
<circle
style="fill:#7f849c;stroke:#313244;stroke-width:2.00001;stroke-linecap:round;stroke-linejoin:round"
id="path2"
cx="45.99572"
cy="45.994976"
r="15.005042" />
<path
id="path1"
style="fill:#a6e3a1;stroke:#1c5017;stroke-width:1.99998;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 43.99572,35.994976 h 4 v 8 h 8 v 4 h -8 v 8 h -4 v -8 h -8 v -4 h 8 z" />
</g>
</svg>