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

element-picker: Declare we support both light and dark color-schemes. #3872

Merged
merged 1 commit into from
Sep 11, 2022

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Sep 11, 2022

This fixes uBlockOrigin/uBlock-issues#2240 and should get the desired behavior regardless of browser.

Delay showing the iframe until load to prevent flashing a white background on the initial about:blank.

This fixes uBlockOrigin/uBlock-issues#2240 and
should get the desired behavior regardless of browser.

Delay showing the iframe until load to prevent flashing a white
background on the initial about:blank.
@gorhill
Copy link
Owner

gorhill commented Sep 11, 2022

Thanks, that solution is beyond what I could have done with my limited understanding of the issue.

Repository owner deleted a comment from ps9779 Oct 11, 2022
gdh1995 added a commit to gdh1995/vimium-c that referenced this pull request Nov 1, 2022
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Element picker is light themed when uBO theme is set to auto in Firefox Nightly
2 participants