[openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

pkrasicki notifications at github.com
Fri Nov 15 17:06:41 UTC 2024


@pkrasicki commented on this pull request.



> @@ -504,7 +504,13 @@ body.small-nav {
 @include color-mode(dark) {
   .leaflet-tile-container,
   .mapkey-table-entry td:first-child > * {
-    filter: brightness(.8);
+    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);

@Dr-Mx My bad, I worded my comment poorly and I've edited it since then. I meant to say that you should give us more information about the problems you've encountered. Otherwise it would be hard to make an informed decision. Performance is important, so it's good that you mentioned this, but how old were those smartphones?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5325#discussion_r1844188669
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5325/review/2439189629 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241115/2e2262a4/attachment.htm>


More information about the rails-dev mailing list