Closed Covre912 closed 2 years ago
Hello again @Kitsune912!
Again, thank you very much for using and helping with the development of Anki-redesign!
From the looks of it, it seems the css property background-color
of specifically the selector .card
is being overwritten by both Anki's own css (if on nightmode) and Anki-redesign's custom css (both light and night mode) due to the css selector's hierarchical. This means that I can issue out a fix for all user's using lightmode easily by just removing my overwrite, but it'll still affect other user's using nightmode since it seems that Anki does overwrite it as well.
A temporary fix for this can be by adding !important
after the value of background-color
: ie. background-color: #FFFAF0 !important;
. To prioritize your css stylings. I'll however try to weight and see if there's another possibility of fixing this without adding a performance latency to the add-on meanwhile.
I'll update you on my findings another day!
It worked!
Thx a lot :)
For some reason, the "background-color" doesn't change :(
I've tested without the addon and it works fine.
Here's my card's style:
And here's the image of the card in practice: