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

245 lines
8.3 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
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="#linearGradient3960-4"
id="linearGradient2-3"
gradientUnits="userSpaceOnUse"
x1="37.758171"
y1="57.301327"
x2="21.860462"
y2="22.615412"
gradientTransform="matrix(0.3817509,0,0,0.3817509,10.447852,18.745858)" />
<linearGradient
id="linearGradient3960-4">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop3962-4" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3964-5" />
</linearGradient>
<filter
color-interpolation-filters="sRGB"
id="filter3980-1-7"
x="-0.37450271"
width="1.7490054"
y="-0.37450271"
height="1.7490054">
<feGaussianBlur
stdDeviation="4.4862304"
id="feGaussianBlur3982-2-5" />
</filter>
<filter
color-interpolation-filters="sRGB"
id="filter3980-1-7-2"
x="-0.37450271"
width="1.7490054"
y="-0.37450271"
height="1.7490054">
<feGaussianBlur
stdDeviation="4.4862304"
id="feGaussianBlur3982-2-5-9" />
</filter>
<linearGradient
xlink:href="#linearGradient3960-4"
id="linearGradient6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.3817509,0,0,0.3817509,10.447852,18.745858)"
x1="37.758171"
y1="57.301327"
x2="21.860462"
y2="22.615412" />
<filter
color-interpolation-filters="sRGB"
id="filter3980-1-7-0"
x="-0.37450271"
width="1.7490054"
y="-0.37450271"
height="1.7490054">
<feGaussianBlur
stdDeviation="4.4862304"
id="feGaussianBlur3982-2-5-6" />
</filter>
<linearGradient
xlink:href="#linearGradient3960-4"
id="linearGradient7"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.3817509,0,0,0.3817509,10.447852,18.745858)"
x1="37.758171"
y1="57.301327"
x2="21.860462"
y2="22.615412" />
</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="layer3"
transform="translate(2)">
<g
id="layer2"
style="display:inline"
transform="translate(0,4)">
<g
id="g2-3"
transform="translate(14,-13)">
<circle
cy="34"
cx="21"
id="path4042-12-6-5"
style="fill:url(#linearGradient2-3);fill-opacity:1;stroke:#333300;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
r="8" />
<circle
r="14.375"
cy="125"
cx="55"
transform="matrix(0.07049501,0.06930692,-0.10820745,0.10093816,29.701942,16.414971)"
id="path12511-77-8-6"
style="color:#11111b;display:block;visibility:visible;fill:#cdd6f4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:16.5435;stroke-dasharray:none;marker:none;filter:url(#filter3980-1-7)" />
<circle
cy="34"
cx="21"
id="path4042-0-7-2"
style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0"
r="6" />
</g>
<g
id="g2-3-2"
transform="translate(18,5)"
style="display:inline">
<circle
cy="34"
cx="21"
id="path4042-12-6-5-7"
style="fill:url(#linearGradient6);fill-opacity:1;stroke:#333300;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
r="8" />
<circle
r="14.375"
cy="125"
cx="55"
transform="matrix(0.07049501,0.06930692,-0.10820745,0.10093816,29.701942,16.414971)"
id="path12511-77-8-6-0"
style="color:#11111b;display:block;visibility:visible;fill:#cdd6f4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:16.5435;stroke-dasharray:none;marker:none;filter:url(#filter3980-1-7-2)" />
<circle
cy="34"
cx="21"
id="path4042-0-7-2-9"
style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0"
r="6" />
</g>
<g
id="g2-3-6"
transform="translate(0,-1)"
style="display:inline">
<circle
cy="34"
cx="21"
id="path4042-12-6-5-1"
style="fill:url(#linearGradient7);fill-opacity:1;stroke:#333300;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
r="8" />
<circle
r="14.375"
cy="125"
cx="55"
transform="matrix(0.07049501,0.06930692,-0.10820745,0.10093816,29.701942,16.414971)"
id="path12511-77-8-6-8"
style="color:#11111b;display:block;visibility:visible;fill:#cdd6f4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:16.5435;stroke-dasharray:none;marker:none;filter:url(#filter3980-1-7-0)" />
<circle
cy="34"
cx="21"
id="path4042-0-7-2-7"
style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0"
r="6" />
</g>
</g>
</g>
</svg>