-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[BUG]: Color Inversions in Night Mode #14089
Comments
Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing |
I believe this is not a bug, but a feature: color inversion in the dark mode to improve readability. I use it in this way (tone coloring):
|
@BorisNA I don't know really. How does it even improve readability? If it was a feature, there should be an option to turn it off. I most of the time cannot even figure out which word to choose to display a certain color. |
Colors are inverted in night mode if the CSS doesn't specify a |
@sorata225 - as for readability, dark colored font is good for the light background, but is unreadable on the dark one. And vice versa. See my example with magenta/darkmagenta and blue/deepskyblue. It was done on purpose, since I use the card both on a desktop (with the light scheme) and on a phone (with the dark oled theme). If I use just one color it won't be readable in both cases. And yes, you can turn this off with |
Checked for duplicates?
What are the steps to reproduce this bug?
I am no programmer. So I may not be able to properly explain things using my 8th grade html knowledge. But here's an attempt. I have modified one of my note types to include this
#word {
font-size: 30px;
margin-bottom: 16px;
color: chocolate;
text-align: center;
border-radius: 12px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
padding: 24px;
margin: 12px;
border: 1px solid #D9D9D9;
}
Expected behaviour
In a normal world the chocolate colour is the colour of chocolates.
Actual behaviour
In anki, chocolate is the colour of the sky.
The 凛 here should have been a different color.
Debug info
(Optional) Anything else you want to share?
Similar problems arise with colours in anki when I'm in dark mode(and I'm always in dark mode). See these two screen shots of a note/card from a different deck.
Research
The text was updated successfully, but these errors were encountered: