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

162 lines
6.3 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="svg3542"
version="1.1"
width="64"
height="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="title1">TechDraw_Hatch</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:creator>
<cc:Agent>
<dc:title>[WandererFan]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>TechDraw_Hatch</dc:title>
<dc:date>2016-01-14</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/actions/TechDraw_Hatch.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
style="stop-color:#6c7086;stop-opacity:1"
offset="0"
id="stop3809" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3811" />
</linearGradient>
<pattern
id="cross"
patternUnits="userSpaceOnUse"
x="0"
y="0"
width=".1"
height=".1">
<g
style="fill:none; stroke:#11111b; stroke-width:.005"
id="g3382">
<path
d="M0,0 l.12,.12"
id="path3384" />
<path
d="M.12,0 l-.12,.12"
id="path3386" />
</g>
</pattern>
<linearGradient
xlink:href="#linearGradient3807"
id="linearGradient3813"
x1="44"
y1="59"
x2="37"
y2="10"
gradientUnits="userSpaceOnUse"
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
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3813);fill-opacity:1;fill-rule:nonzero;stroke:#313244;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"
d="M 35.076292,3.0000001 V 34.101014 H 2.9999997 V 60.999999 H 60.999999 V 3.0000001 Z"
id="rect4151" />
<path
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"
d="M 37,5.043883 V 36 L 5,35.956117 V 59 H 59 V 5 Z"
id="rect4151-7" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 61.000002,3.0000001 35.236175,29.031718"
id="path2998" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 46.500002,3.0000001 34.886928,14.676216"
id="path3000" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 17.500001,61 61.000002,17.5"
id="path3002" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 61.000002,32 32.000001,61"
id="path3008" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 61.000002,46.5 -14.5,14.5"
id="path3010" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 34.255503,34.066075 61.000002,61"
id="path3683" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 34.990454,20.616739 61.000002,46.5"
id="path3685" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 35.157122,5.9676942 61.000002,32"
id="path3687" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 46.500002,3.0000001 61.000002,17.5"
id="path3689" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 19.35389,34.043317 46.500002,61"
id="path3691" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 5.1468426,34.273128 32.000001,61"
id="path3693" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 3,46.5 17.500001,61"
id="path3695" />
<path
style="fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 16.002207,33.93979 3,46.5"
id="path3000-3" />
<path
style="display:inline;fill:none;stroke:#0846b3;stroke-width:2.23077;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 29.746093,34.343205 3,61"
id="path2998-6" />
</g>
</svg>