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

173 lines
5.3 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
width="64"
height="64"
id="svg3085"
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="linearGradient5062">
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop5058" />
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="1"
id="stop5060" />
</linearGradient>
<linearGradient
id="linearGradient3836-0">
<stop
id="stop5008"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop5010"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient7597">
<stop
id="stop7599"
style="stop-color:#000003;stop-opacity:1"
offset="0" />
<stop
id="stop7601"
style="stop-color:#000003;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient3893">
<stop
id="stop3895"
style="stop-color:#cdd6f4;stop-opacity:1"
offset="0" />
<stop
id="stop3897"
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
x1="15.71482"
y1="22.299377"
x2="34.136208"
y2="22.299377"
id="linearGradient7603"
xlink:href="#linearGradient7597"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3836-0-3">
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop3838-2" />
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="1"
id="stop3840-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5064"
x1="33.055637"
y1="43.596096"
x2="42.195377"
y2="57.417107"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5088"
x1="43.818283"
y1="11.684036"
x2="59.806271"
y2="11.684036"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient145"
gradientUnits="userSpaceOnUse"
x1="43.818283"
y1="11.684036"
x2="59.806271"
y2="11.684036" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient147"
gradientUnits="userSpaceOnUse"
x1="33.055637"
y1="43.596096"
x2="42.195377"
y2="57.417107" />
</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="g2">
<path
style="fill:none;stroke:#313244;stroke-width:8;stroke-linejoin:round;stroke-dasharray:none"
d="M 9,59 V 5"
id="path1" />
<path
style="fill:none;stroke:#585b70;stroke-width:4;stroke-linejoin:round;stroke-dasharray:none"
d="M 9,59 V 5"
id="path2" />
<path
style="fill:none;stroke:#6c7086;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="M 8,59 V 5"
id="path5" />
</g>
<g
id="g4"
transform="translate(48)">
<path
style="fill:none;stroke:#313244;stroke-width:8;stroke-linejoin:round;stroke-dasharray:none"
d="M 7,59 V 5"
id="path3" />
<path
style="fill:none;stroke:#585b70;stroke-width:4;stroke-linejoin:round;stroke-dasharray:none"
d="M 7,59 V 5"
id="path4" />
<path
style="fill:none;stroke:#6c7086;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none"
d="M 6,59 V 5"
id="path6" />
</g>
<g
id="g6-8"
transform="translate(0.528267,2.2307492)"
style="display:inline">
<path
id="path5-6"
d="m 31.471733,2.7692508 v 6.75 m 0,4.5000002 v 13.5 m 0,4.5 v 13.5 m 0,4.5 v 6.75"
style="display:inline;fill:none;fill-rule:evenodd;stroke:#052459;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:5.4;stroke-opacity:1" />
<path
id="path1-4"
d="m 31.471733,2.7692508 v 6.75 m 0,4.5000002 v 13.5 m 0,4.5 v 13.5 m 0,4.5 v 6.75"
style="display:inline;fill:none;fill-rule:evenodd;stroke:#307bf7;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:5.4;stroke-opacity:1" />
<path
id="path7"
d="m 30.471733,2.7692508 v 6.75 m 0,4.5000002 v 13.5 m 0,4.5 v 13.5 m 0,4.5 v 6.75"
style="display:inline;fill:none;fill-rule:evenodd;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:5.4;stroke-opacity:1" />
</g>
</svg>