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

455 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
id="linearGradient3608"
x1="3.909091"
y1="14.363636"
x2="24.818181"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<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
id="linearGradient3787">
<stop
style="stop-color:#2168de;stop-opacity:1"
offset="0"
id="stop3789" />
<stop
style="stop-color:#7cacfa;stop-opacity:1"
offset="1"
id="stop3791" />
</linearGradient>
<linearGradient
y2="100.10708"
x2="609.54919"
y1="126.79625"
x1="581.26331"
gradientUnits="userSpaceOnUse"
id="linearGradient3524"
xlink:href="#linearGradient3602-58"
gradientTransform="matrix(1.3310616,0,0,1.2539521,-770.75488,-101.53511)" />
<linearGradient
id="linearGradient3144-6">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3146-9" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3148-2" />
</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="radialGradient3688"
xlink:href="#linearGradient3144-6" />
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#f8ca69;stop-opacity:1"
offset="0"
id="stop3379" />
<stop
style="stop-color:#f9d791;stop-opacity:1"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
id="linearGradient5048">
<stop
id="stop5050"
offset="0"
style="stop-color:black;stop-opacity:0" />
<stop
style="stop-color:black;stop-opacity:1"
offset="0.5"
id="stop5056" />
<stop
id="stop5052"
offset="1"
style="stop-color:black;stop-opacity:0" />
</linearGradient>
<radialGradient
id="aigrd2"
cx="20.892099"
cy="114.5684"
r="5.256"
fx="20.892099"
fy="114.5684"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
style="stop-color:#8c92ab"
id="stop15566" />
<stop
offset="1.0000000"
style="stop-color:#585b70;stop-opacity:1"
id="stop15568" />
</radialGradient>
<radialGradient
id="aigrd3"
cx="20.892099"
cy="64.567902"
r="5.257"
fx="20.892099"
fy="64.567902"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
style="stop-color:#8c92ab"
id="stop15573" />
<stop
offset="1.0000000"
style="stop-color:#585b70;stop-opacity:1"
id="stop15575" />
</radialGradient>
<linearGradient
id="linearGradient15662">
<stop
id="stop15664"
offset="0.0000000"
style="stop-color:#cdd6f4;stop-opacity:1" />
<stop
id="stop15666"
offset="1.0000000"
style="stop-color:#afb6d2;stop-opacity:1" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient259"
id="radialGradient4452"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.96049297,0,0,1.041132,-52.144249,-702.33158)"
cx="33.966679"
cy="35.736916"
fx="33.966679"
fy="35.736916"
r="86.70845" />
<linearGradient
id="linearGradient259">
<stop
id="stop260"
offset="0.0000000"
style="stop-color:#b7bfdc;stop-opacity:1" />
<stop
id="stop261"
offset="1.0000000"
style="stop-color:#595c71;stop-opacity:1" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient269"
id="radialGradient4454"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.96827297,0,0,1.032767,-48.790699,-701.68513)"
cx="8.824419"
cy="3.7561285"
fx="8.824419"
fy="3.7561285"
r="37.751713" />
<linearGradient
id="linearGradient269">
<stop
id="stop270"
offset="0.0000000"
style="stop-color:#585b70;stop-opacity:1" />
<stop
id="stop271"
offset="1.0000000"
style="stop-color:#2c2d3e;stop-opacity:1" />
</linearGradient>
<linearGradient
y2="1190.875"
x2="1267.9062"
y1="1190.875"
x1="901.1875"
gradientTransform="matrix(0.10456791,0,0,0.10456791,420.90006,-32.97638)"
gradientUnits="userSpaceOnUse"
id="linearGradient4937"
xlink:href="#linearGradient4095" />
<linearGradient
id="linearGradient4095">
<stop
id="stop4097"
offset="0"
style="stop-color:#5190f8;stop-opacity:1" />
<stop
id="stop4099"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="14.363636"
x2="24.818181"
y1="14.363636"
x1="3.909091"
id="linearGradient4396"
xlink:href="#linearGradient3602" />
<linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient4400"
gradientUnits="userSpaceOnUse"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636" />
<linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient4403"
gradientUnits="userSpaceOnUse"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636" />
<linearGradient
xlink:href="#linearGradient3787"
id="linearGradient4429"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.3180277,0,0,1.2416733,-743.43621,-121.30586)"
x1="581.26331"
y1="126.79625"
x2="609.54919"
y2="100.10708" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="14.363636"
x2="24.818181"
y1="14.363636"
x1="3.909091"
id="linearGradient4527"
xlink:href="#linearGradient3602" />
<linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient4531"
gradientUnits="userSpaceOnUse"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636" />
<linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient4534"
gradientUnits="userSpaceOnUse"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="14.363636"
x2="24.818181"
y1="14.363636"
x1="3.909091"
id="linearGradient3483"
xlink:href="#linearGradient3602" />
<linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient3487"
gradientUnits="userSpaceOnUse"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636" />
<linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient3490"
gradientUnits="userSpaceOnUse"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636" />
</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>[Abdullah Tahiri]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2015-05-26</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/Sketcher_ToggleConstraint.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>
<path
style="fill:none;stroke:#1e1e2e;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="M 10,15 49,54"
id="path1" />
<path
style="fill:none;stroke:#4c1313;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="M 28.062681,10.017527 51.975733,33.930579"
id="path1-2" />
<path
style="fill:#585b70;fill-opacity:1;stroke:#1e1e2e;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
d="M 5.86255,19.594564 14.733308,10.787544 4.2499852,9.249986 5.8625514,19.594566"
id="path4" />
<path
style="fill:#d76363;fill-opacity:1;stroke:#4c1313;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
d="M 26.36255,17.04941 35.233308,8.24239 24.749985,6.704832 26.362552,17.049412"
id="path4-5" />
<path
style="fill:#585b70;fill-opacity:1;stroke:#1e1e2e;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
d="m 52.63745,48.905436 -8.870758,8.80702 10.483323,1.537558 -1.612566,-10.34458"
id="path4-3" />
<path
style="fill:#585b70;stroke:#585b70;stroke-width:3;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="M 10,15 50,55"
id="path1-6" />
<path
style="fill:none;fill-opacity:1;stroke:#6c7086;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="M 11.196118,14.779366 49.285102,52.897069"
id="path3-30" />
<path
style="fill:none;fill-opacity:1;stroke:#6c7086;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="m 51.7746,51.550429 0.964299,6.277998"
id="path3-3" />
<path
style="fill:#d76363;fill-opacity:1;stroke:#4c1313;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
d="m 55.682604,28.905436 -8.870758,8.80702 10.483323,1.537558 -1.612566,-10.34458"
id="path4-3-3" />
<path
style="fill:none;fill-opacity:1;stroke:#6c7086;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="M 12.065815,11.660156 5.7550734,10.725712"
id="path3-3-6" />
<path
style="fill:#307bf7;fill-opacity:1;stroke:#d76363;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="M 29.438081,11.455427 53.351133,35.368479"
id="path1-6-4" />
<path
style="fill:#d76363;fill-opacity:1;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="m 31.207924,11.818486 21.10182,21.125693"
id="path3-30-9" />
<path
style="fill:#d76363;fill-opacity:1;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="m 54.813317,31.524913 0.979884,6.223134"
id="path3-3-5" />
<path
style="fill:#d76363;fill-opacity:1;stroke:#f2cdcd;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="m 26.224092,8.1789383 6.332271,0.9542009"
id="path3-3-5-6" />
</svg>