From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Fri, 28 Feb 2025 11:33:41 +0000 (+0100) Subject: Add colors and abbreviation to web manifest X-Git-Tag: live^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/4059b961ecb29194a88efd6a8352be19cd7a759a?hp=6ce0a13f599dbe4db657092d1e4f24bb15a5ef43 Add colors and abbreviation to web manifest --- diff --git a/app/assets/favicons/manifest.json.erb b/app/assets/favicons/manifest.json.erb index 8d806ac9a..1666333a4 100644 --- a/app/assets/favicons/manifest.json.erb +++ b/app/assets/favicons/manifest.json.erb @@ -1,5 +1,6 @@ { "name": "OpenStreetMap", + "short_name": "OSM", "icons": <%= [36, 48, 72, 96, 144, 192].map { |res| { src: image_path("android-chrome-#{res}x#{res}.png").gsub("/", "\\/"), sizes: "#{res}x#{res}", @@ -7,5 +8,7 @@ density: res.to_f / 48 } }.to_json %>, "start_url": "/", + "theme_color": "#7ebc6f", + "background_color": "#fff", "display": "minimal-ui" }