<p dir="auto">An alternative to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2236705679" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4679" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4679/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4679">#4679</a> which also changes light mode.</p>
<p dir="auto">Trace images have white background which they probably shouldn't have, it should be transparent. Besides dark mode, this white background shows up in striped tables:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/017b8fda-813c-41e4-9590-c6733cb1fcbf">image.png (view on web)</a></p>
<p dir="auto">But we can make it behave as transparent by using blend modes:</p>
<p dir="auto"><a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/85e86ba9-c92e-4812-abf4-a75ef8dcc553">image.png (view on web)</a><br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/7a6bfd65-4b0b-4a72-abfb-54d80b09416e">image.png (view on web)</a></p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4681'>https://github.com/openstreetmap/openstreetmap-website/pull/4681</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4681/commits/5a9bac33bfe0f9836f83660c28bdbd80b6a34cf6" class="commit-link">5a9bac3</a> Invert trace images in dark mode</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4681/commits/4f68d70125c881d2f2fd9ab771576b929510b483" class="commit-link">4f68d70</a> Darken/lighten trace images to match their backgrounds</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4681/files">4 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4681/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
(13)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4681/files#diff-f698347c73e920a2c1e10d03873cedbde14208bd883574b5567748dfd3037594">app/views/traces/_trace.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4681/files#diff-0721d51cd25b9716329e5a64ef2b6e5c6fd9164cce84b70a484458dcb3244295">app/views/traces/edit.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4681/files#diff-877bbd9877d7c367c60518fc2a07390db47084796412ff4bed7951743db4fb50">app/views/traces/show.html.erb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4681.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4681.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4681.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4681.diff</a></li>
</ul>
<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/4681">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPTBV5AIX7S6G6S47LY42C3VAVCNFSM6AAAAABGCIRI4OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTONRYGA3DMMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLK5V5ER5GEZ4ZGLVZ3Y42C3VA5CNFSM6AAAAABGCIRI4OWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIKYCMCY.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/4681</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/4681",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4681",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>