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

257 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64px"
height="64px"
id="svg2860"
version="1.1"
sodipodi:docname="FEM_CreateElementsSet.svg"
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
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/">
<sodipodi:namedview
id="namedview208"
pagecolor="#cdd6f4"
bordercolor="#38394b"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#6a6e84"
showgrid="false"
inkscape:zoom="8.9935144"
inkscape:cx="33.079393"
inkscape:cy="31.355929"
inkscape:window-width="1920"
inkscape:window-height="1017"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2862">
<linearGradient
gradientTransform="translate(0,-4)"
xlink:href="#linearGradient3767"
id="linearGradient3773"
x1="22.116516"
y1="55.717518"
x2="17.328547"
y2="21.31134"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3767">
<stop
style="stop-color:#f8c459;stop-opacity:1"
offset="0"
id="stop3769" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3771" />
</linearGradient>
<linearGradient
gradientTransform="translate(0,-4)"
xlink:href="#linearGradient3777"
id="linearGradient3783"
x1="53.896763"
y1="51.179787"
x2="47.502235"
y2="21.83742"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3777">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop3779" />
<stop
style="stop-color:#f8c459;stop-opacity:1"
offset="1"
id="stop3781" />
</linearGradient>
</defs>
<metadata
id="metadata2865">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>[bitacobir]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2020-03-16</dc:date>
<dc:relation />
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier />
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
style="fill:none;stroke:#11111b;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 55.818182,23.636364 c 0.242424,0 0.242424,0 0,0 z"
id="path2422" />
<path
style="fill:#f9e2af;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 3,13 37,19 61,11 31,7 z"
id="path2993" />
<path
style="fill:url(#linearGradient3783);fill-opacity:1;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="M 61,11 61,47 37,57 37,19 z"
id="path2995" />
<path
id="path3825"
d="M 3,13 37,19 37,57 3,51 z"
style="fill:url(#linearGradient3773);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 5,15.42772 0.00867,33.919116 30.008671,5.268799 -0.0087,-33.933614 z"
id="path3765" />
<path
style="fill:none;stroke:#f8c459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 39.01243,20.433833 -0.01226,33.535301 20.001105,-8.300993 3.6e-4,-31.867363 z"
id="path3775" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 13.049334,14.759655 40.397167,8.3887446"
id="path3875"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 25.745115,16.848834 50.365288,9.5849195"
id="path3875-3" />
<path
style="fill:none;stroke:#6aa0f9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 37,45 55,37.46954 V 13 L 33.577955,9.9829446 13.049334,14.759655 13,40.691839 Z"
id="path1" />
<path
style="fill:none;stroke:#6aa0f9;stroke-width:1.99937008;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-dasharray:none"
d="M 33.666016,12.013672 53,14.738281 v 21.398438 l -16.228516,6.791015 -21.767578,-3.908203 0.04102,-22.671875 z"
id="path7" />
<path
style="fill:none;stroke:#6aa0f9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 13.049334,14.759655 37,19 55,13"
id="path2" />
<path
style="fill:none;stroke:#6aa0f9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 37,19 V 45"
id="path3" />
<path
style="fill:none;stroke:#6aa0f9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 25,42.845919 25.02467,17.035734 44.522841,11.335565"
id="path4" />
<path
style="fill:none;stroke:#6aa0f9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 23.079783,12.371299 23.933616,3.706655 v 24.883978"
id="path5" />
<path
style="fill:none;stroke:#6aa0f9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 13.024667,26.790302 37,31 55,25.000909"
id="path6" />
<rect
style="fill:#6aa0f9;stroke:#6aa0f9;stroke-width:1.99937;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
id="rect2545"
width="30.191647"
height="26.02457"
x="14.85995"
y="14.781327" />
<rect
style="fill:#6aa0f9;fill-opacity:1;stroke:#6aa0f9;stroke-width:1.71919;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
id="rect2545-5"
width="24.578684"
height="23.636154"
x="28.017483"
y="13.08876" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 13,52 13,15"
id="path3051-3" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 25,54 25,17"
id="path3051" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 47,51.999998 47,16"
id="path3051-6" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 13.75,10.875 47,16"
id="path3873" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 24.363636,8.5909091 55,13"
id="path3853" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 3,39 34,6"
id="path3895-5" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 3,25 34,6"
id="path3895" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 37,31 61,23"
id="path3915-6" />
<path
style="fill:none;stroke:#664506;stroke-width:1.99937008;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-dasharray:none"
d="M 37,45 61,35"
id="path3915" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="m 4.053133,13.476812 33.014128,5.400184"
id="path3873-1"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="m 37.110565,55.846437 v -37"
id="path3051-3-9" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 36.982801,18.977887 61.061425,11.017199"
id="path3915-6-4"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 24.476313,16.924007 48.754291,9.5911535"
id="path3915-6-0"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 13.12922,14.674358 39.353045,8.231036"
id="path3915-6-3"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
d="M 55,49.5 55,13"
id="path3051-7" />
</g>
</svg>