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

228 lines
8.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64px"
height="64px"
id="svg2816"
version="1.1"
sodipodi:docname="Constraint_HorVer.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
xml:space="preserve"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
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/"><sodipodi:namedview
id="namedview26"
pagecolor="#2e2f41"
bordercolor="#8389a1"
borderopacity="1"
objecttolerance="10.0"
gridtolerance="10.0"
guidetolerance="10.0"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
showgrid="true"
inkscape:zoom="11.765625"
inkscape:cx="38.289509"
inkscape:cy="37.397078"
inkscape:window-width="2560"
inkscape:window-height="1372"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2816"
inkscape:showpageshadow="2"
inkscape:deskcolor="#6a6e84"><inkscape:grid
id="grid1"
units="px"
originx="0"
originy="0"
spacingx="1"
spacingy="1"
empcolor="#3b82f7"
empopacity="0.30196078"
color="#3b82f7"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="true" /></sodipodi:namedview><defs
id="defs2818"><linearGradient
id="linearGradient3602"><stop
style="stop-color:#e9aaaa;stop-opacity:1"
offset="0"
id="stop3604" /><stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606" /></linearGradient><linearGradient
xlink:href="#linearGradient3602"
id="linearGradient3608"
x1="3.909091"
y1="14.363636"
x2="24.818181"
y2="14.363636"
gradientUnits="userSpaceOnUse" /><linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient3608-5"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" /><linearGradient
id="linearGradient3602-7"><stop
style="stop-color:#cb5858;stop-opacity:1"
offset="0"
id="stop3604-1" /><stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-3" /></linearGradient><linearGradient
xlink:href="#linearGradient3602-5"
id="linearGradient3608-1"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" /><linearGradient
id="linearGradient3602-5"><stop
style="stop-color:#cb5858;stop-opacity:1"
offset="0"
id="stop3604-9" /><stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-9" /></linearGradient><linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient3686"
xlink:href="#linearGradient3602-5" /><linearGradient
xlink:href="#linearGradient3602-58"
id="linearGradient3608-8"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" /><linearGradient
id="linearGradient3602-58"><stop
style="stop-color:#cb5858;stop-opacity:1"
offset="0"
id="stop3604-2" /><stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-2" /></linearGradient><linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient3726"
xlink:href="#linearGradient3602-58" /></defs><metadata
id="metadata2821"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:creator><cc:Agent><dc:title>[wmayer]</dc:title></cc:Agent></dc:creator><dc:date>2011-10-10</dc:date><dc:relation>https://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/Sketcher/Gui/Resources/icons/Constraint_Horizontal.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><rect
style="fill:#d76363;fill-opacity:1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect3-7"
width="2"
height="55.999996"
x="42"
y="-60"
transform="rotate(90)" /><rect
style="fill:#d76363;fill-opacity:1;stroke:#4c1313;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6;stroke-opacity:1"
id="rect2"
width="5"
height="15"
x="8"
y="13" /><rect
style="fill:#d76363;fill-opacity:1;stroke:#4c1313;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6;stroke-opacity:1"
id="rect2-0"
width="5"
height="15"
x="27"
y="-51"
transform="rotate(90)" /><rect
style="fill:#d76363;fill-opacity:1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect3"
width="2"
height="55.999996"
x="23"
y="3.9999998" /><rect
style="fill:#d76363;fill-opacity:1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect3-7-9"
width="2"
height="55.999996"
x="42"
y="-60"
transform="rotate(90)" /><rect
style="fill:#4c1313;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6"
id="rect1-7-6"
width="58"
height="7.9999995"
x="3.2099218"
y="-26.528551"
transform="rotate(90)"
rx="2"
ry="2" /><rect
style="fill:#f2cdcd;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6"
id="rect1-7-3"
width="54.491768"
height="3.9999986"
x="4.7541161"
y="-24.5"
transform="rotate(90)"
rx="1"
ry="1" /><rect
style="fill:#d76363;fill-opacity:1;stroke:#4c1313;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6;stroke-opacity:1"
id="rect2-490"
width="5"
height="15"
x="8.0000019"
y="13" /><rect
style="fill:#d76363;fill-opacity:1;stroke:#4c1313;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6;stroke-opacity:1"
id="rect2-0-9"
width="5"
height="15"
x="27"
y="-51"
transform="rotate(90)" /><rect
style="fill:#d76363;fill-opacity:1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect3-1"
width="2"
height="54.491768"
x="22.5"
y="4.7541161"
rx="1"
ry="1" /><rect
style="fill:#4c1313;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6"
id="rect1-7-5"
width="58"
height="7.9999995"
x="-61"
y="-45.5"
transform="scale(-1)"
rx="2"
ry="2" /><rect
style="fill:#f2cdcd;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:1.6"
id="rect1-7-3-0"
width="54.491768"
height="3.9999986"
x="-59.455803"
y="-43.471447"
transform="scale(-1)"
rx="1"
ry="1" /><rect
style="fill:#d76363;fill-opacity:1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect3-1-9"
width="2"
height="54.491768"
x="41.471447"
y="-59.455803"
rx="1"
ry="1"
transform="rotate(90)" /></svg>