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

172 lines
5.8 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="svg2726"
height="64px"
width="64px">
<defs
id="defs2728">
<linearGradient
id="linearGradient3770">
<stop
style="stop-color:#258e7e;stop-opacity:1"
offset="0"
id="stop3772" />
<stop
style="stop-color:#94e2d5;stop-opacity:1"
offset="1"
id="stop3774" />
</linearGradient>
<linearGradient
id="linearGradient3760">
<stop
id="stop3762"
offset="0"
style="stop-color:#258e7e;stop-opacity:1" />
<stop
id="stop3764"
offset="1"
style="stop-color:#94e2d5;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="radialGradient3850-9"
xlink:href="#linearGradient3144-4" />
<linearGradient
id="linearGradient3144-4">
<stop
id="stop3146-2"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3148-0"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="-306.52237"
x2="-411.70007"
y1="-418.48642"
x1="-556.02374"
id="linearGradient3766"
xlink:href="#linearGradient3760" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="-461.80075"
x2="-385.55225"
y1="-559.67511"
x1="-506.27731"
id="linearGradient3768"
xlink:href="#linearGradient3770" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="-461.80075"
x2="-385.55225"
y1="-559.67511"
x1="-506.27731"
id="linearGradient3768-1"
xlink:href="#linearGradient3770-7" />
<linearGradient
id="linearGradient3770-7">
<stop
style="stop-color:#258e7e;stop-opacity:1"
offset="0"
id="stop3772-4" />
<stop
style="stop-color:#94e2d5;stop-opacity:1"
offset="1"
id="stop3774-0" />
</linearGradient>
</defs>
<g
id="layer1">
<g
transform="matrix(0.1621282,0,0,0.1621282,6.3605986,-66.108806)"
id="g4289">
<rect
transform="matrix(-0.84132762,-0.54052551,0.53359904,-0.84573759,0,0)"
y="-383.2905"
x="-599.68225"
height="60.013901"
width="285.04855"
id="rect3942-4-9"
style="color:#11111b;fill:url(#linearGradient3766);fill-opacity:1;fill-rule:nonzero;stroke:#103b35;stroke-width:12.33612482999999900;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<rect
transform="matrix(-0.84132761,-0.54052553,0.53359906,-0.84573758,0,0)"
y="-521.89862"
x="-599.61768"
height="62.080875"
width="285.73264"
id="rect3942-4-9-9"
style="color:#11111b;fill:url(#linearGradient3768);fill-opacity:1;fill-rule:nonzero;stroke:#103b35;stroke-width:12.33612480000000000;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
transform="matrix(6.1679584,0,0,6.1679584,-39.231908,407.75637)"
id="path3810"
d="M 10.016071,27.192847 45.636364,50.102273 42.409091,55.25 6.7713892,32.357176 z"
style="fill:none;stroke:#94e2d5;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3810-4"
d="M 96.368171,458.10747 316.07266,599.41185 296.16698,631.16282 76.355111,489.96083 z"
style="fill:none;stroke:#94e2d5;stroke-width:12.33591652;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
<metadata
id="metadata6591">
<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 Mar 12 17:20:03 2012 -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_Snap_Parallel.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:description>Two parallel lines at a slight angle</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>line</rdf:li>
<rdf:li>lines</rdf:li>
<rdf:li>parallel</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>