[openstreetmap/openstreetmap-website] Invert icons in dark mode with common class (PR #6052)

Marwin Hochfelsner notifications at github.com
Sun May 25 20:52:09 UTC 2025


Instead of adding a rule for each invertible icon/image, bundle these together into a utility class.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Invert icons in dark mode with common class

-- File Changes --

    M app/assets/stylesheets/common.scss (23)
    M app/helpers/trace_helper.rb (4)
    M app/views/layouts/_header.html.erb (2)
    M app/views/social_links/_show.html.erb (1)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/6052 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250525/26a353ab/attachment-0001.htm>


More information about the rails-dev mailing list