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

179 lines
6.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="svg3111"
height="64px"
width="64px">
<defs
id="defs3113">
<linearGradient
id="linearGradient3841">
<stop
id="stop3843"
offset="0"
style="stop-color:#2168de;stop-opacity:1;" />
<stop
id="stop3845"
offset="1"
style="stop-color:#7cacfa;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientTransform="translate(2,-2)"
gradientUnits="userSpaceOnUse"
y2="2545.2188"
x2="713.0625"
y1="2545.2188"
x1="155.46875"
id="linearGradient6655"
xlink:href="#linearGradient3841" />
<linearGradient
xlink:href="#linearGradient3895"
id="linearGradient3036"
gradientUnits="userSpaceOnUse"
x1="56.172409"
y1="29.279999"
x2="21.689653"
y2="36.079998"
gradientTransform="matrix(0,-1.4500001,1.4705882,0,-15.05882,91.45)" />
<linearGradient
id="linearGradient3895">
<stop
id="stop3897"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3899"
offset="1"
style="stop-color:#0846b3;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3895"
id="linearGradient3025"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82726526,0,0,0.85294121,12.536816,6.205883)"
x1="42.758076"
y1="23.526644"
x2="45.615246"
y2="39.514103" />
<linearGradient
xlink:href="#linearGradient3895-6"
id="linearGradient3025-3"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82726526,0,0,0.85294121,12.536816,35.205883)"
x1="42.758076"
y1="23.526644"
x2="45.615246"
y2="39.514103" />
<linearGradient
id="linearGradient3895-6">
<stop
id="stop3897-7"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3899-5"
offset="1"
style="stop-color:#0846b3;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3895-6"
id="linearGradient3066"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.82726526,0,0,0.85294121,51.46318,6.205883)"
x1="50.120781"
y1="24.379309"
x2="45.615246"
y2="39.514103" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="57"
x2="34"
y1="6"
x1="30"
id="linearGradient3900"
xlink:href="#linearGradient3895-6" />
</defs>
<g
id="layer1">
<path
id="path3343"
d="m 49,19 0,8 -8,0 0,10 8,0 0,8 12,-13 z"
style="fill:url(#linearGradient3025);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
id="path3343-2"
d="M 51.040748,24.487021 51,29 l -8,0 0,6 8,0 0.01705,5.130682 7.264191,-8.106576 z"
style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
id="path3343-3"
d="m 15,19 0,8 8,0 0,10 -8,0 0,8 L 3,32 z"
style="fill:url(#linearGradient3066);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
id="path3343-2-5"
d="M 12.959252,24.487021 13,29 l 8,0 0,6 -8,0 -0.01705,5.130682 -7.264191,-8.106576 z"
style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
id="path3087"
d="M 32,56 32,8"
style="fill:none;stroke:#052459;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3087-6"
d="M 32,56 32,8"
style="fill:none;stroke:url(#linearGradient3900);stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3087-6-2"
d="M 31,56 31,8"
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<metadata
id="metadata5781">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<cc:license
rdf:resource="" />
<dc:date>Mon Oct 10 13:44:52 2011 +0000</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<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:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_Trimex.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>arrow</rdf:li>
<rdf:li>arrows</rdf:li>
<rdf:li>line</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A vertical line with an arrow pointing away from it on each side</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>