[openstreetmap/openstreetmap-website] Invert trace images in dark mode (PR #4679)

Anton Khorev notifications at github.com
Thu Apr 11 01:10:08 UTC 2024


Do 85% invert because the page background is not 100% black.

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/7ce8471a-b9dc-4dd7-bc9c-6bf01a83eb07)
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/92187a4f-0c8b-4824-811a-0586f4d88f5b)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4679

-- Commit Summary --

  * Invert trace images in dark mode

-- File Changes --

    M app/assets/stylesheets/common.scss (8)
    M app/views/traces/_trace.html.erb (2)
    M app/views/traces/edit.html.erb (2)
    M app/views/traces/show.html.erb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4679.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4679.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/4679 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240410/e179d3cf/attachment.htm>


More information about the rails-dev mailing list