-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
'prefers-color-scheme: dark' doesn't work in vomnibar #4148
Comments
Firefox 106 has changed how it deals with According to my tests, on Firefox 106 and Win11, this works if in .vimiumUIComponentVisible {
color-scheme: normal;
}
Updated (2022/10/29): I tested Chrome 88/102/106 on Win11 again, and found |
I've the same problem. The Vomnibar takes up light theme after the Firefox update. Trying
or
does not seem to work on Arch Linux. |
I'd also like to add that the help dialog which was previously dark has now changed to a light theme too. |
So what can we do to solve this issue? This file seems to be unchangeable. |
@nikinbaidar How did you test it?
@DEAN-Cherry Um yes Firefox's extension files are always packaged into a single file. So:
|
Thanks for investigating the solution @gdh1995. Tricky. |
The update to 106.0.2 fixed the original issue but now when I open GitHub there's a dark background behind the vomnibar and
doesn't seem to fix it. Edit: It seems this has already been updated in the master in /content_scripts/vimium.css. However changing normal to light doesn't work either. |
Reproduced on https://github.com/settings/appearance + |
See philc/vimium#4159 . `color-scheme: light dark;` works perfectly on Firefox 105/106 and Chrome 88/99/106 during my testes. 1. The changes which breaks `color-scheme: light`, as reported in philc/vimium#4148, is caused by a fix of https://bugzilla.mozilla.org/show_bug.cgi?id=1782596 . 2. And then I searched and found [1789338 - Element picker is light themed when uBlock origin theme is set to auto in Nightly](https://bugzilla.mozilla.org/show_bug.cgi?id=1789338) 3. So I installed uBlock Origin and tested its picker iframe, and noticed `color-scheme: light dark` (gorhill/uBlock#3872)
Still issue with dark reader extension |
Since the latest Firefox update on Arch Linux the Vomnibar is no longer in dark mode. Firefox version: 106.0 64bit. The options page and all other websites are still respecting dark mode and it is even possible to force the prefers-color-scheme for the vomnibar through the developer tools.
To Reproduce
I freshly reset Firefox 106.0 (no bookmarks, no settings, no add-ons, nothing).
Then set Firefox theme to the default dark theme and selected dark as the default appearance of websites in the firefox settings.
Websites are now in dark mode.
Then installed vimium and pressed o (or O, b etc.) to open the vomnibar and it is light themed.
I can however use the developer tools to enable the dark theme for the vomnibar.
It seems to me like this issue was introduced by the Firefox update and not an update to vimium. It might be a bug in Firefox.
Browser and Vimium version
Firefox:
Version 106.0
Build-ID 20221017100737
Distributions-ID archlinux
Vimium-Version: 1.67.2
The text was updated successfully, but these errors were encountered: