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

304 lines
9.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg2816"
version="1.1"
sodipodi:docname="Constraint_PointOnObject.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
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="namedview1"
pagecolor="#cdd6f4"
bordercolor="#11111b"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#6a6e84"
showguides="true"
showgrid="true"
inkscape:zoom="16"
inkscape:cx="21.8125"
inkscape:cy="23.5625"
inkscape:window-width="2560"
inkscape:window-height="1368"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g3813">
<sodipodi:guide
position="28,36"
orientation="-0.70710678,-0.70710678"
id="guide1"
inkscape:locked="false" />
<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-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" />
<linearGradient
xlink:href="#linearGradient3602-1"
id="linearGradient3608"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-1">
<stop
style="stop-color:#e9aaaa;stop-opacity:1"
offset="0"
id="stop3604-22" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-1" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient8355"
xlink:href="#linearGradient3602-1" />
<linearGradient
id="linearGradient3602-1-9">
<stop
style="stop-color:#e9aaaa;stop-opacity:1"
offset="0"
id="stop3604-22-5" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-1-4" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient8395"
xlink:href="#linearGradient3602-1-9" />
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient8355-2"
xlink:href="#linearGradient3602-1-2" />
<linearGradient
id="linearGradient3602-1-2">
<stop
style="stop-color:#e9aaaa;stop-opacity:1"
offset="0"
id="stop3604-22-55" />
<stop
style="stop-color:#f7863f;stop-opacity:1"
offset="1"
id="stop3606-1-8" />
</linearGradient>
</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_PointOnObject.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">
<path
style="fill:none;stroke:#4c1313;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
id="path1"
sodipodi:type="arc"
sodipodi:cx="45"
sodipodi:cy="45"
sodipodi:rx="39"
sodipodi:ry="39"
sodipodi:start="2.8005539"
sodipodi:end="5.0506534"
sodipodi:open="true"
sodipodi:arc-type="arc"
d="M 8.2460979,58.044182 A 39,39 0 0 1 17.384608,17.461116 39,39 0 0 1 57.942164,8.2100505" />
<path
style="fill:none;stroke:#d76363;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
id="path1-6"
sodipodi:type="arc"
sodipodi:cx="45"
sodipodi:cy="45"
sodipodi:rx="39"
sodipodi:ry="39"
sodipodi:start="2.8005539"
sodipodi:end="5.0506534"
sodipodi:open="true"
sodipodi:arc-type="arc"
d="M 8.2460979,58.044182 A 39,39 0 0 1 17.384608,17.461116 39,39 0 0 1 57.942164,8.2100505" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
id="path1-6-5"
sodipodi:type="arc"
sodipodi:cx="44.713306"
sodipodi:cy="44.711193"
sodipodi:rx="39.799171"
sodipodi:ry="39.799103"
sodipodi:start="2.7831825"
sodipodi:end="5.0690276"
sodipodi:open="true"
sodipodi:arc-type="arc"
d="M 7.4431454,58.672155 A 39.799171,39.799103 0 0 1 16.546126,16.593916 39.799171,39.799103 0 0 1 58.608246,7.4164225" />
<g
id="g3813"
transform="matrix(0.58333334,0,0,0.58333354,-20.765509,0.19030609)"
style="stroke-width:1.71428">
<path
d="m 81.485764,30.064052 a 15.428572,15.42857 0 1 1 -30.857143,0 15.428572,15.42857 0 1 1 30.857143,0 z"
id="path3025"
style="fill:#d76363;fill-opacity:1;stroke:#4c1313;stroke-width:3.42858;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1" />
<path
d="m 78.057189,30.064052 a 11.999996,11.999991 0 1 1 -23.999992,0 11.999996,11.999991 0 1 1 23.999992,0 z"
id="path3025-3"
style="fill:none;stroke:#f2cdcd;stroke-width:3.42858;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>