[openstreetmap/openstreetmap-website] Add light/dark mode preference (Issue #5324)

Marwin Hochfelsner notifications at github.com
Sat Nov 16 20:14:10 UTC 2024


If that setting is stored in a cookie instead of in `localStorage` the server can already set the theme to avoid flashbanging users reloading the site (e.g. to see how their edits show up), as this would probably come rather late in the packaged js.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5324#issuecomment-2480774744
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5324/2480774744 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241116/d0001f0a/attachment.htm>


More information about the rails-dev mailing list