BUG In night mode, the contents of some cards are not visible at all

In night mode, the contents of some cards are not visible at all

1 Like

Anki card text is auto white in night mode.
If not, the Card template settings are wrong, so you need to fix the template.

If you want to be able to sometimes use the light theme, and you know how to work with note templates and CSS, there’s a helpful Anki section on night mode here: Styling & HTML - Anki Manual

Here’s a simple example:
.card CSS in use for light theme:

.card.nightMode CSS in use for dark theme:

.card.nightMode is a special case. For the other stuff, you’ll have to put .nightMode first and a space after. For example:

span {
  color: black;
}
.nightMode span {
  color: white;
}
2 Likes

Thank you very much, really. I barely solved the problem using CareUEyes.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.