-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fix for various #14783
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
Draft
06kellyjac
wants to merge
13
commits into
darkreader:main
Choose a base branch
from
06kellyjac:various_detections_fixes_darksites
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Fix for various #14783
06kellyjac
wants to merge
13
commits into
darkreader:main
from
06kellyjac:various_detections_fixes_darksites
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Only the hosted chats, the zulip.com website doesn't have themes.
Disabling darkreader fixes some of their tooling e.g. Path of Exile builds.
Make mobile hamburger visible. Make eBPF logo more visible. Make text for main button more visible. Make tick marks more visible.
Not perfect since the default theme is defined in CSS by the user preferences, but it's not worse than current. It means that darkreader will start enabled but will be turned off as needed when the user switches theme.
Initial theme is decided by OS preferences and specified with a theme of "dark light", but darkreader can identify and skip opt-in dark mode.
Also accounts for where set to device and selects into dark.
Author
Member
|
Please separate the PRs, and only supply a fix where it's really necessary. I couldn't reproduce the issues with the start page, it's probably fixed now. The react native issue doesn't seem to be related to HTML, but rather Android and iOS UI. |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.






startpage.comdeveloper.mozilla.orgopentitan.orgsupabase.comebpf.iomaxroll.ggto dark sitesandroid-x86.orgdocs.renovatebot.com*.zulipchat.comexpo.devgist.github.comdeveloper.hashicorp.comzen-browser.appI've tested all but
*.zulipchat.comin a fresh zen-browser. That one I've tested by hand withdocument.querySelector()I'll log in to a chat at some point tomorrow.
The auto detection for
opentitan.orgmostly works but it can get stuck as "detected dark mode" on light mode until refreshed. Lightmode to darkmode is identified properly without refreshing.Auto detection for startpage is a bit odd since it can set 2 different default colours when using
device. I couldn't find something fixed to use.There aren't any other css selectors using
:hasor:notso I'll keep this draft to discuss in-case that's not allowedI can also split this out into separate PRs if necessary but I wanted to get a discussion going in one place first :)