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

199 lines
7.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
id="svg2869"
version="1.1"
viewBox="0 0 64 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="defs2871">
<linearGradient
xlink:href="#linearGradient3765"
id="linearGradient3771"
x1="98"
y1="1047.3622"
x2="81"
y2="993.36218"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-60,-988.36218)" />
<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
id="linearGradient3814">
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="0"
id="stop3816" />
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="1"
id="stop3818" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient919"
id="linearGradient921"
x1="156.11201"
y1="112.10596"
x2="143.52336"
y2="85.579796"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient919">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop915" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop917" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3814"
id="radialGradient3820-8"
cx="20.945665"
cy="24.73864"
fx="20.945665"
fy="24.73864"
r="26.352777"
gradientTransform="matrix(0.56579776,1.5556263,-1.400577,0.53125337,40.033725,-30.341495)"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata2874">
<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>[maxwxyz]</dc:title>
</cc:Agent>
</dc:creator>
<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/</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:date>2024</dc:date>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="g2"
style="display:inline">
<path
style="fill:url(#linearGradient3771);fill-opacity:1;stroke:#1e1e2e;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 11,3 v 58.00002 h 42 v -48 L 43,3 Z"
id="path2991" />
<path
style="fill:none;stroke:#cdd6f4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 13,5 V 59.00002 H 51 V 13.81392 L 41.99741,5 Z"
id="path3763" />
<path
style="fill:#1e1e2e;fill-opacity:0.392157;stroke:#1e1e2e;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 43,3 V 13.00002 H 53 Z"
id="path2993" />
</g>
<g
transform="matrix(0.60952727,0,0,0.50029644,-49.907082,-1.6810936)"
id="g3060-2"
style="display:inline;stroke-width:3.5;stroke-miterlimit:4;stroke-dasharray:none">
<path
style="fill:#0846b3;stroke:none"
d="M 181.76846,74.564006 V 110.8957 l -17.89251,14.53268 v -36.3317 z"
id="path3150-7-8" />
<path
style="fill:none;stroke:#307bf7;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 163.87595,121.79521 17.89251,-14.53268"
id="path3930-1" />
<path
style="fill:none;stroke:#307bf7;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 178.78637,114.52887 V 78.197173"
id="path3932-0" />
<path
style="fill:none;stroke:#307bf7;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 181.76846,78.197173 -17.89251,14.53268"
id="path3934-2" />
<path
style="fill:none;stroke:#307bf7;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 166.85803,85.463513 V 121.79521"
id="path3936-5" />
<path
style="fill:url(#linearGradient921);fill-opacity:1;stroke:none;stroke-width:3.50043;stroke-miterlimit:4;stroke-dasharray:none"
d="M 163.87595,125.42838 140.01927,110.8957 V 74.564003 l 23.85668,14.532677 z"
id="path3152-1-3" />
<path
style="fill:none;stroke:#89b4fa;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 160.89386,89.096683 V 121.79521"
id="path3938-2" />
<path
style="fill:none;stroke:#89b4fa;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 140.01927,107.26253 23.85668,14.53268"
id="path3940-4" />
<path
style="fill:none;stroke:#89b4fa;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 143.00136,110.8957 V 78.197173"
id="path3942-2" />
<path
style="fill:none;stroke:#052459;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 181.76846,74.564003 V 110.8957 l -17.89251,14.53268 V 89.096683 Z"
id="path3150-5" />
<path
style="fill:none;stroke:#89b4fa;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 163.87595,92.729853 140.01927,78.197173"
id="path3944-9" />
<path
style="fill:none;stroke:#052459;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 163.87595,125.42838 140.01927,110.8957 V 74.564003 l 23.85668,14.53268 z"
id="path3152-9" />
<path
style="fill:#89b4fa;stroke:#052459;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 181.76846,74.564003 -17.89251,14.53268 -23.85668,-14.53268 17.89251,-14.53268 23.85668,14.53268"
id="path3156-2" />
</g>
<g
id="g1"
transform="matrix(0.66677918,0,0,0.66666671,1.1313266,0.99999969)"
style="display:inline;stroke-width:1.49987">
<path
id="path3016"
d="M 3.0000003,23.948961 C 17.326599,51.762669 45.655264,52.220691 61.000004,24.096046 46.408481,-3.7721464 18.362981,-4.2411648 3.0000003,23.948961 Z"
style="fill:url(#radialGradient3820-8);fill-opacity:1;stroke:#1e1e2e;stroke-width:2.99975;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path3016-7"
d="M 5.0000005,23.953823 C 18.338557,49.118611 44.713521,49.533012 59.000001,24.086902 45.41479,-1.1271781 19.303465,-1.5515298 5.0000005,23.953823 Z"
style="fill:none;stroke:#45475a;stroke-width:2.99975;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:none;stroke:#1e1e2e;stroke-width:5.99949;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 16.300259,11.37523 46.028901,37.918662"
id="path906-2" />
</g>
</svg>