Includes #5339. Implements step 5 from https://github.com/openstreetmap/openstreetmap-website/issues/5324#issuecomment-2504102012.
![image](https://github.com/user-attachments/assets/228d027d-2731-4c58-bf2c-0633e094660f) ![image](https://github.com/user-attachments/assets/0db27006-dd89-4dfd-8491-5a06077832bc) You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5362 -- Commit Summary -- * Add auto/manual color scheme stylesheets depending on user preferences * Show site color scheme on user preferences page * Add site color scheme select to preferences form * Store selected site color scheme * Make a generic preferred color scheme method * Set map color scheme depending on user preferences * Show map color scheme on user preferences page * Add map color scheme select to preferences form * Store selected map color scheme -- File Changes -- M app/assets/stylesheets/common.scss (22) M app/assets/stylesheets/parameters.scss (1) A app/assets/stylesheets/screen-auto-ltr.scss (3) A app/assets/stylesheets/screen-auto-rtl.rtlcss.scss (3) D app/assets/stylesheets/screen-ltr.scss (1) A app/assets/stylesheets/screen-manual-ltr.scss (3) A app/assets/stylesheets/screen-manual-rtl.rtlcss.scss (3) D app/assets/stylesheets/screen-rtl.rtlcss.scss (1) M app/controllers/application_controller.rb (10) M app/controllers/preferences_controller.rb (15) M app/views/layouts/_head.html.erb (6) M app/views/layouts/site.html.erb (11) M app/views/preferences/edit.html.erb (16) M app/views/preferences/show.html.erb (9) M config/locales/en.yml (10) M test/controllers/preferences_controller_test.rb (52) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5362.patch https://github.com/openstreetmap/openstreetmap-website/pull/5362.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5362 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev