Add colors and abbreviation to web manifest

This commit is contained in:
Marwin Hochfelsner 2025-02-28 12:33:41 +01:00
parent 6ce0a13f59
commit 4059b961ec

View 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"
}