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

392 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="linearGradient3880">
<stop
id="stop3882"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1" />
<stop
id="stop3884"
offset="1"
style="stop-color:#6c7086;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:#0048c8;stop-opacity:1" />
<stop
id="stop4099"
offset="1"
style="stop-color:#30a1e4;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>
<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="radialGradient4317"
xlink:href="#linearGradient3144-8" />
<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>
<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="21.430153"
x2="55.130848"
y1="21.430153"
x1="11.263056"
id="linearGradient4248"
xlink:href="#linearGradient4095" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="44"
x2="48"
y1="22"
x1="43"
id="linearGradient3909"
xlink:href="#linearGradient3895" />
<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="linearGradient3023"
gradientUnits="userSpaceOnUse"
x1="43"
y1="22"
x2="48"
y2="44"
gradientTransform="matrix(0.93570344,0.35278756,-0.35278756,0.93570344,13.795598,-24.167017)" />
<linearGradient
gradientTransform="matrix(0.99519621,0.09790048,-0.09790048,0.99519621,4.3300722,-2.6052795)"
gradientUnits="userSpaceOnUse"
y2="54"
x2="34"
y1="30"
x1="31"
id="linearGradient3886"
xlink:href="#linearGradient3880" />
</defs>
<g
id="layer1">
<path
id="path3343"
d="M 48.739034,5.0383997 45.211158,14.395434 24.625682,6.6341071 19.686656,19.733957 l 20.585476,7.761326 -3.527876,9.357036 22.840055,-9.556784 z"
style="fill:url(#linearGradient3023);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
id="path3343-2"
d="M 48.978634,10.090777 46.37699,16.972417 25.791513,9.21109 22.263638,18.568126 42.849115,26.329451 40.24748,33.211095 56.777189,26.237172 z"
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
id="path3074"
d="M 5.6837355,34.706483 58.053724,53.925856"
style="fill:none;stroke:#1e1e2e;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3074-1"
d="M 5.6837355,34.706483 58.053724,53.925856"
style="fill:none;stroke:url(#linearGradient3886);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3074-1-7"
d="M 5.781636,33.711287 58.151625,52.93066"
style="fill:none;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
</g>
<metadata
id="metadata5630">
<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 Aug 22 17:34:38 2016 -0300</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[Yorik van Havre]</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_Slope.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>line</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>An arrow pointing down and to the right parallel to a downwardly sloping line</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>