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

326 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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"
width="64px"
height="64px"
id="svg2980"
sodipodi:version="0.32"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="BIM_Library.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs
id="defs2982">
<linearGradient
inkscape:collect="always"
id="linearGradient3794">
<stop
style="stop-color:#11111b;stop-opacity:1;"
offset="0"
id="stop3796" />
<stop
style="stop-color:#11111b;stop-opacity:0;"
offset="1"
id="stop3798" />
</linearGradient>
<linearGradient
id="linearGradient3864">
<stop
id="stop3866"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3868"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2988" />
<linearGradient
gradientTransform="matrix(0.75765772,0,0,0.75765772,-89.199084,-33.810306)"
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient3773"
x1="22.116516"
y1="55.717518"
x2="17.328547"
y2="21.31134"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient3767">
<stop
style="stop-color:#f8c459;stop-opacity:1"
offset="0"
id="stop3769" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3771" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3794"
id="radialGradient3800"
cx="1"
cy="45"
fx="1"
fy="45"
r="41"
gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3836"
id="linearGradient3801"
gradientUnits="userSpaceOnUse"
x1="-18"
y1="18"
x2="-22"
y2="5"
gradientTransform="translate(9.5405594,19.268189)" />
<linearGradient
id="linearGradient3836">
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop3838" />
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="1"
id="stop3840" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.75765772,0,0,0.75765772,-1.5153152,-12.122538)"
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient3773-3"
x1="22.116516"
y1="55.717518"
x2="17.328547"
y2="21.31134"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient942-3"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.75765772,0,0,0.75765772,-89.915016,-47.042436)"
x1="143.82298"
y1="83.226967"
x2="174.14563"
y2="69.201591" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient942-2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.76670529,0,0,0.7462195,-192.32748,-79.262663)"
x1="143.82298"
y1="83.226967"
x2="174.14563"
y2="69.201591" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient942-7"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.75765772,0,0,0.75765772,-194.61624,-80.316077)"
x1="143.82298"
y1="83.226967"
x2="174.14563"
y2="69.201591" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient1006"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.76670529,0,0,0.7462195,-177.58469,-65.240465)"
x1="143.82298"
y1="83.226967"
x2="174.14563"
y2="69.201591" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient1008"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.76670529,0,0,0.7462195,-177.58469,-65.240465)"
x1="266.08658"
y1="151.31798"
x2="256.82117"
y2="150.10181" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient1010"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.76670529,0,0,0.7462195,-177.58469,-65.240465)"
x1="258.86884"
y1="135.8121"
x2="174.14563"
y2="69.201591" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient1012"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.67980191,-0.34507757,0,0.7462195,-157.45225,14.701815)"
x1="287.88324"
y1="178.38518"
x2="327.0863"
y2="174.98338" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient1014"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.68260382,-0.33979766,0,0.7462195,-158.10134,13.478645)"
x1="265.42764"
y1="138.15128"
x2="313.19257"
y2="132.29312" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3767"
id="linearGradient1016"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.76250274,0,0,0.7462195,-176.60714,-65.223621)"
x1="143.82298"
y1="83.226967"
x2="174.14563"
y2="69.201591" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#cdd6f4"
bordercolor="#38394b"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4.2166862"
inkscape:cx="53.803129"
inkscape:cy="16.183098"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1920"
inkscape:window-height="1051"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:snap-bbox="true"
inkscape:snap-nodes="true"
inkscape:window-maximized="1"
inkscape:snap-global="false"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:object-paths="true">
<inkscape:grid
type="xygrid"
id="grid2991"
empspacing="2"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata2985">
<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>
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Part_Box</dc:title>
<dc:date>2011-10-10</dc:date>
<dc:relation>http://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/Part/Gui/Resources/icons/Part_Box.svg</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="color:#11111b;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#11111b;solid-opacity:1;vector-effect:none;fill:url(#linearGradient1016);fill-opacity:1;fill-rule:nonzero;stroke:#664506;stroke-width:1.59887278;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="rect836-6"
width="23.014126"
height="38.475353"
x="9.9949417"
y="15.949123"
transform="matrix(0.89521491,-0.44563468,0,1,0,0)" />
<path
style="color:#11111b;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#11111b;solid-opacity:1;vector-effect:none;fill:url(#linearGradient1014);fill-opacity:1;fill-rule:nonzero;stroke:#664506;stroke-width:1.51278627;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 42.857422 6.6621094 L 22.253906 16.917969 L 22.253906 55.392578 L 42.857422 45.136719 L 42.857422 6.6621094 z M 7.5859375 13.205078 L 7.0761719 50.283203 C 7.0761719 50.283203 6.728142 54.725005 11.488281 56.3125 C 16.248422 57.899994 22.027344 55.248047 22.027344 55.248047 L 22.179688 17.582031 L 7.5859375 13.205078 z "
id="rect836-3" />
<path
style="color:#11111b;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#11111b;solid-opacity:1;vector-effect:none;fill:url(#linearGradient1012);fill-opacity:1;fill-rule:nonzero;stroke:#664506;stroke-width:1.51278615;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 57.599609 20.683594 L 36.912109 31.185547 L 20.058594 27.078125 L 20.3125 57.302734 C 20.40252 58.752497 24.120578 61.342671 26.675781 62.339844 C 30.097052 63.309779 33.987438 62.878106 36.912109 61.935547 L 57.599609 51.433594 L 57.599609 20.683594 z "
id="rect836" />
<path
style="opacity:1;vector-effect:none;fill:url(#linearGradient1006);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:1.51278615;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
d="m 37.027352,31.125397 c 0,0 -7.273258,3.160854 -13.490755,-0.330322 -4.412071,-2.477413 -4.327223,-4.624505 -1.01817,-6.441275 0.509085,-0.08258 20.533099,-9.744493 20.533099,-9.744493 l 14.548723,6.074442 z"
id="path859"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cscccc" />
<path
style="opacity:1;vector-effect:none;fill:url(#linearGradient942-2);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:1.51278615;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
d="m 22.284562,17.1032 c 0,0 -5.410553,1.672629 -9.078685,0.412902 C 8.4024543,15.866488 6.0474481,13.058464 9.0171107,11.076533 9.5474081,10.83911 29.90594,1.0019842 29.90594,1.0019842 l 13.129384,5.5409914 z"
id="path859-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cscccc" />
<path
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:1.51531553;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
d="m 20.123104,36.83381 c 0,0 2.169711,2.965879 6.707702,3.60539 4.65019,0.655323 9.893858,-1.844618 9.893858,-1.844618"
id="path1018"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csc" />
<path
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:1.51531553;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
d="m 20.014286,51.253443 c 0,0 2.924327,4.223573 7.462318,4.863084 4.65019,0.655323 9.558473,-1.090002 9.558473,-1.090002"
id="path1018-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csc" />
</g>
</svg>