Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Add auto <meta name="theme-color"> injection on HTML. #18

@MtDalPizzol

Description

@MtDalPizzol

Lighthouse is showing me the following error:

Address bar does not match brand colors
Failures: No `<meta name="theme-color">` tag found.

More info about this here.

My config:

new WebpackPwaManifest({
   name: 'My Progressive Web App',
   short_name: 'MyPWA',
   description: 'My awesome Progressive Web App!',
   start_url: '/',
   background_color: '#00b2ff',
   theme_color: '#00b2ff',
   'theme-color': '#00b2ff',
   icons: [{
      src: path.resolve(__dirname, '../../assets/js.png'),
      sizes: [96, 128, 192, 256, 384, 512],
      destination: 'icons'
   }]
})

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions