]> git.openstreetmap.org Git - rails.git/blob - app/assets/favicons/manifest.json.erb
Add colors and abbreviation to web manifest
[rails.git] / app / assets / favicons / manifest.json.erb
1 {
2         "name": "OpenStreetMap",
3         "short_name": "OSM",
4         "icons": <%= [36, 48, 72, 96, 144, 192].map { |res| {
5                         src: image_path("android-chrome-#{res}x#{res}.png").gsub("/", "\\/"),
6                         sizes: "#{res}x#{res}",
7                         type: "image/png",
8                         density: res.to_f / 48
9                 } }.to_json %>,
10         "start_url": "/",
11         "theme_color": "#7ebc6f",
12         "background_color": "#fff",
13         "display": "minimal-ui"
14 }