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

495 lines
17 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
id="svg2869"
version="1.1"
viewBox="0 0 64 64"
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="defs2871">
<linearGradient
id="linearGradient5">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop19" />
<stop
style="stop-color:#f2cdcd;stop-opacity:0;"
offset="1"
id="stop20" />
</linearGradient>
<linearGradient
id="swatch18">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop18" />
</linearGradient>
<linearGradient
id="swatch15">
<stop
style="stop-color:#581616;stop-opacity:1;"
offset="0"
id="stop15" />
</linearGradient>
<linearGradient
id="linearGradient5-1">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop5" />
<stop
style="stop-color:#f2cdcd;stop-opacity:0;"
offset="1"
id="stop6" />
</linearGradient>
<linearGradient
id="linearGradient3836-9">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1" />
</linearGradient>
<linearGradient
id="linearGradient3836-9-3">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8-5" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1-6" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3082"
xlink:href="#linearGradient3836-9-3" />
<linearGradient
id="linearGradient3836-9-7">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8-0" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1-9" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3082-3"
xlink:href="#linearGradient3836-9-7" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient3801-1-3"
gradientUnits="userSpaceOnUse"
x1="-18"
y1="18"
x2="-22"
y2="5"
gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient3801-1-3-2"
gradientUnits="userSpaceOnUse"
x1="-18"
y1="18"
x2="-22"
y2="5"
gradientTransform="matrix(0.84956703,0,0,0.84301394,-2.927337,1.7790378)" />
<linearGradient
xlink:href="#linearGradient3838"
id="linearGradient3844"
x1="36"
y1="1039.3622"
x2="32"
y2="1003.3622"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2.0563921e-6,-988.36218)" />
<linearGradient
id="linearGradient3838">
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="0"
id="stop3840" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1;"
offset="1"
id="stop3842" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3830"
id="linearGradient3836"
x1="36"
y1="1037.3622"
x2="32"
y2="1005.3622"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2.0563921e-6,-988.36218)" />
<linearGradient
id="linearGradient3830">
<stop
style="stop-color:#cdd6f4;stop-opacity:1;"
offset="0"
id="stop3832" />
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="1"
id="stop3834" />
</linearGradient>
<linearGradient
x1="10.504496"
y1="16.48678"
x2="5.9349072"
y2="1.6356685"
id="linearGradient-1"
gradientTransform="scale(0.99999018,1.0000098)"
gradientUnits="userSpaceOnUse">
<stop
stop-color="#912424"
offset="0%"
id="stop6-9" />
<stop
stop-color="#f2cdcd"
offset="100%"
id="stop8" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient3856"
gradientUnits="userSpaceOnUse"
x1="80"
y1="58"
x2="79"
y2="42" />
<linearGradient
id="linearGradient3815">
<stop
style="stop-color:#307bf7;stop-opacity:1"
offset="0"
id="stop3817" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop3819" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3841"
id="linearGradient3858"
gradientUnits="userSpaceOnUse"
x1="109"
y1="51"
x2="105"
y2="38" />
<linearGradient
id="linearGradient3841">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop3843" />
<stop
style="stop-color:#307bf7;stop-opacity:1"
offset="1"
id="stop3845" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientTransform="matrix(0.77114848,0,0,0.77113937,-4.4090973,2.5859051)"
gradientUnits="userSpaceOnUse"
id="linearGradient3898"
xlink:href="#linearGradient3836-9-3" />
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient3978"
gradientUnits="userSpaceOnUse"
x1="-15"
y1="37"
x2="-19"
y2="37"
gradientTransform="rotate(135.18861,5.7426909,37.969029)" />
<linearGradient
xlink:href="#linearGradient17"
id="linearGradient3898-0"
x1="37.429146"
y1="41.590584"
x2="24.483221"
y2="4.9104676"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient17">
<stop
style="stop-color:#cdd6f4;stop-opacity:1;"
offset="0"
id="stop16" />
<stop
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1"
id="stop17" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient17"
id="linearGradient3856-9"
x1="22.84341"
y1="4.8241611"
x2="30.783579"
y2="28.644661"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient2">
<stop
style="stop-color:#6cd163;stop-opacity:1;"
offset="0"
id="stop1" />
<stop
style="stop-color:#a6e3a1;stop-opacity:1;"
offset="1"
id="stop2" />
</linearGradient>
<marker
style="overflow:visible"
id="Arrow2_Fnone_Sblue"
refX="0"
refY="0"
orient="auto"
markerWidth="4.583333"
markerHeight="3.333333"
viewBox="0 0 7.7 5.6"
preserveAspectRatio="xMidYMid">
<path
transform="scale(0.7)"
d="M -2,-4 9,0 -2,4 c 2,-2.33 2,-5.66 0,-8 z"
style="fill:#5190f8;fill-rule:evenodd;stroke:none"
id="path467" />
</marker>
<marker
style="overflow:visible"
id="Arrow2-7_Fnone_Sblue"
refX="0"
refY="0"
orient="auto"
markerWidth="4.583333"
markerHeight="3.333333"
viewBox="0 0 7.7 5.6"
preserveAspectRatio="xMidYMid">
<path
transform="scale(0.7)"
d="M -2,-4 9,0 -2,4 c 2,-2.33 2,-5.66 0,-8 z"
style="fill:#5190f8;fill-rule:evenodd;stroke:none"
id="path470" />
</marker>
<marker
style="overflow:visible"
id="Arrow2-7-8_Fnone_Sblue"
refX="0"
refY="0"
orient="auto"
markerWidth="4.583333"
markerHeight="3.333333"
viewBox="0 0 7.7 5.6"
preserveAspectRatio="xMidYMid">
<path
transform="scale(0.7)"
d="M -2,-4 9,0 -2,4 c 2,-2.33 2,-5.66 0,-8 z"
style="fill:#5190f8;fill-rule:evenodd;stroke:none"
id="path473" />
</marker>
<linearGradient
xlink:href="#linearGradient959"
id="linearGradient968"
gradientUnits="userSpaceOnUse"
x1="13.324029"
y1="31.713572"
x2="6.5543613"
y2="46.508171"
gradientTransform="translate(0,-2)" />
<linearGradient
id="linearGradient959">
<stop
style="stop-color:#d76363;stop-opacity:1"
offset="0"
id="stop957" />
<stop
id="stop955"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="translate(-48.762712,5.1864407)"
xlink:href="#linearGradient882"
id="linearGradient4039"
x1="89.610168"
y1="46.389832"
x2="91.338982"
y2="32.542374"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient882">
<stop
id="stop876"
offset="0"
style="stop-color:#6cd163;stop-opacity:1" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop878" />
</linearGradient>
</defs>
<metadata
id="metadata2874">
<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>[maxwxyz]</dc:title>
</cc:Agent>
</dc:creator>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/Sketcher/Gui/Resources/icons/Sketcher_CreateArc.svg</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:date>2023-12-19</dc:date>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer3"
style="display:inline">
<path
style="fill:url(#linearGradient968);fill-opacity:1;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 31,5 3,11 v 38 l 28,-8 z"
id="path987-6" />
<g
id="g2"
style="display:inline">
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 30.61017,10.707371 C 36.738547,-0.04258703 56.927466,3.0344199 58.542373,14.964593"
id="path998" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 30.20339,39.881857 c 4.499846,9.565372 17.048397,18.663811 23.728813,6.886681"
id="path1002" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 15.423729,27.861468 38.61017,34.372512"
id="path1006" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 23.830508,17.719265 c 6.452194,1.85471 12.785072,4.52185 18.983051,6.761469"
id="path1008" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 28.440678,13.837681 22.779661,8.38923"
id="path1010" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 8.2372881,16.216716 C 17.225151,19.347558 32.815089,25.387631 42,27.861468"
id="path1012" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 29.118644,36.626335 c 5.616408,1.622773 11.082312,4.480397 16.949153,5.884981"
id="path1014" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 30.61017,10.707371 C 36.738547,-0.04258703 56.927466,3.0344199 58.542373,14.964593"
id="path35" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 30.20339,39.881857 c 4.499846,9.565372 17.048397,18.663811 23.728813,6.886681"
id="path36" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 15.423729,27.861468 38.61017,34.372512"
id="path38" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 23.830508,17.719265 c 6.452194,1.85471 12.785072,4.52185 18.983051,6.761469"
id="path39" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 28.440678,13.837681 22.779661,8.38923"
id="path40" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 8.2372881,16.216716 C 17.225151,19.347558 32.815089,25.387631 42,27.861468"
id="path41" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 29.118644,36.626335 c 5.616408,1.622773 11.082312,4.480397 16.949153,5.884981"
id="path42" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 9.1864407,35.248999 41.186441,43.262591"
id="path1004" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 9.1864407,35.248999 41.186441,43.262591"
id="path37" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 12.169492,13.462044 C 18.138133,-2.8868753 39.211919,4.950327 45.254237,17.96969"
id="path996" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 12.169492,13.462044 C 18.138133,-2.8868753 39.211919,4.950327 45.254237,17.96969"
id="path34" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 15.016949,41.509617 c 2.083238,8.715232 17.076914,14.516713 24.271187,8.264018"
id="path1016" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 15.016949,41.509617 c 2.083238,8.715232 17.076914,14.516713 24.271187,8.264018"
id="path43" />
<path
style="fill:none;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 5.5254238,44.013865 C 0.6025815,60.868049 44.983051,67.441009 44.983051,49.02236"
id="path1000" />
<path
style="fill:none;fill-rule:evenodd;stroke:#7f849c;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 5.5254238,44.013865 C 0.6025815,60.868049 44.983051,67.441009 44.983051,49.02236"
id="path44" />
</g>
<path
style="vector-effect:none;fill:url(#linearGradient4039);fill-opacity:1;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
d="M 61,9 V 45 L 37,55 V 17 Z"
id="path2995-2" />
</g>
</svg>