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

102 lines
7.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
fill-rule="evenodd"
stroke-linejoin="round"
stroke-width="28.222"
preserveAspectRatio="xMidYMid"
version="1.2"
viewBox="0 0 1694 1694"
xml:space="preserve"
id="svg82"
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/"><title
id="title7">TechDraw_Dimension_Angle</title><defs
id="defs59741"><linearGradient
id="linearGradient5"><stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop5" /><stop
style="stop-color:#f8c459;stop-opacity:1;"
offset="1"
id="stop6" /></linearGradient><rect
x="61.492918"
y="5.5774288"
width="4.9420253"
height="6.9894365"
id="rect2" /><rect
x="23.721723"
y="3.8124197"
width="15.108478"
height="10.731255"
id="rect1" /><linearGradient
xlink:href="#linearGradient3036"
id="linearGradient3919"
x1="9"
y1="50"
x2="5"
y2="38"
gradientUnits="userSpaceOnUse" /><linearGradient
id="linearGradient3036"><stop
id="stop3038"
offset="0"
style="stop-color:#bc8009;stop-opacity:1" /><stop
id="stop3040"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1" /></linearGradient><linearGradient
xlink:href="#linearGradient5"
id="linearGradient6"
x1="702.70618"
y1="249.06598"
x2="263.62314"
y2="591.93341"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.25335181,0.24744418)" /><linearGradient
xlink:href="#linearGradient5"
id="linearGradient10"
gradientUnits="userSpaceOnUse"
x1="702.70618"
y1="249.06598"
x2="263.62314"
y2="591.93341"
gradientTransform="translate(79.406241,-79.40624)" /></defs>
<metadata
id="metadata7"><rdf:RDF><cc:Work
rdf:about=""><dc:title>TechDraw_Dimension_Angle</dc:title></cc:Work></rdf:RDF></metadata><g
id="layer2"><g
id="g13-7"
transform="matrix(2.4612417,0,0,2.4940196,-2113.5219,-331.36993)"
style="display:inline;stroke-width:11.3909"><g
id="g9"
transform="matrix(0.99999469,0,0,1,64.530402,0)"
style="stroke-width:11.3909"><g
id="g5-6"
transform="matrix(0.39508032,0,0,0.38988928,859.6121,152.06586)"
style="stroke-width:11.7143"><path
style="font-size:847px;line-height:0px;font-family:Tahoma;-inkscape-font-specification:Tahoma;text-align:end;letter-spacing:26.4688px;word-spacing:0px;text-anchor:end;display:inline;opacity:1;fill:none;stroke:#664506;stroke-width:217.763;stroke-linecap:round;stroke-dasharray:none;stroke-dashoffset:5.4;paint-order:markers fill stroke"
d="m 767.33718,1447.8573 -1.53513,-176.2028 c -0.34143,-39.1892 -1.53516,-75.3276 -4.60542,-108.4106 -3.07027,-33.5921 -9.46666,-59.8041 -19.1892,-78.636 -10.23425,-20.3588 -24.81804,-35.3734 -43.75138,-45.0439 -18.93335,-9.6704 -44.51896,-14.5057 -76.7568,-14.5057 -29.67931,0 -61.66133,9.1616 -95.94602,27.4845 -33.77301,17.8139 -68.82529,43.7715 -105.15684,77.8725 0.51173,8.6524 0.75215,19.1005 1.53514,31.3016 0.75254,11.7266 -0.30155,-58.5196 1.53513,41.99 v 244.1504 c 0,-39.1906 -1.53513,-275.1977 -4.60539,-308.2808 -3.07028,-33.592 -9.46668,-59.804 -19.18922,-78.6359 -10.23423,-20.3589 -24.81802,-35.3735 -43.75137,-45.0439 -18.93334,-9.6704 -44.51895,-14.5056 -76.75682,-14.5056 -31.21444,0 -63.964,9.6705 -98.24869,29.0113 -34.28473,19.3409 -67.54601,44.0259 -99.783868,74.0552 l -1.53516,343.3997 -0.190551,-442.0349"
id="path2" /><path
style="font-size:847px;line-height:0px;font-family:Tahoma;-inkscape-font-specification:Tahoma;text-align:end;letter-spacing:26.4688px;word-spacing:0px;text-anchor:end;display:inline;opacity:1;fill:none;stroke:#f8c459;stroke-width:108.881;stroke-linecap:round;stroke-dasharray:none;stroke-dashoffset:5.4;paint-order:markers fill stroke"
d="m 767.33718,1447.8573 -1.53513,-176.2028 c -0.34143,-39.1892 -1.53516,-75.3276 -4.60542,-108.4106 -3.07027,-33.5921 -9.46666,-59.8041 -19.1892,-78.636 -10.23425,-20.3588 -24.81804,-35.3734 -43.75138,-45.0439 -18.93335,-9.6704 -44.51896,-14.5057 -76.7568,-14.5057 -29.67931,0 -61.66133,9.1616 -95.94602,27.4845 -33.77301,17.8139 -68.82529,43.7715 -105.15684,77.8725 0.51173,8.6524 0.75215,19.1005 1.53514,31.3016 0.75254,11.7266 -0.30155,-58.5196 1.53513,41.99 v 244.1504 c 0,-39.1906 -1.53513,-275.1977 -4.60539,-308.2808 -3.07028,-33.592 -9.46668,-59.804 -19.18922,-78.6359 -10.23423,-20.3589 -24.81802,-35.3735 -43.75137,-45.0439 -18.93334,-9.6704 -44.51895,-14.5056 -76.75682,-14.5056 -31.21444,0 -63.964,9.6705 -98.24869,29.0113 -34.28473,19.3409 -67.54601,44.0259 -99.783868,74.0552 l -1.53516,343.3997 -0.190551,-442.0349"
id="path4" /><path
style="font-size:847px;line-height:0px;font-family:Tahoma;-inkscape-font-specification:Tahoma;text-align:end;letter-spacing:26.4688px;word-spacing:0px;text-anchor:end;display:inline;opacity:1;fill:none;stroke:#f9e2af;stroke-width:54.4408;stroke-linecap:round;stroke-dasharray:none;stroke-dashoffset:5.4;paint-order:markers fill stroke"
d="m 740.86822,1421.3996 -1.53513,-176.2028 c -0.34143,-39.1892 -1.53516,-75.3276 -4.60542,-108.4106 -3.07027,-33.5921 -9.46666,-59.8041 -19.1892,-78.636 -10.23425,-20.3588 -24.81804,-35.3734 -43.75138,-45.0439 -18.93335,-9.6704 -44.51896,-14.50567 -76.7568,-14.50567 -29.67931,0 -61.66133,9.16157 -95.94602,27.48447 -33.77301,17.8139 -68.82529,43.7715 -105.15684,77.8725 0.51173,8.6524 0.75215,19.1005 1.53514,31.3016 0.75254,11.7266 -0.30155,-58.5196 1.53513,41.99 v 244.1504 c 0,-39.1906 -1.53513,-275.1977 -4.60539,-308.2808 -3.07028,-33.592 -9.46668,-59.804 -19.18922,-78.6359 -10.23423,-20.3589 -24.81802,-35.37347 -43.75137,-45.04387 -18.93334,-9.6704 -44.51895,-14.5056 -76.75682,-14.5056 -31.21444,0 -63.964,9.6705 -98.24869,29.01127 -34.28473,19.3409 -67.546011,44.0259 -99.783869,74.0552 l -1.53516,343.3997 -0.190551,-442.03487"
id="path6" /></g><g
id="g8-3"
transform="matrix(0.99999139,0,0,1,-16.112995,-57.517159)"
style="stroke-width:11.3909"><path
style="fill:none;stroke:#664506;stroke-width:85.4672;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:normal"
d="m 1230.0224,313.28491 c 0,0 29.3485,-19.56275 62.3662,-25.52568 23.6676,-4.27432 69.0895,-1.43331 82.536,46.75145 18.9996,68.08408 -172.5333,216.34002 -134.148,215.91254 38.3853,-0.42748 161.3134,0 161.3134,0"
id="path5" /><path
style="fill:none;stroke:#f8c459;stroke-width:42.7336;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:normal"
d="m 1230.0224,313.28491 c 0,0 29.3485,-19.56275 62.3662,-25.52568 23.6676,-4.27432 69.0895,-1.43331 82.536,46.75145 18.9996,68.08408 -172.5333,216.34002 -134.148,215.91254 38.3853,-0.42748 161.3134,0 161.3134,0"
id="path9" /><path
style="fill:none;stroke:#f9e2af;stroke-width:21.3668;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:normal"
d="m 1219.2697,307.23869 c 0,0 29.3485,-19.56275 62.3662,-25.52568 23.6676,-4.27432 69.0895,-1.43331 82.536,46.75145 18.9996,68.08408 -172.5333,216.34002 -134.148,215.91254 38.3853,-0.42748 161.3134,0 161.3134,0"
id="path7" /></g></g></g></g></svg>