<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/50826859?s=20&v=4" /><strong>hlfan</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6215#issuecomment-3096703813">(openstreetmap/openstreetmap-website#6215)</a></div>
<p dir="auto">Given your preference for fills and strokes lining up on the pixel grid, as you've stated in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2958775422" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5866" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5866/hovercard?comment_id=2764695781&comment_type=issue_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/5866#issuecomment-2764695781">#5866 (comment)</a>, the stroke width of 1.5 for blank role icons that you introduced in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2285708473" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4771" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4771/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4771">#4771</a> seems like something to take a closer look at:</p>
<markdown-accessiblity-table><table role="table">
<thead>
<tr>
<th>stroke width 1.5px</th>
<th>stroke width 2px</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/user-attachments/assets/442f1a74-df3e-46bb-ad60-1bb50520e822">image.png (view on web)</a></td>
<td><a href="https://github.com/user-attachments/assets/c41e82c4-5229-4d9f-9b9b-7acc8ccc6fc6">image.png (view on web)</a></td>
</tr>
</tbody>
</table></markdown-accessiblity-table>
<p dir="auto">You may notice the icon is offset on the x-axis by a subpixel, which is why the pixels are not quite symmetrical. Still, with a 2px stroke, the main horizontal bar is fully opaque, the 1.5px bar isn't.</p>
<p dir="auto">I suggest reverting the stroke-width change from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2285708473" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4771" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4771/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4771">#4771</a>, then the only other change needed can be overwritten by the <code class="notranslate">SvgFillOverrideTransform</code> from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2970455205" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5884" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5884/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5884">#5884</a>. Then there's no need the store essentially the same icon twice.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6215#issuecomment-3096703813">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLI7MI6Y4XID4RRO7QD3JTP7ZAVCNFSM6AAAAACB7MDZJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOJWG4YDGOBRGM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOV7CLJ3F67UXFPJB33JTP7ZA5CNFSM6AAAAACB7MDZJ6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVYSPZUK.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6215/c3096703813</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6215#issuecomment-3096703813",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6215#issuecomment-3096703813",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>