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

324 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="svg2735"
height="64px"
width="64px">
<title
id="title881">Draft_Dimension_Tree</title>
<defs
id="defs2737">
<linearGradient
id="linearGradient5127">
<stop
id="stop5129"
offset="0"
style="stop-color:#f9e2af;stop-opacity:1" />
<stop
id="stop5131"
offset="1"
style="stop-color:#bc8009;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0,0.59069328,-0.37332419,0,46.495675,-286.65322)"
gradientUnits="userSpaceOnUse"
y2="-14.744089"
x2="566.54315"
y1="6.6850076"
x1="515.75537"
id="linearGradient5133"
xlink:href="#linearGradient5127" />
<linearGradient
y2="97.758667"
x2="566.54315"
y1="70.972298"
x1="515.75537"
gradientTransform="matrix(0,0.59069328,0.37332419,0,17.504325,-286.65322)"
gradientUnits="userSpaceOnUse"
id="linearGradient1022"
xlink:href="#linearGradient5127" />
<linearGradient
id="linearGradient3836">
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="0"
id="stop3838" />
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="1"
id="stop3840" />
</linearGradient>
<linearGradient
id="linearGradient3144-6">
<stop
id="stop3146-9"
style="stop-color:#cdd6f4;stop-opacity:1"
offset="0" />
<stop
id="stop3148-2"
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3144-6"
id="radialGradient3688"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
cx="225.26402"
cy="672.79736"
fx="225.26402"
fy="672.79736"
r="34.345188" />
<linearGradient
id="linearGradient3864-0-0">
<stop
id="stop3866-5-7"
offset="0"
style="stop-color:#2168de;stop-opacity:1;" />
<stop
id="stop3868-7-6"
offset="1"
style="stop-color:#7cacfa;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#f8ca69;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#f9d791;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient5048">
<stop
style="stop-color:black;stop-opacity:0;"
offset="0"
id="stop5050" />
<stop
id="stop5056"
offset="0.5"
style="stop-color:black;stop-opacity:1;" />
<stop
style="stop-color:black;stop-opacity:0;"
offset="1"
id="stop5052" />
</linearGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
fy="114.5684"
fx="20.892099"
r="5.256"
cy="114.5684"
cx="20.892099"
id="aigrd2">
<stop
id="stop15566"
style="stop-color:#8c92ab"
offset="0" />
<stop
id="stop15568"
style="stop-color:#585b70;stop-opacity:1.0000000;"
offset="1.0000000" />
</radialGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
fy="64.567902"
fx="20.892099"
r="5.257"
cy="64.567902"
cx="20.892099"
id="aigrd3">
<stop
id="stop15573"
style="stop-color:#8c92ab"
offset="0" />
<stop
id="stop15575"
style="stop-color:#585b70;stop-opacity:1.0000000;"
offset="1.0000000" />
</radialGradient>
<linearGradient
id="linearGradient15662">
<stop
style="stop-color:#cdd6f4;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop15664" />
<stop
style="stop-color:#afb6d2;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop15666" />
</linearGradient>
<radialGradient
r="86.70845"
fy="35.736916"
fx="33.966679"
cy="35.736916"
cx="33.966679"
gradientTransform="matrix(0.96049297,0,0,1.041132,-52.144249,-702.33158)"
gradientUnits="userSpaceOnUse"
id="radialGradient4452"
xlink:href="#linearGradient259" />
<linearGradient
id="linearGradient259">
<stop
style="stop-color:#b7bfdc;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop260" />
<stop
style="stop-color:#595c71;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop261" />
</linearGradient>
<radialGradient
r="37.751713"
fy="3.7561285"
fx="8.824419"
cy="3.7561285"
cx="8.824419"
gradientTransform="matrix(0.96827297,0,0,1.032767,-48.790699,-701.68513)"
gradientUnits="userSpaceOnUse"
id="radialGradient4454"
xlink:href="#linearGradient269" />
<linearGradient
id="linearGradient269">
<stop
style="stop-color:#585b70;stop-opacity:1.0000000;"
offset="0.0000000"
id="stop270" />
<stop
style="stop-color:#2c2d3e;stop-opacity:1.0000000;"
offset="1.0000000"
id="stop271" />
</linearGradient>
<linearGradient
id="linearGradient4095">
<stop
style="stop-color:#5190f8;stop-opacity:1;"
offset="0"
id="stop4097" />
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="1"
id="stop4099" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4247"
id="linearGradient4253"
x1="394.15784"
y1="185.1304"
x2="434.73947"
y2="140.22731"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.94231826,0,0,0.94231826,23.727549,8.8262536)" />
<linearGradient
id="linearGradient4247">
<stop
style="stop-color:#308c29;stop-opacity:1;"
offset="0"
id="stop4249" />
<stop
style="stop-color:#89da82;stop-opacity:1;"
offset="1"
id="stop4251" />
</linearGradient>
</defs>
<g
id="layer1">
<g
id="g1014">
<path
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5133);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate;stroke-dasharray:none"
d="M 61,32 41.888729,51.000139 V 12.999857 Z"
id="path2644-2" />
<path
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:#f9e2af;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="M 58.132908,32.00363 43.85,46.210559 V 17.796701 Z"
id="path2644-2-3" />
</g>
<g
transform="matrix(-1,0,0,1,64,0)"
id="g1020">
<path
id="path1016"
d="M 61,32 41.888729,51.000139 V 12.999857 Z"
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient1022);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate;stroke-dasharray:none" />
<path
id="path1018"
d="M 58.132908,32.00363 43.85,46.210559 V 17.796701 Z"
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:#f9e2af;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
</g>
<g
style="fill:#333333;fill-opacity:1"
id="g3856"
transform="translate(-105.44439,-136.22016)">
<rect
y="163.22015"
x="131.4444"
height="8.999999"
width="11.999999"
id="rect3852"
style="fill:none;fill-opacity:1;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="fill:none;fill-opacity:1;stroke:#888d81;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1320"
width="7.9999971"
height="5.0000086"
x="133.4444"
y="165.22015" />
</g>
</g>
<metadata
id="metadata4610">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Draft_Dimension_Tree</dc:title>
<cc:license
rdf:resource="" />
<dc:date>Wed Oct 6 12:19:00 2019 -0600</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[vocx]</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_Dimenstion_Tree</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson, [yorikvanhavre]</dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>triangle</rdf:li>
<rdf:li>arrows</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Two triangles, one pointing left, the other right, with a small line between the two</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>