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

171 lines
6.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="svg2985"
height="64"
width="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/">
<title
id="title853">Draft_AddToLayer</title>
<defs
id="defs2987">
<linearGradient
xlink:href="#linearGradient14"
id="linearGradient13"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.66067504,0,0,0.63929414,18.06576,5.8678762)"
x1="27.753059"
y1="54.125957"
x2="13.901636"
y2="23.420826" />
<linearGradient
id="linearGradient14">
<stop
id="stop13"
offset="0"
style="stop-color:#6c7086;stop-opacity:1;" />
<stop
id="stop14"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3895"
id="linearGradient50"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-17,4)"
x1="42"
y1="41"
x2="62"
y2="31.000002" />
<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="linearGradient2"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-17,4)"
x1="42"
y1="41"
x2="62"
y2="31.000002" />
</defs>
<metadata
id="metadata5826">
<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_AddToLayer</dc:title>
<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_AddToLayer.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:subject>
<rdf:Bag>
<rdf:li>page</rdf:li>
<rdf:li>pages</rdf:li>
<rdf:li>rectangles</rdf:li>
<rdf:li>stack</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A layer with two arrows on top of it.</dc:description>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer2-0-1-9"
style="display:inline;stroke-width:0.653974"
transform="matrix(1.5298726,0,0,1.5283528,-16.689679,-5.8528404)">
<path
d="M 27.250224,20.840975 49.474498,30.001516 36.401715,40.470673 14.177442,31.310132 Z"
style="display:inline;overflow:visible;fill:url(#linearGradient13);fill-rule:evenodd;stroke:#1e1e2e;stroke-width:1.30795;stroke-linejoin:round;stroke-dasharray:none;marker:none;enable-background:accumulate"
id="path1-2-9-6-49-3" />
<path
id="path3-5-1-2-6"
style="display:inline;fill:none;stroke:#cdd6f4;stroke-width:1.30795;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
d="M 16.744141,30.928014 36.182843,38.974918 46.907452,30.385074 27.46875,22.33817 Z" />
</g>
<g
id="layer1-1-0"
transform="translate(-1.178643,7.4967296)">
<g
id="g28-29-9"
transform="translate(-11.821639,-17.496692)">
<g
transform="rotate(90,38,36)"
id="g4636-8-3-6">
<path
style="fill:url(#linearGradient2);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 38.000002,26.999894 v 7.999965 h -17 v 10 h 17 v 8 L 50.999983,39.999877 Z"
id="path3343-4-1-1-3" />
</g>
<path
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 42.357223,37.999998 H 37.000141 V 21.000002 h -6 V 37.999998 H 25.64264 l 8.357501,8.472469 z"
id="path3343-2-06-3-9-8" />
</g>
</g>
<g
id="layer1-1-1-5"
transform="rotate(180,32.589095,20.251625)">
<g
id="g28-29-7-6"
transform="translate(-11.821639,-17.496692)">
<g
transform="rotate(90,38,36)"
id="g4636-8-3-2-1">
<path
style="fill:url(#linearGradient50);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 38.000002,26.999894 v 7.999965 h -17 v 10 h 17 v 8 L 50.999983,39.999877 Z"
id="path3343-4-1-1-7-1" />
</g>
<path
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 42.357223,37.999998 H 37.000141 V 21.000002 h -6 V 37.999998 H 25.64264 l 8.357501,8.472469 z"
id="path3343-2-06-3-9-2-5" />
</g>
</g>
</svg>