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

180 lines
7.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
id="svg249"
version="1.1"
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="defs3">
<linearGradient
id="linearGradient3815">
<stop
id="stop3817"
offset="0"
style="stop-color:#6c7086;stop-opacity:1;" />
<stop
id="stop3819"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.59766989,0.24054653,-0.48667102,0.4145331,10.764661,9.7034819)"
gradientUnits="userSpaceOnUse"
y2="-1.3815211"
x2="25.928942"
y1="19.086002"
x1="53.257175"
id="linearGradient3805"
xlink:href="#linearGradient3815" />
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.64426076,0,0,0.63928583,17.931015,5.7297178)"
x1="53.257175"
y1="19.086002"
x2="25.928942"
y2="-1.3815211" />
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.64426076,0,0,0.63928583,17.931015,13.729721)"
x1="53.257175"
y1="19.086002"
x2="25.928942"
y2="-1.3815211" />
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient3771"
x1="98"
y1="1047.3622"
x2="81"
y2="993.36218"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-60,-988.36218)" />
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient3"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.59766989,0.24054653,-0.48667102,0.4145331,10.764661,7.7030538)"
x1="53.257175"
y1="19.086002"
x2="25.928942"
y2="-1.3815211" />
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient4"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.59766989,0.24054653,-0.48667102,0.4145331,10.764661,15.703312)"
x1="53.257175"
y1="19.086002"
x2="25.928942"
y2="-1.3815211" />
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient5"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.59766989,0.24054653,-0.48667102,0.4145331,10.764661,23.703419)"
x1="53.257175"
y1="19.086002"
x2="25.928942"
y2="-1.3815211" />
</defs>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
style="display:inline">
<path
style="display:inline;fill:url(#linearGradient3771);fill-opacity:1;stroke:#1e1e2e;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;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:none;stroke:#cdd6f4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 13,5 V 59.00002 H 51 V 13.81392 L 41.99741,5 Z"
id="path3763" />
<path
style="display:inline;fill:#1e1e2e;fill-opacity:0.392157;stroke:#1e1e2e;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 43,3 V 13.00002 H 53 Z"
id="path2993" />
</g>
<g
id="layer2"
style="display:inline"
transform="translate(0,2.0004285)">
<path
d="M 27.61859,29.010767 48.097062,39.010496 35.420044,49.009865 14.941572,39.010637 Z"
style="display:inline;overflow:visible;fill:url(#linearGradient2);fill-rule:evenodd;stroke:#333333;stroke-width:2.09847;stroke-linejoin:round;marker:none;enable-background:accumulate;stroke-opacity:1"
id="path1-2"
transform="matrix(1.0254777,0,0,1.000013,-0.3220963,-0.01045756)" />
<path
id="path1-6-2"
style="display:inline;overflow:visible;fill:url(#linearGradient5);fill-rule:evenodd;stroke:#cdd6f4;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-dasharray:none;marker:none;enable-background:accumulate"
d="M 18.804688,38.598022 C 24.453125,41.288126 30.101562,43.978231 35.75,46.668335 38.898438,44.24646 42.046875,41.824585 45.195312,39.40271 39.546875,36.712606 33.898438,34.022501 28.25,31.332397 c -3.148438,2.421875 -6.296875,4.84375 -9.445312,7.265625 z" />
<path
d="M 27.61859,21.010764 48.097062,31.010493 35.420044,41.009862 14.941572,31.010634 Z"
style="display:inline;overflow:visible;fill:url(#linearGradient1);fill-rule:evenodd;stroke:#333333;stroke-width:2.09847;stroke-linejoin:round;marker:none;enable-background:accumulate;stroke-opacity:1"
id="path1"
transform="matrix(1.0254777,0,0,1.000013,-0.3220963,-0.01045756)" />
<path
id="path1-6-3"
style="display:inline;overflow:visible;fill:url(#linearGradient4);fill-rule:evenodd;stroke:#cdd6f4;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-dasharray:none;marker:none;enable-background:accumulate"
d="m 18.804688,30.597915 c 5.648437,2.690104 11.296874,5.380209 16.945312,8.070313 3.148438,-2.421875 6.296875,-4.84375 9.445312,-7.265625 C 39.546875,28.712499 33.898438,26.022394 28.25,23.33229 c -3.148438,2.421875 -6.296875,4.84375 -9.445312,7.265625 z" />
<path
id="rect2993-0-9"
style="display:inline;overflow:visible;fill:url(#linearGradient3805);fill-rule:evenodd;stroke:#333333;stroke-width:1.97499;stroke-linejoin:round;marker:none;enable-background:accumulate;stroke-opacity:1"
d="M 27.61859,13.010744 48.097062,23.010472 35.420044,33.009841 14.941572,23.010613 Z"
transform="matrix(1.0254777,0,0,1.000013,-0.3220963,-0.01045756)" />
<path
id="path1-6"
style="display:inline;overflow:visible;fill:url(#linearGradient3);fill-rule:evenodd;stroke:#cdd6f4;stroke-width:2;stroke-linejoin:miter;marker:none;enable-background:accumulate;stroke-dasharray:none;stroke-linecap:square"
d="m 18.804688,22.597656 c 5.648437,2.690104 11.296874,5.380209 16.945312,8.070313 3.148438,-2.421875 6.296875,-4.84375 9.445312,-7.265625 C 39.546875,20.71224 33.898438,18.022135 28.25,15.332031 c -3.148438,2.421875 -6.296875,4.84375 -9.445312,7.265625 z" />
</g>
</svg>