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

422 lines
18 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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg2676"
height="64px"
width="64px"
sodipodi:docname="BIM_DimensionHorizontal.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)">
<sodipodi:namedview
pagecolor="#cdd6f4"
bordercolor="#38394b"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1051"
id="namedview73"
showgrid="false"
inkscape:zoom="5.21875"
inkscape:cx="42.608619"
inkscape:cy="34.044587"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2676" />
<defs
id="defs2678">
<linearGradient
id="linearGradient4077">
<stop
id="stop4079"
offset="0"
style="stop-color:#45475a;stop-opacity:1;" />
<stop
id="stop4081"
offset="1"
style="stop-color:#1e1e2e;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3836-0">
<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
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientTransform="matrix(0.83309445,0,0,0.83309445,-2.4108426,2.7318647)"
gradientUnits="userSpaceOnUse"
id="linearGradient3105"
xlink:href="#linearGradient3836-0" />
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientTransform="matrix(0.83309445,0,0,0.83309445,-2.4108426,2.7318647)"
gradientUnits="userSpaceOnUse"
id="linearGradient3105-3"
xlink:href="#linearGradient3836-0-6" />
<linearGradient
id="linearGradient3836-0-6">
<stop
id="stop3838-2-7"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5-5"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientTransform="matrix(0.83309445,0,0,0.83309445,-2.4108426,2.7318647)"
gradientUnits="userSpaceOnUse"
id="linearGradient3105-1"
xlink:href="#linearGradient3836-0-2" />
<linearGradient
id="linearGradient3836-0-2">
<stop
id="stop3838-2-70"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5-9"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientTransform="matrix(0.83309445,0,0,0.83309445,-2.4108426,2.7318647)"
gradientUnits="userSpaceOnUse"
id="linearGradient3105-6"
xlink:href="#linearGradient3836-0-1" />
<linearGradient
id="linearGradient3836-0-1">
<stop
id="stop3838-2-8"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5-7"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3836-0-1"
id="linearGradient3246"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.83309445,0,0,0.83309445,-2.4108426,2.7318647)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientTransform="matrix(0.83309445,0,0,0.83309445,-2.4108426,2.7318647)"
gradientUnits="userSpaceOnUse"
id="linearGradient3105-2"
xlink:href="#linearGradient3836-0-3" />
<linearGradient
id="linearGradient3836-0-3">
<stop
id="stop3838-2-75"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5-92"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3836-0-3"
id="linearGradient3286"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.83309445,0,0,0.83309445,-2.4108426,2.7318647)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="30.174515"
x2="459.69397"
y1="34.613808"
x1="458.2142"
id="linearGradient4091"
xlink:href="#linearGradient4077" />
<linearGradient
y2="30.174515"
x2="459.69397"
y1="34.613808"
x1="458.2142"
gradientUnits="userSpaceOnUse"
id="linearGradient4093-8"
xlink:href="#linearGradient4077-9" />
<linearGradient
id="linearGradient4077-9">
<stop
id="stop4079-6"
offset="0"
style="stop-color:#45475a;stop-opacity:1;" />
<stop
id="stop4081-0"
offset="1"
style="stop-color:#1e1e2e;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="30.174515"
x2="459.69397"
y1="34.613808"
x1="458.2142"
gradientUnits="userSpaceOnUse"
id="linearGradient4093-4"
xlink:href="#linearGradient4077-0" />
<linearGradient
id="linearGradient4077-0">
<stop
id="stop4079-9"
offset="0"
style="stop-color:#45475a;stop-opacity:1;" />
<stop
id="stop4081-4"
offset="1"
style="stop-color:#1e1e2e;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4077-0"
id="linearGradient4145"
gradientUnits="userSpaceOnUse"
x1="458.2142"
y1="34.613808"
x2="459.69397"
y2="30.174515" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="643.28284"
x2="155.01889"
y1="675.04034"
x1="230.03166"
id="linearGradient3819"
xlink:href="#linearGradient4077-0" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="643.28284"
x2="155.01889"
y1="675.04034"
x1="230.03166"
id="linearGradient3819-1"
xlink:href="#linearGradient4077-0-2" />
<linearGradient
id="linearGradient4077-0-2">
<stop
id="stop4079-9-7"
offset="0"
style="stop-color:#45475a;stop-opacity:1;" />
<stop
id="stop4081-4-7"
offset="1"
style="stop-color:#1e1e2e;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4077-0-2"
id="linearGradient3836"
gradientUnits="userSpaceOnUse"
x1="230.03166"
y1="675.04034"
x2="155.01889"
y2="643.28284" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.9463094,0,0,0.9463094,-423.94991,-0.8705343)"
id="g3966">
<g
id="g3946">
<g
transform="matrix(0.8389287,0,0,0.8389287,70.961422,17.159235)"
id="g3801" />
<g
id="text3735"
style="font-size:22.51535797px;font-style:normal;font-weight:normal;fill:#cdd6f4;fill-opacity:1;stroke:#1e1e2e;stroke-width:2.11347365;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
transform="scale(0.89528422,1.1169637)">
<path
id="path3049"
style="font-variant:normal;font-weight:bold;font-stretch:normal;fill:#cdd6f4;stroke:#1e1e2e;font-family:Arial Black;-inkscape-font-specification:'Arial Black, Bold'"
d="m 512.20701,16.906952 3.54101,0 0,-9.4608002 -2.36067,0 0,-1.8921597 2.36067,-1.8921596 4.72135,0 0,13.2451195 2.36067,0 0,3.78432 -9.44269,0 0,-3.78432" />
<path
id="path3051"
style="font-variant:normal;font-weight:bold;font-stretch:normal;fill:#cdd6f4;stroke:#1e1e2e;font-family:Arial Black;-inkscape-font-specification:'Arial Black, Bold'"
d="m 526.37105,16.906952 5.90169,0 0,3.78432 -4.72135,0 0,-3.78432" />
<path
id="path3053"
style="font-variant:normal;font-weight:bold;font-stretch:normal;fill:#cdd6f4;stroke:#1e1e2e;font-family:Arial Black;-inkscape-font-specification:'Arial Black, Bold'"
d="m 544.56483,12.14907 c -10e-6,-2.052171 -0.19423,-3.4960276 -0.58267,-4.3315702 -0.38113,-0.8428467 -1.0261,-1.2642763 -1.93492,-1.2642901 -0.90883,1.38e-5 -1.55746,0.4214434 -1.9459,1.2642901 -0.38846,0.8355426 -0.58268,2.2793992 -0.58268,4.3315702 0,2.074175 0.19422,3.536353 0.58268,4.386537 0.38844,0.850192 1.03707,1.275287 1.9459,1.275284 0.90149,3e-6 1.54646,-0.425092 1.93492,-1.275284 0.38844,-0.850184 0.58266,-2.312362 0.58267,-4.386537 m 4.23262,0.03298 c -10e-6,2.719145 -0.58635,4.818964 -1.75901,6.299463 -1.17269,1.473173 -2.83642,2.209759 -4.9912,2.209759 -2.16212,0 -3.82952,-0.736586 -5.00219,-2.209759 -1.17267,-1.480499 -1.75901,-3.580318 -1.75901,-6.299463 0,-2.7264611 0.58634,-4.8262799 1.75901,-6.2994658 1.17267,-1.4804861 2.84007,-2.2207364 5.00219,-2.2207531 2.15478,1.67e-5 3.81851,0.740267 4.9912,2.2207531 1.17266,1.4731859 1.759,3.5730047 1.75901,6.2994658" />
<path
id="path3055"
style="font-variant:normal;font-weight:bold;font-stretch:normal;fill:#cdd6f4;stroke:#1e1e2e;font-family:Arial Black;-inkscape-font-specification:'Arial Black, Bold'"
d="m 562.79759,12.14907 c -10e-6,-2.052171 -0.19423,-3.4960278 -0.58267,-4.3315704 -0.38113,-0.8428467 -1.0261,-1.2642763 -1.93492,-1.2642901 -0.90883,1.38e-5 -1.55746,0.4214434 -1.9459,1.2642901 -0.38846,0.8355426 -0.58268,2.2793994 -0.58268,4.3315704 0,2.074175 0.19422,3.536353 0.58268,4.386537 0.38844,0.850192 1.03707,1.275287 1.9459,1.275284 0.90149,3e-6 1.54646,-0.425092 1.93492,-1.275284 0.38844,-0.850184 0.58266,-2.312362 0.58267,-4.386537 m 4.23262,0.03298 c -10e-6,2.719145 -0.58635,4.818964 -1.75901,6.299463 -1.17268,1.473173 -2.83642,2.209759 -4.9912,2.209759 -2.16212,0 -3.82952,-0.736586 -5.00219,-2.209759 -1.17267,-1.480499 -1.75901,-3.580318 -1.75901,-6.299463 0,-2.726461 0.58634,-4.8262801 1.75901,-6.299466 1.17267,-1.4804861 2.84007,-2.2207364 5.00219,-2.2207531 2.15478,1.67e-5 3.81852,0.740267 4.9912,2.2207531 1.17266,1.4731859 1.759,3.573005 1.75901,6.299466" />
</g>
<rect
y="35.79224"
x="455.40063"
height="23.248205"
width="4.2269473"
id="rect3151"
style="fill:#cdd6f4;fill-opacity:1;stroke:#1e1e2e;stroke-width:2.11347365;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<rect
y="35.79224"
x="504.01053"
height="23.248205"
width="4.2269473"
id="rect3151-2"
style="fill:#cdd6f4;fill-opacity:1;stroke:#1e1e2e;stroke-width:2.11347365;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<rect
y="31.565294"
x="456.45734"
height="4.2269483"
width="50.723419"
id="rect3151-2-9"
style="fill:#cdd6f4;fill-opacity:1;stroke:#1e1e2e;stroke-width:2.11347365;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<g
transform="translate(-0.54837935,1.7985813)"
id="g3095">
<g
transform="matrix(0.63422399,0,0,0.63422399,419.26594,-6.6998585)"
id="g3827-1">
<g
transform="translate(31.322131,40.570289)"
id="g3797-9">
<g
transform="matrix(1.0929417,0,0,1.0929417,50.053814,46.859677)"
id="g3101">
<path
d="M -25.459643,6.3070256 A 9.1609585,9.1605407 0.02042846 1 1 -11.54333,18.224065 9.1609585,9.1605407 0.02042846 1 1 -25.459643,6.3070256 z"
id="path4250-71"
style="fill:#f9e2af;stroke:#2e2900;stroke-width:3.04899836;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m -22.932948,8.4748746 a 5.8316609,5.8316612 0 1 1 8.858783,7.5865014 5.8316609,5.8316612 0 0 1 -8.858783,-7.5865014 z"
id="path4250-7-3"
style="fill:url(#linearGradient3105);fill-opacity:1;stroke:#f9e2af;stroke-width:3.04899716;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
<g
transform="matrix(1.0944996,0,0,1.0944996,126.74426,46.82392)"
id="g3101-9">
<path
d="M -25.459643,6.3070256 A 9.1609585,9.1605407 0.02042846 1 1 -11.54333,18.224065 9.1609585,9.1605407 0.02042846 1 1 -25.459643,6.3070256 z"
id="path4250-71-2"
style="fill:#f9e2af;stroke:#2e2900;stroke-width:3.04465842;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m -22.932948,8.4748746 a 5.8316609,5.8316612 0 1 1 8.858783,7.5865014 5.8316609,5.8316612 0 0 1 -8.858783,-7.5865014 z"
id="path4250-7-3-0"
style="fill:url(#linearGradient3246);fill-opacity:1;stroke:#f9e2af;stroke-width:3.04465723;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
<g
transform="matrix(1.0929417,0,0,1.0929417,88.374078,6.8354789)"
id="g3101-2">
<path
d="M -25.459643,6.3070256 A 9.1609585,9.1605407 0.02042846 1 1 -11.54333,18.224065 9.1609585,9.1605407 0.02042846 1 1 -25.459643,6.3070256 z"
id="path4250-71-8"
style="fill:#f9e2af;stroke:#2e2900;stroke-width:3.04899836;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m -22.932948,8.4748746 a 5.8316609,5.8316612 0 1 1 8.858783,7.5865014 5.8316609,5.8316612 0 0 1 -8.858783,-7.5865014 z"
id="path4250-7-3-9"
style="fill:url(#linearGradient3286);fill-opacity:1;stroke:#f9e2af;stroke-width:3.04899716;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
</g>
</g>
<g
style="fill:url(#linearGradient4091);fill-opacity:1;stroke:#11111b;stroke-width:2.95952702"
transform="matrix(0.71412546,0,0,0.71412546,121.83779,8.9601678)"
id="g3805">
<path
style="fill:url(#linearGradient3819);fill-opacity:1;stroke:#11111b;stroke-width:24.28617476999999880;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="path2901"
d="m 245.71428,655.2193 a 48.57143,48.57143 0 0 1 -48.57143,48.57143 48.57143,48.57143 0 0 1 -48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,48.57143 z"
transform="matrix(-0.09267867,-0.07912434,0.07912434,-0.09267867,436.47946,110.93746)" />
<path
style="fill:url(#linearGradient3836);fill-opacity:1;stroke:#11111b;stroke-width:24.28617477;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="path2901-9"
d="m 245.71428,655.2193 a 48.57143,48.57143 0 0 1 -48.57143,48.57143 48.57143,48.57143 0 0 1 -48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,48.57143 z"
transform="matrix(-0.09267867,-0.07912433,0.07912433,-0.09267867,504.54859,110.93745)" />
</g>
</g>
</g>
</g>
<metadata
id="metadata4038">
<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></dc:title>
<cc:license
rdf:resource="" />
<dc:date>Mon Oct 10 13:44:52 2011 +0000</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</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_Dimension.svg</dc:identifier>
<dc:relation>http://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>line</rdf:li>
<rdf:li>dot</rdf:li>
<rdf:li>number</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A number floating above a line corresponding to the upper three sides of a rectangle with a dot at each endpoint and corner</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>