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

156 lines
6.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 16.933333 16.933334"
version="1.1"
id="svg2489"
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="defs2483">
<linearGradient
xlink:href="#linearGradient3995"
id="linearGradient3837-6-1"
x1="24.000002"
y1="994.36224"
x2="34.000004"
y2="1046.3622"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0,-1.6180007,1.546434,0,-1561.6965,1085.7741)" />
<linearGradient
id="linearGradient3995">
<stop
style="stop-color:#54d1bc;stop-opacity:1"
offset="0"
id="stop3997" />
<stop
style="stop-color:#94e2d5;stop-opacity:1"
offset="1"
id="stop3999" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4029"
id="linearGradient10861-3-6"
x1="28.000002"
y1="1006.3622"
x2="36.000004"
y2="1036.3622"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0,-1.6180007,1.546434,0,-1561.6965,1085.7741)" />
<linearGradient
id="linearGradient4029">
<stop
id="stop4031"
offset="0"
style="stop-color:#258e7e;stop-opacity:1" />
<stop
id="stop4033"
offset="1"
style="stop-color:#54d1bc;stop-opacity:1" />
</linearGradient>
</defs>
<metadata
id="metadata2486">
<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="layer1"
transform="translate(0.00625636,-289.92629)"
style="display:inline">
<g
id="g2"
transform="matrix(0.17571224,0,0,0.17401775,8.153627,291.77945)"
style="display:inline;stroke-width:1.51309">
<rect
style="display:inline;fill:#6c7086;stroke:#313244;stroke-width:3.02618;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:3.02618, 6.05235;stroke-dashoffset:0;stroke-opacity:1"
id="rect4138-7"
width="30.100899"
height="25.861834"
x="-17.786211"
y="25.073835" />
</g>
<g
transform="matrix(0.16352485,0,0,0.1710915,-0.64852025,123.81764)"
id="g169"
style="display:inline;stroke-width:1.58181">
<g
id="g9"
transform="matrix(1,0,0,0.99999259,5.8259774,-3.0142501)"
style="display:inline;stroke-width:1.58182">
<path
style="fill:none;stroke:#103b35;stroke-width:12.6546;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:17.7162"
d="m 44.271169,1048.0559 0.009,-3.084 m 0.05428,-18.5038 0.01809,-6.168 m 0.05428,-18.5038 0.009,-3.08396"
id="path4" />
<path
style="fill:none;stroke:#103b35;stroke-width:12.6546;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:11.2"
d="m 44.415922,998.71234 -5.824803,0 m -17.474408,0 h -5.824803"
id="path6" />
<path
style="fill:none;stroke:#103b35;stroke-width:12.6546;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:11.2"
d="m 44.415922,998.71234 -5.824803,0 m -17.474408,0 h -5.824803"
id="path8"
transform="translate(-0.144753,49.34356)" />
</g>
<path
style="fill:#94e2d5;stroke:#103b35;stroke-width:3.16364;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="m 23.343648,1037.3017 v 15.4644 l -14.5983592,-7.8037 z"
id="path3018-1-2-0" />
<path
style="display:inline;fill:#94e2d5;stroke:#103b35;stroke-width:3.16364;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="m 23.343632,987.88699 v 15.46441 L 8.7453048,995.69075 Z"
id="path3018-6-3" />
<g
id="g11"
transform="matrix(1,0,0,0.99999259,5.8259774,-3.0142501)"
style="display:inline;stroke-width:1.58182">
<path
style="fill:none;stroke:#94e2d5;stroke-width:6.32729;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:17.7162"
d="m 44.271169,1048.0559 0.009,-3.084 m 0.05428,-18.5038 0.01809,-6.168 m 0.05428,-18.5038 0.009,-3.08396"
id="path9" />
<path
style="fill:none;stroke:#94e2d5;stroke-width:6.32729;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:11.2"
d="m 44.415922,998.71234 -5.921794,0 m -17.765383,0 h -5.921794"
id="path10" />
<path
style="fill:none;stroke:#94e2d5;stroke-width:6.32729;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:11.2"
d="m 44.415922,998.71234 -5.892844,0 m -17.67853,0 h -5.892844"
id="path11"
transform="translate(-0.144753,49.34356)" />
</g>
</g>
<rect
style="font-variation-settings:normal;opacity:0.5;vector-effect:none;fill:#6c7086;fill-opacity:1;stroke:#313244;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:0.529167, 1.05833;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#11111b;stop-opacity:1"
id="rect18"
width="2.645833"
height="4.7624998"
x="13.487494"
y="299.71588" />
<rect
style="font-variation-settings:normal;display:inline;opacity:1;vector-effect:none;fill:#6c7086;fill-opacity:1;stroke:#313244;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:0.529167, 1.05833;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#11111b;stop-opacity:1"
id="rect17"
width="2.645833"
height="4.7624407"
x="13.487494"
y="296.14401" />
<path
d="m 15.339842,300.7257 0.793464,9e-5 -1.322917,-2.11669 -1.322916,2.11669 h 0.793271 v 1.63592 h 1.059098 z"
id="path3"
style="font-size:14.8167px;line-height:0px;text-align:end;text-anchor:end;display:inline;fill:#94e2d5;stroke:#103b35;stroke-width:0.529167;stroke-linecap:square;stroke-linejoin:round;stroke-dasharray:none"
aria-label="→" />
</g>
</svg>