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

413 lines
12 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="svg3612"
height="64px"
width="64px">
<defs
id="defs3614">
<linearGradient
id="linearGradient3955">
<stop
id="stop3957"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3959"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3144-6">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3146-9" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3148-2" />
</linearGradient>
<linearGradient
id="linearGradient3701">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3703" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3705" />
</linearGradient>
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient3688"
xlink:href="#linearGradient3144-6" />
<linearGradient
id="linearGradient3708">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3710" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3712" />
</linearGradient>
<linearGradient
id="linearGradient3864-0-0">
<stop
style="stop-color:#2168de;stop-opacity:1;"
offset="0"
id="stop3866-5-7" />
<stop
style="stop-color:#7cacfa;stop-opacity:1;"
offset="1"
id="stop3868-7-6" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
id="linearGradient3864-0">
<stop
style="stop-color:#2168de;stop-opacity:1;"
offset="0"
id="stop3866-5" />
<stop
style="stop-color:#7cacfa;stop-opacity:1;"
offset="1"
id="stop3868-7" />
</linearGradient>
<linearGradient
id="linearGradient5048">
<stop
id="stop5050"
offset="0"
style="stop-color:black;stop-opacity:0;" />
<stop
style="stop-color:black;stop-opacity:1;"
offset="0.5"
id="stop5056" />
<stop
id="stop5052"
offset="1"
style="stop-color:black;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient3841-0-3">
<stop
style="stop-color:#2168de;stop-opacity:1;"
offset="0"
id="stop3843-1-3" />
<stop
style="stop-color:#7cacfa;stop-opacity:1;"
offset="1"
id="stop3845-0-8" />
</linearGradient>
<radialGradient
id="aigrd2"
cx="20.892099"
cy="114.5684"
r="5.256"
fx="20.892099"
fy="114.5684"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
style="stop-color:#8c92ab"
id="stop15566" />
<stop
offset="1.0000000"
style="stop-color:#585b70;stop-opacity:1.0000000;"
id="stop15568" />
</radialGradient>
<radialGradient
id="aigrd3"
cx="20.892099"
cy="64.567902"
r="5.257"
fx="20.892099"
fy="64.567902"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
style="stop-color:#8c92ab"
id="stop15573" />
<stop
offset="1.0000000"
style="stop-color:#585b70;stop-opacity:1.0000000;"
id="stop15575" />
</radialGradient>
<linearGradient
id="linearGradient15662">
<stop
id="stop15664"
offset="0.0000000"
style="stop-color:#cdd6f4;stop-opacity:1.0000000;" />
<stop
id="stop15666"
offset="1.0000000"
style="stop-color:#afb6d2;stop-opacity:1.0000000;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient259"
id="radialGradient4452"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.96049297,0,0,1.041132,-52.144249,-702.33158)"
cx="33.966679"
cy="35.736916"
fx="33.966679"
fy="35.736916"
r="86.70845" />
<linearGradient
id="linearGradient259">
<stop
id="stop260"
offset="0.0000000"
style="stop-color:#b7bfdc;stop-opacity:1.0000000;" />
<stop
id="stop261"
offset="1.0000000"
style="stop-color:#595c71;stop-opacity:1.0000000;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient269"
id="radialGradient4454"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.96827297,0,0,1.032767,-48.790699,-701.68513)"
cx="8.824419"
cy="3.7561285"
fx="8.824419"
fy="3.7561285"
r="37.751713" />
<linearGradient
id="linearGradient269">
<stop
id="stop270"
offset="0.0000000"
style="stop-color:#585b70;stop-opacity:1.0000000;" />
<stop
id="stop271"
offset="1.0000000"
style="stop-color:#2c2d3e;stop-opacity:1.0000000;" />
</linearGradient>
<linearGradient
id="linearGradient4095">
<stop
id="stop4097"
offset="0"
style="stop-color:#5190f8;stop-opacity:1;" />
<stop
id="stop4099"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.94231826,0,0,0.94231826,23.727549,8.8262536)"
gradientUnits="userSpaceOnUse"
y2="140.22731"
x2="434.73947"
y1="185.1304"
x1="394.15784"
id="linearGradient4253"
xlink:href="#linearGradient4247" />
<linearGradient
id="linearGradient4247">
<stop
id="stop4249"
offset="0"
style="stop-color:#308c29;stop-opacity:1;" />
<stop
id="stop4251"
offset="1"
style="stop-color:#89da82;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3144-8">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3146-96" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3148-4" />
</linearGradient>
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient4339"
xlink:href="#linearGradient3144-8-4" />
<linearGradient
id="linearGradient3144-8-4">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3146-96-8" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3148-4-0" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="225.43279"
x2="355.91556"
y1="225.43279"
x1="324.44156"
id="linearGradient4567"
xlink:href="#linearGradient3841-3" />
<linearGradient
id="linearGradient3841-3">
<stop
style="stop-color:#2168de;stop-opacity:1;"
offset="0"
id="stop3843-15" />
<stop
style="stop-color:#7cacfa;stop-opacity:1;"
offset="1"
id="stop3845-8" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3841-3"
id="linearGradient5390"
gradientUnits="userSpaceOnUse"
x1="324.44156"
y1="225.43279"
x2="355.91556"
y2="225.43279" />
<linearGradient
y2="225.43279"
x2="355.91556"
y1="225.43279"
x1="324.44156"
gradientUnits="userSpaceOnUse"
id="linearGradient3931"
xlink:href="#linearGradient3841-3" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="164.2444"
x2="348.04712"
y1="175.2444"
x1="353.04712"
id="linearGradient3961"
xlink:href="#linearGradient3955" />
</defs>
<g
id="layer1">
<g
id="g4664"
transform="translate(-320.04711,-131.2444)">
<path
transform="translate(320.04711,131.2444)"
id="path3063"
d="m 6,58 c 0,0 6,-12 14,-12 8,0 10,12 20,12 10,0 17,-13 17,-13"
style="fill:none;stroke:#1e1e2e;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3063-3"
d="m 326.04711,189.2444 c 0,0 6,-12 14,-12 8,0 10,12 20,12 10,0 17,-13 17,-13"
style="fill:none;stroke:#6c7086;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3063-3-6"
d="m 325.04711,189.2444 c 0,0 6.16356,-13.19681 15,-13 8.83644,0.19681 10.59043,12 20,12 9.40957,0 16.12301,-12.55718 16.12301,-12.55718"
style="fill:none;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3893"
d="m 326.04711,156.2444 15,-18 20,16 17,-17"
style="fill:none;stroke:#1e1e2e;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3893-5"
d="m 326.04711,156.2444 15,-18 20,16 17,-17"
style="fill:none;stroke:#6c7086;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3893-5-6"
d="m 325.2416,155.70833 15.70114,-18.81184 20,16 16.40855,-16.33896"
style="fill:none;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3935"
d="m 337.04711,162.2444 30,0 -15,14 z"
style="fill:url(#linearGradient3961);stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1" />
<path
id="path3935-2"
d="m 342.04711,164.2444 20,0 -10.0492,9.29522 z"
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
<metadata
id="metadata5996">
<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_WireToBSpline.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>wire</rdf:li>
<rdf:li>zig-zag</rdf:li>
<rdf:li>jagged</rdf:li>
<rdf:li>smooth</rdf:li>
<rdf:li>spline</rdf:li>
<rdf:li>curve</rdf:li>
<rdf:li>arrow</rdf:li>
<rdf:li>triangle</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A jagged zig-zagging line above a downwards pointing triangle above a smoothly meandering line</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>