Ver código fonte

better manifest json

Heydon Pickering 8 anos atrás
pai
commit
6c1149352d
3 arquivos alterados com 14 adições e 4 exclusões
  1. 7 2
      docs/manifest.json
  2. 0 0
      docs/service-worker.js
  3. 7 2
      themes/infusion/static/manifest.json

+ 7 - 2
docs/manifest.json

@@ -1,5 +1,6 @@
 {
- "name": "App",
+ "name": "Infusion Pattern Library",
+ "short_name": "Infusion",
  "icons": [
   {
    "src": "\/images/android-icon-36x36.png",
@@ -37,5 +38,9 @@
    "type": "image\/png",
    "density": "4.0"
   }
- ]
+],
+  "start_url": "index.html",
+  "display": "standalone",
+  "background_color": "#111",
+  "theme_color": "#fff"
 }

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
docs/service-worker.js


+ 7 - 2
themes/infusion/static/manifest.json

@@ -1,5 +1,6 @@
 {
- "name": "App",
+ "name": "Infusion Pattern Library",
+ "short_name": "Infusion",
  "icons": [
   {
    "src": "\/images/android-icon-36x36.png",
@@ -37,5 +38,9 @@
    "type": "image\/png",
    "density": "4.0"
   }
- ]
+],
+  "start_url": "index.html",
+  "display": "standalone",
+  "background_color": "#111",
+  "theme_color": "#fff"
 }

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff