Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<meta> theme-color & background-color changes when updated in the page #96

Closed
thepra opened this issue Dec 6, 2021 · 2 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@thepra
Copy link

thepra commented Dec 6, 2021

Problem Description

On Chromium based browsers and Safari che top UI of the window/app does reflect the changes to the meta elements behind theme-color and background-color.
On FirefoxPWA it doesn't work.
Working example:
example
(sorry for the bright start, it's an HDR enabled screen)

Proposed Solution

Have FirefoxPWA update the top window UI color based on such meta properties.

@thepra thepra added the enhancement New feature or request label Dec 6, 2021
@filips123 filips123 added this to the 1.5.0 milestone Dec 26, 2021
@xorik
Copy link

xorik commented Jan 29, 2022

Hi. I also have an PWA, that changes header color, according to style.

Here's video from chrome:
https://www.youtube.com/watch?v=nqgqPnKaAqY

When primary color is changed, header color is also changed dynamically.
Would be nice to have in your addon.

@filips123
Copy link
Owner

Until I implement this, you can use an addon such as VivaldiFox (and I think there are also some other similar addons) to do this. Just make sure you disable "Allow web apps to override a theme color" in Firefox settings and enable "Apply theme color" for Frame in VivaldiFox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants