how to change font color of "hint" in nightmode in Andkidroid ?

218 views
Skip to first unread message

ecd

unread,
Jan 5, 2022, 10:04:22 AM1/5/22
to AnkiDroid
Hi,
How to change font color of "hint" in nightmode in Andkidroid ?
By default it's taking blue color which is not comfortable to my eyes.
If I use .hint{color: orange;}, it reflects in normal "day mode" but not in night mode.

thanks

Mike Hardy

unread,
Jan 6, 2022, 8:52:51 AM1/6/22
to anki-a...@googlegroups.com, ecd


Hi there!

I think the idea behind this example may be combined with your goal to do what you want:


https://github.com/ankidroid/Anki-Android/wiki/Advanced-formatting#invert-color-of-images-in-night-mode


Specifically, instead of `.night .img` I think if you combined `.night .hint` then your style, it may work by altering .hint class but only if .night is present also?

--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/b14c3d79-5b3d-4b7c-8eef-b0f897d8f778n%40googlegroups.com.

ecd

unread,
Jan 12, 2022, 8:08:40 AM1/12/22
to AnkiDroid
Hi Mike,
Thanks! It worked.
.card.night_mode a {<style>} 
(used anchor instead of .hint)

Reply all
Reply to author
Forward
0 new messages