Skip to content

PWA themeColor is not picking value from manifest.json file #203

@stripathix

Description

@stripathix

Even after changing the value of theme_color in the manifest file. On doing dist build index.html still uses default vue color #4DBA87

Manifest file

{
  "name": "Application name",
  "short_name": "Application name",
  "icons": [
    {
      "src": "./img/icons/android-chrome-192x192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "./img/icons/android-chrome-512x512.png",
      "sizes": "512x512",
      "type": "image/png"
    }
  ],
  "start_url": "./index.html",
  "display": "standalone",
  "background_color": "#3d3d3d",
  "theme_color": "#3d3d3d"
}

In index.html after build it still has
<meta name=theme-color content=#4DBA87>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions