-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
High-contrast theme ruined by browser forcing dark mode #2554
Comments
Oh I figured out why. The issue is that the browser has detected that the system-wide dark mode is on. So it enables a feature to turn every non-dark mode site to dark mode by using some "clever" filters. The problem is that a) the filters ain't really that clever and b) the browser has trouble detecting if that site is already in dark mode. Therefore it attempts to change sites that are already in dark mode to "darker mode", which went wrong. Some dark mode sites dont have their site ruined however. So it is possible to avoid this. This may help: Using Chrome for android 111.0.5563.58 |
Found out the solution. Just need to add For people who want a quick patch, insert the following to line 36 of
I will try to modify the css files in this repo and start a PR in 24 hours when I have access to a computer. |
Signed-off-by: SodaWithoutSparkles <[email protected]>
This reverts commit ad37242.
Signed-off-by: SodaWithoutSparkles <[email protected]>
Signed-off-by: SodaWithoutSparkles <[email protected]>
Deleted branches that are unverified. The final PR should be OK. |
Chrome's This is the same problem reported here: |
I know. Thats what I have addressed in #2554 (comment) But the issue is, as said:
After some investigation, I found out that by telling the browser (Chrome) that "hay, I am already in dark mode!" the browser would not force This issue differs from 2501. 2501 is about aesthetics. This issue is about actual readability. |
Confirm fixed. |
Versions
Platform
Expected behavior
High contrast dark theme has a higher contrast than normal midnight dark theme
Actual behavior / bug
High contrast theme has a lower contrast, especially in green colours, when "colourful query log" is also enabled
Steps to reproduce
Steps to reproduce the behavior:
Debug Token
Screenshots
High contrast dark + colourful
Pi-hole midnight theme (dark) + colourful
Pi-hole midnight theme (dark) + not colourful
High contrast + not colourful
Additional context
N/A
The text was updated successfully, but these errors were encountered: