ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.81k stars 2.25k forks source link

<span style="color:black;"> is seen as white on Night mode. #3504

Closed hssm closed 9 years ago

hssm commented 9 years ago

Originally reported on Google Code with ID 2608

What steps will reproduce the problem?
1. On Android version 4.4.2
2. set HTML <span style="color:black;">
3. enable night mode

The <span> of black color should not be seen on same background color black.
But the <span> seen with white color.

I plan to use the feature for masking the <span> with mouseover background color changing.

I tried normal whitish mode with <span style="color:white;">, but no problem.

And the problem doesn't occur on Anki on Mac OSX, but ONLY occur on Android Ankidroid.

Reported by ameniutaeba1978 on 2015-05-12 12:49:34

hssm commented 9 years ago
It's working as intended from the sound of it. Night mode is mostly a best-effort guess
for suitable colours.  The other clients don't *have* a night mode so I'm not sure
what you are comparing it against.

In the future we might have a night theme that doesn't affect the content of your cards
(see Issue 2579). For now, figuring out suitable colors is your responsibility.

Reported by Houssam.Salem.Au on 2015-05-14 02:37:24