[openstreetmap/openstreetmap-website] Use inline svg for notice icons (PR #4759)
Anton Khorev
notifications at github.com
Mon May 6 11:38:47 UTC 2024
Allows to set fill to `currentColor` which adapts to dark mode.
Before:


After:


You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4759
-- Commit Summary --
* Use inline svg for notice icons
-- File Changes --
D app/assets/images/notice.png (0)
D app/assets/images/notice.svg (73)
M app/helpers/svg_helper.rb (6)
M app/views/account/deletions/show.html.erb (2)
M app/views/layouts/_flash.html.erb (6)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4759.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4759.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4759
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4759 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240506/0b5923a0/attachment.htm>
More information about the rails-dev
mailing list