[openstreetmap/openstreetmap-website] Forward preferred color scheme to id-container (PR #6323)

Marwin Hochfelsner notifications at github.com
Fri Sep 19 14:41:32 UTC 2025


@hlfan commented on this pull request.



> +   data[:theme] = (preferred_color_scheme(:site) if preferred_color_scheme(:site) != "auto")
    data[:asset_map] = assets("iD").to_json %>
 <%= tag.div "", :id => "id-container", :data => data %>

See the review in https://github.com/openstreetmap/iD/pull/11308#discussion_r2285483011.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6323/review/3245239061 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250919/647535d8/attachment.htm>


More information about the rails-dev mailing list