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

212 lines
8.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_Tangent.svg"
xml:space="preserve"
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"
showgrid="true"
showguides="true"
inkscape:zoom="6.4523495"
inkscape:cx="-21.775014"
inkscape:cy="47.73455"
inkscape:window-width="2560"
inkscape:window-height="1368"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="g4"><inkscape:grid
id="grid2"
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:guide
position="46,46"
orientation="0.70710678,-0.70710678"
id="guide1"
inkscape:locked="false" /></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
id="linearGradient3902"><stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="0"
id="stop3904" /><stop
style="stop-color:#912424;stop-opacity:1"
offset="1"
id="stop3906" /></linearGradient><linearGradient
xlink:href="#linearGradient3602"
id="linearGradient3608"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" /><linearGradient
xlink:href="#linearGradient3902"
id="linearGradient3908"
x1="35.599998"
y1="60.799999"
x2="28.4"
y2="2"
gradientUnits="userSpaceOnUse" /></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_Tangent.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:#4c1313;fill-opacity:1;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71"
id="rect2"
width="9.4775105"
height="65.157883"
x="1.6134734"
y="12.697659"
rx="1.9999996"
ry="1.9999999"
transform="rotate(-45)" /><rect
style="fill:#d76363;fill-opacity:1;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71"
id="rect3"
width="4.7387557"
height="60.419132"
x="3.982852"
y="15.067036"
rx="0.99999994"
ry="0.99999994"
transform="rotate(-45)" /><rect
style="fill:#f2cdcd;fill-opacity:1;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71"
id="rect3-6"
width="2.3693779"
height="60.419132"
x="3.982852"
y="15.067036"
rx="0.99999994"
ry="0.99999994"
transform="rotate(-45)" /><g
id="g4"
transform="matrix(1.601516,0,0,1.6014195,-28.350372,-10.395277)"
style="stroke-width:0.62443"><path
style="fill:none;fill-opacity:1;stroke:#4c1313;stroke-width:4.99541;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
id="path3"
sodipodi:type="arc"
sodipodi:cx="22.154778"
sodipodi:cy="42"
sodipodi:rx="21.845222"
sodipodi:ry="21.845222"
sodipodi:start="4.6800288"
sodipodi:end="0.032457308"
sodipodi:arc-type="arc"
d="m 21.447986,20.166214 a 21.845222,21.845222 0 0 1 16.154447,6.387631 21.845222,21.845222 0 0 1 6.386061,16.155068"
sodipodi:open="true" /><path
style="fill:none;fill-opacity:1;stroke:#d76363;stroke-width:2.49772;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
id="path3-1"
sodipodi:type="arc"
sodipodi:cx="22.154778"
sodipodi:cy="42"
sodipodi:rx="21.845222"
sodipodi:ry="21.845222"
sodipodi:start="4.680874"
sodipodi:end="0.03299727"
sodipodi:arc-type="arc"
d="m 21.46644,20.165625 a 21.845222,21.845222 0 0 1 16.146687,6.398923 21.845222,21.845222 0 0 1 6.374981,16.156154"
sodipodi:open="true" /><path
style="fill:none;fill-opacity:1;stroke:#f2cdcd;stroke-width:1.24885;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
id="path3-1-8"
sodipodi:type="arc"
sodipodi:cx="22.183409"
sodipodi:cy="41.985836"
sodipodi:rx="22.432375"
sodipodi:ry="22.432501"
sodipodi:start="4.6700535"
sodipodi:end="0.041926421"
sodipodi:arc-type="arc"
d="m 21.234007,19.573435 a 22.432375,22.432501 0 0 1 16.808242,6.546984 22.432375,22.432501 0 0 1 6.553821,16.805656"
sodipodi:open="true" /></g></svg>