Add colors and abbreviation to web manifest
This commit is contained in:
parent
6ce0a13f59
commit
4059b961ec
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "OpenStreetMap",
|
"name": "OpenStreetMap",
|
||||||
|
"short_name": "OSM",
|
||||||
"icons": <%= [36, 48, 72, 96, 144, 192].map { |res| {
|
"icons": <%= [36, 48, 72, 96, 144, 192].map { |res| {
|
||||||
src: image_path("android-chrome-#{res}x#{res}.png").gsub("/", "\\/"),
|
src: image_path("android-chrome-#{res}x#{res}.png").gsub("/", "\\/"),
|
||||||
sizes: "#{res}x#{res}",
|
sizes: "#{res}x#{res}",
|
||||||
|
@ -7,5 +8,7 @@
|
||||||
density: res.to_f / 48
|
density: res.to_f / 48
|
||||||
} }.to_json %>,
|
} }.to_json %>,
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
|
"theme_color": "#7ebc6f",
|
||||||
|
"background_color": "#fff",
|
||||||
"display": "minimal-ui"
|
"display": "minimal-ui"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue