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

179 lines
5.9 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="svg3085"
height="64"
width="64"
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="defs3087">
<linearGradient
id="linearGradient3836-0">
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop5008" />
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="1"
id="stop5010" />
</linearGradient>
<linearGradient
id="linearGradient7597">
<stop
offset="0"
style="stop-color:#000003;stop-opacity:1"
id="stop7599" />
<stop
offset="1"
style="stop-color:#000003;stop-opacity:0"
id="stop7601" />
</linearGradient>
<linearGradient
id="linearGradient3893">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3895" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3897" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
xlink:href="#linearGradient7597"
id="linearGradient7603"
y2="22.299377"
x2="34.136208"
y1="22.299377"
x1="15.71482" />
<linearGradient
id="linearGradient3836-0-3">
<stop
id="stop3838-2"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<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
xlink:href="#linearGradient5"
id="linearGradient6"
x1="32"
y1="27.564453"
x2="31.993704"
y2="54.267689"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,-10)" />
<linearGradient
id="linearGradient5">
<stop
style="stop-color:#585b70;stop-opacity:1"
offset="0"
id="stop5" />
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="1"
id="stop6" />
</linearGradient>
</defs>
<metadata
id="metadata3090">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer3"
style="display:inline">
<g
id="layer3-3"
style="display:inline">
<g
id="g11">
<g
id="g9">
<path
style="display:inline;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="display:inline;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="display:inline;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
id="g10">
<path
style="display:inline;fill:none;fill-rule:evenodd;stroke:#45475a;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="M 16.204604,44.26769 H 37.483376"
id="path2" />
<path
style="fill:none;fill-rule:evenodd;stroke:#45475a;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="M 16.204604,49.26769 H 45.776642"
id="path3" />
<path
style="fill:none;fill-rule:evenodd;stroke:#45475a;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="M 16.204604,54.26769 H 33.391305"
id="path4" />
<path
style="display:inline;fill:none;fill-rule:evenodd;stroke:#45475a;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="M 16.204604,38.26769 H 41.061006"
id="path1" />
</g>
</g>
<path
id="rect1"
style="display:inline;fill:#6c7086;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="m 9,17.564453 c -2.7699972,0 -5,2.230003 -5,5 V 40 c 0,2.769997 2.2300028,5 5,5 h 2 V 33.376953 H 53 V 45 h 2 c 2.769997,0 5,-2.230003 5,-5 V 22.564453 c 0,-2.769997 -2.230003,-5 -5,-5 z" />
<path
id="path5"
style="display:inline;fill:url(#linearGradient6);fill-rule:evenodd;stroke:#6c7086;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="m 9,19.564453 h 46 c 1.663036,0 3,1.336964 3,3 V 40 c 0,1.663036 -1.336964,3 -3,3 V 31.376953 H 9 V 43 C 7.3369634,43 6,41.663036 6,40 V 22.564453 c 0,-1.663036 1.3369634,-3 3,-3 z" />
<circle
style="fill:#a6e3a1;fill-rule:evenodd;stroke:#359b2e;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
id="path6"
cx="12"
cy="25.142025"
r="2.3704059" />
</g>
</g>
</svg>