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

205 lines
6.0 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"
width="64px"
height="64px"
id="svg2985"
version="1.1">
<title
id="title889">Std_CloseActiveWindow</title>
<defs
id="defs2987">
<linearGradient
id="linearGradient893">
<stop
id="stop889"
offset="0"
style="stop-color:#b44908;stop-opacity:1;" />
<stop
id="stop891"
offset="1"
style="stop-color:#fab387;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient4387">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4389" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop4391" />
</linearGradient>
<linearGradient
id="linearGradient6321">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop6323" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop6325" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3377"
id="radialGradient3692"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-0.23443224,0.23443198)" />
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#f9d791;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#f8ca69;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3377-3">
<stop
id="stop3379-8"
offset="0"
style="stop-color:#f9d791;stop-opacity:1;" />
<stop
id="stop3381-3"
offset="1"
style="stop-color:#f8ca69;stop-opacity:1;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3377-3"
id="radialGradient6412"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.67067175,0,0,0.64145918,-63.380792,0.83845403)"
cx="45.883327"
cy="28.869568"
fx="45.883327"
fy="28.869568"
r="19.467436" />
<linearGradient
id="linearGradient3036">
<stop
id="stop3038"
offset="0"
style="stop-color:#f2cdcd;stop-opacity:1" />
<stop
id="stop3040"
offset="1"
style="stop-color:#912424;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="28"
x2="7"
y1="9"
x1="47"
id="linearGradient2095"
xlink:href="#linearGradient1189"
gradientTransform="matrix(0.96812402,0,0,0.96755864,-0.72057496,-2.6783592)" />
<linearGradient
id="linearGradient1189">
<stop
id="stop1185"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop1187"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="17.486736"
x2="16.006361"
y1="37.19397"
x1="46.529083"
id="linearGradient895"
xlink:href="#linearGradient893" />
</defs>
<metadata
id="metadata2990">
<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>Std_CloseActiveWindow</dc:title>
<dc:creator>
<cc:Agent>
<dc:title>[bitacovir]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Part_Shape_from_Mesh</dc:title>
<dc:date>2020/11/28</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 />
<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 />
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>cross</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>orange box with a cross</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<g
id="g1632">
<rect
style="fill:url(#linearGradient895);fill-opacity:1;fill-rule:evenodd;stroke:#912424;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="rect864"
width="40.202198"
height="40.202198"
x="11.777025"
y="11.860861" />
<rect
style="fill:none;fill-rule:evenodd;stroke:#fab387;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter"
id="rect870"
width="36.188057"
height="36.253456"
x="13.777622"
y="13.821222"
ry="0" />
<path
style="fill:none;stroke:#cdd6f4;stroke-width:6;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 21.276835,21.015235 42.64087,42.55367"
id="path872" />
<path
id="path872-2"
d="M 42.582913,20.971634 21.218878,42.510069"
style="fill:none;stroke:#cdd6f4;stroke-width:6;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>