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

150 lines
5.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="svg3612"
height="64"
width="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/">
<defs
id="defs1">
<linearGradient
id="linearGradient4680">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4676" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="1"
id="stop4678" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="54.889133"
x2="56.859715"
y1="10"
x1="7.421875"
id="linearGradient3961"
xlink:href="#linearGradient4680" />
<linearGradient
xlink:href="#linearGradient3765"
id="linearGradient3771"
x1="35"
y1="51"
x2="31"
y2="18"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3765">
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="0"
id="stop3767" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3769" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3774"
id="linearGradient4274"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(4.362888,0,0,4.698495,-3540.6062,-4138.7958)"
x1="820.69635"
y1="889.81598"
x2="817.02905"
y2="886.41058" />
<linearGradient
id="linearGradient3774">
<stop
style="stop-color:#359b2e;stop-opacity:1"
offset="0"
id="stop3776" />
<stop
style="stop-color:#a6e3a1;stop-opacity:1"
offset="1"
id="stop3778" />
</linearGradient>
</defs>
<g
id="layer1"
style="display:inline">
<path
id="rect15391"
d="M 19.578125,8 5.4042969,8.0058594 C 5.1706901,8.005955 4.9999125,8.2113736 5,8.4667969 V 55.617188 C 5.0003146,56.383475 5.677268,57.000287 6.5175781,57 L 57.5,56.982422 c 0.84031,-2.87e-4 1.517893,-0.618479 1.517578,-1.384766 L 59,16.382812 C 58.999685,15.616525 58.322732,14.999713 57.482422,15 H 25 Z"
style="color:#11111b;display:block;overflow:visible;visibility:visible;fill:url(#linearGradient3961);fill-opacity:1;fill-rule:nonzero;stroke:#1c5017;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" />
<path
id="rect15391-2"
d="M 18.578125,10 H 7.421875 C 7.1882682,10.000096 6.9999125,10.205514 7,10.460938 V 54 c 0,1 0,1 1,1 h 48 c 1,0 1,0 1,-1 V 18 c 0,-1 0,-1 -1,-1 H 24 Z"
style="color:#11111b;display:block;overflow:visible;visibility:visible;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none" />
</g>
<g
id="g4259"
style="stroke-width:59.8044;stroke-dasharray:none">
<path
id="rect4261"
style="opacity:1;fill:#a6e3a1;stroke:#1c5017;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="M 21,23 H 43 V 45 H 21 Z" />
<path
id="rect4263"
style="opacity:1;fill:url(#linearGradient4274);stroke-width:59.8044;stroke-linejoin:round;stroke-dasharray:none"
d="M 24,26 H 40 V 42 H 24 Z" />
</g>
<metadata
id="metadata4251">
<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 />
<cc:license
rdf:resource="" />
<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_SelectGroup.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:subject>
<rdf:Bag>
<rdf:li>arrow</rdf:li>
<rdf:li>page</rdf:li>
<rdf:li>shapes</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A cursor arrow pointing from left to right onto a folder with an square object on it</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="rotate(90,38.5,36.5)"
id="g4636"
style="display:inline">
<g
transform="matrix(0,0.54545355,0.54545355,0,31.90919,10.181783)"
id="g4147">
<path
id="path3761"
d="M 7,49 15,57 35,37 41,49 57,7 15,23 27,29 Z"
style="fill:url(#linearGradient3771);fill-opacity:1;stroke:#1e1e2e;stroke-width:3.66667;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path3763"
d="M 10.962357,49 31.571972,28.196969 21.91667,23.314394 52.305932,11.59872 40.631925,42.093042 35.82706,32.778233 15.095348,53.132991 Z"
style="fill:none;stroke:#cdd6f4;stroke-width:1.83334;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>