]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/favicons/manifest.json.erb
Add colors and abbreviation to web manifest
[rails.git] / app / assets / favicons / manifest.json.erb
index 8d806ac9ad96ae056f1ba1a438a1b9bd69c73d9b..1666333a4e78893cd47d68401a1e1271ed4f067a 100644 (file)
@@ -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"
 }