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

203 lines
6.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg2816"
version="1.1"
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/">
<defs
id="defs2818">
<linearGradient
id="linearGradient3602">
<stop
style="stop-color:#e9aaaa;stop-opacity:1"
offset="0"
id="stop3604" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient3608-5"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-7">
<stop
style="stop-color:#cb5858;stop-opacity:1"
offset="0"
id="stop3604-1" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-3" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3602-5"
id="linearGradient3608-1"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-5">
<stop
style="stop-color:#cb5858;stop-opacity:1"
offset="0"
id="stop3604-9" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-9" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient3686"
xlink:href="#linearGradient3602-5" />
<linearGradient
xlink:href="#linearGradient3602-58"
id="linearGradient3608-8"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-58">
<stop
style="stop-color:#cb5858;stop-opacity:1"
offset="0"
id="stop3604-2" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-2" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient3726"
xlink:href="#linearGradient3602-58" />
<linearGradient
xlink:href="#linearGradient3602-1"
id="linearGradient3608"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-1">
<stop
style="stop-color:#e9aaaa;stop-opacity:1"
offset="0"
id="stop3604-22" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-1" />
</linearGradient>
<linearGradient
id="linearGradient3602-1-9">
<stop
style="stop-color:#e9aaaa;stop-opacity:1"
offset="0"
id="stop3604-22-5" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-1-4" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient8395"
xlink:href="#linearGradient3602-1-9" />
<linearGradient
id="linearGradient3602-1-2">
<stop
style="stop-color:#e9aaaa;stop-opacity:1"
offset="0"
id="stop3604-22-55" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-1-8" />
</linearGradient>
</defs>
<metadata
id="metadata2821">
<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>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2011-10-10</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/Sketcher/Gui/Resources/icons/Constraint_Perpendicular.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>
<g
id="g14"
transform="rotate(45,30.677727,31.452297)">
<path
id="rect1-7-5"
style="fill:#4c1313;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6"
d="m 30.849609,-2.1901975 c -1.107999,0 -2,0.892001 -2,2 V 37.5 H 5 c -1.1079989,0 -2,0.892001 -2,2 v 4 c 0,1.107999 0.8920011,2 2,2 h 54 c 1.107999,0 2,-0.892001 2,-2 v -4 c 0,-1.107999 -0.892001,-2 -2,-2 H 36.849609 V -0.1901975 c 0,-1.107999 -0.892001,-2 -2,-2 z" />
<path
id="rect1-7-3-0"
style="fill:#f2cdcd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6"
d="m 31.820312,-0.6452755 c -0.553999,0 -1,0.446 -1,1 V 39.470703 H 5.9648438 c -0.5539995,0 -1,0.446001 -1,1 v 2 c 0,0.554 0.4460005,1 1,1 H 58.455078 c 0.554,0 1,-0.446 1,-1 v -2 c 0,-0.553999 -0.446,-1 -1,-1 H 34.820312 V 0.3547245 c 0,-0.554 -0.446,-1 -1,-1 z" />
<path
id="rect3-1-9"
style="fill:#d76363;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
d="m 33.820312,-0.6452755 c -0.553999,0 -1,0.446 -1,1 V 41.470703 H 5.9648438 c -0.5539995,0 -1,0.446001 -1,1 0,0.554 0.4460005,1 1,1 H 58.455078 c 0.554,0 1,-0.446 1,-1 0,-0.553999 -0.446,-1 -1,-1 H 34.820312 V 0.3547245 c 0,-0.554 -0.446,-1 -1,-1 z" />
</g>
</svg>