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

163 lines
6.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="64"
width="64"
version="1.1"
id="svg3542"
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="title854">TechDraw_TreeHatch</title>
<metadata
id="metadata3552">
<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>TechDraw_TreeHatch</dc:title>
<dc:creator>
<cc:Agent>
<dc:title>[WandererFan]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>TechDraw_TreeHatch</dc:title>
<dc:date>2016-04-27</dc:date>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_TreeHatch.svg</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs3544">
<linearGradient
id="linearGradient3807">
<stop
id="stop3809"
offset="0"
style="stop-color:#6c7086;stop-opacity:1" />
<stop
id="stop3811"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:1" />
</linearGradient>
<pattern
height=".1"
width=".1"
y="0"
x="0"
patternUnits="userSpaceOnUse"
id="cross">
<g
id="g3382"
style="fill:none; stroke:#11111b; stroke-width:.005">
<path
id="path3384"
d="M0,0 l.12,.12" />
<path
id="path3386"
d="M.12,0 l-.12,.12" />
</g>
</pattern>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="10"
x2="37"
y1="59"
x1="44"
id="linearGradient3813"
xlink:href="#linearGradient3807"
gradientTransform="matrix(1.1153846,0,0,1.1153846,-3.6923083,-3.6923079)" />
</defs>
<g
id="layer1"
transform="matrix(0.89655174,0,0,0.89655174,3.3103455,3.3103451)"
style="stroke-width:1.11538">
<path
id="rect4151"
d="M 35.076292,3.0000001 V 34.101014 H 2.9999997 V 60.999999 H 60.999999 V 3.0000001 Z"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3813);fill-opacity:1;fill-rule:nonzero;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
id="rect4151-7"
d="M 37,5.043883 V 36 L 5,35.956117 V 59 H 59 V 5 Z"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#cdd6f4;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
id="path2998"
d="M 61.000002,3.0000001 35.236175,29.031718"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3000"
d="M 46.500002,3.0000001 34.886928,14.676216"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3002"
d="M 17.500001,61 61.000002,17.5"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3008"
d="M 61.000002,32 32.000001,61"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3010"
d="m 61.000002,46.5 -14.5,14.5"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3683"
d="M 34.255503,34.066075 61.000002,61"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3685"
d="M 34.990454,20.616739 61.000002,46.5"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3687"
d="M 35.157122,5.9676942 61.000002,32"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3689"
d="M 46.500002,3.0000001 61.000002,17.5"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3691"
d="M 19.35389,34.043317 46.500002,61"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3693"
d="M 5.1468426,34.273128 32.000001,61"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3695"
d="M 3,46.5 17.500001,61"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3000-3"
d="M 16.002207,33.93979 3,46.5"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path2998-6"
d="M 29.746093,34.343205 3,61"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>