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

Anki cards unreadable in nightmode; all Anki cards contain colors declared in HTML, should have colors in styles #1039

Open
Trotter-Wiz-Kiwanis opened this issue Dec 23, 2024 · 1 comment

Comments

@Trotter-Wiz-Kiwanis
Copy link

Anki cards in day mode looks ok:
image

…but are unreadable in night mode:
image


The only workaround for all cards is to force white background in night mode:
image

…but this remains a broken night mode.


Looking at individual cards source, we can see that colors are declared directly in them:
image

It would be much better to have styling in one place (styling), then add dedicated .nightMode colors there.


I cannot find flashcards sources in this repository, so I don't know how provide a patch for that.

@jasneetsingh6114
Copy link

I noticed that Anki cards are unreadable in night mode because their colors are declared directly in the HTML. To improve compatibility, it would be better to move the color declarations to CSS styles instead. This approach would allow dynamic styling adjustments for night mode, ensuring better readability.

If this issue is unassigned, I’d be happy to contribute a fix. Let me know your thoughts!

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

No branches or pull requests

2 participants