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

401 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">
<title
id="title899">Draft_Split</title>
<defs
id="defs3614">
<linearGradient
id="linearGradient3836">
<stop
id="stop3838"
offset="0"
style="stop-color:#307bf7;stop-opacity:1;" />
<stop
id="stop3840"
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>
<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
gradientUnits="userSpaceOnUse"
y2="57"
x2="34"
y1="6"
x1="30"
id="linearGradient3900"
xlink:href="#linearGradient3895-6"
gradientTransform="matrix(-4.1019476,3.5128061,-3.5129662,-4.1021347,429.5903,607.18857)" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="57"
x2="34"
y1="6"
x1="30"
id="linearGradient3900-2"
xlink:href="#linearGradient3895-6"
gradientTransform="matrix(-4.1019476,3.5128061,-3.5129662,-4.1021347,380.37293,649.40717)" />
</defs>
<g
id="layer1">
<g
id="g5199"
transform="translate(-127.44439,-128.22016)">
<g
transform="translate(0,-21)"
id="g3912">
<g
id="g3856"
transform="translate(0,13.01548)">
<rect
transform="translate(127.44439,128.22016)"
y="37"
x="3"
height="6"
width="58"
id="rect3852"
style="fill:#cdd6f4;fill-opacity:1;stroke:#1e1e2e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
transform="translate(127.44439,128.22016)"
id="path3854"
d="M 59,41 H 5"
style="fill:none;stroke:#585b70;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
transform="matrix(1.2349522,0.01894995,-0.0189508,1.2348959,-7.1881028,-111.34439)"
id="g4312"
style="stroke:#307bf7;stroke-width:0.8096711">
<g
id="g4248"
transform="matrix(-0.1153544,-0.09575809,0.09575809,-0.1153544,98.667777,319.83687)"
style="stroke:#307bf7;stroke-width:0.8096711">
<g
style="stroke-width:0.8096711"
id="g3906"
transform="translate(-3.7314339,-3.2817175)">
<path
id="path3087"
d="M 101.60188,489.87883 270.22425,686.7813"
style="fill:none;stroke:#052459;stroke-width:43.20526505;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3087-6"
d="M 101.60188,489.87883 270.22425,686.7813"
style="fill:none;stroke:url(#linearGradient3900);stroke-width:21.60263252;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3087-6-2"
d="M 105.70382,486.36603 274.3262,683.26849"
style="fill:none;stroke:#89b4fa;stroke-width:10.80131626;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3087-3"
d="M 52.384508,532.09743 221.00688,728.99989"
style="fill:none;stroke:#052459;stroke-width:43.20526505;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3087-6-3"
d="M 52.384508,532.09743 221.00688,728.99989"
style="fill:none;stroke:url(#linearGradient3900-2);stroke-width:21.60263252;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3087-6-2-1"
d="M 56.486448,528.58463 225.10882,725.48708"
style="fill:none;stroke:#89b4fa;stroke-width:10.80131626;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</g>
</g>
</g>
</g>
<metadata
id="metadata3120">
<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>Draft_Split</dc:title>
<cc:license
rdf:resource="" />
<dc:date>Tue Jan 29, 2019 9:26 am </dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[bitacovir]</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_Split.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>line</rdf:li>
<rdf:li>vertical lines</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>One horizontal line. Two vertical lines, perpendicular to the first one, placed close to the midpoint of the first one</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>