How to keep some colors not inverted in night mode

971 views
Skip to first unread message

Krzysiek Palka

unread,
Jan 4, 2015, 5:13:29 AM1/4/15
to anki-a...@googlegroups.com
Hi, is it possible to prevent some colors inversions in cards' css style sheet? I want to prevent inverting red, blue, and green which I use to mark nouns of feminine, masculine, and neuter gender. If there is some outer div with class .nightmode for example, I could use something like .nightmode .feminine {color: [inverted red]} to get actual red after color inversion, but I don't know how to preview html source of generated card views :). 

Charles J. Daniels

unread,
Jan 4, 2015, 11:17:48 AM1/4/15
to anki-a...@googlegroups.com
By searching this group for "night mode css", I found this link (read the next few entries): https://groups.google.com/d/msg/anki-android/yU50fp0D8eo/SLPOo5JRyG0J

I would give that a try. Let us know if you're good after that.

On Sun, Jan 4, 2015 at 2:13 AM, Krzysiek Palka <palkak...@gmail.com> wrote:
Hi, is it possible to prevent some colors inversions in cards' css style sheet? I want to prevent inverting red, blue, and green which I use to mark nouns of feminine, masculine, and neuter gender. If there is some outer div with class .nightmode for example, I could use something like .nightmode .feminine {color: [inverted red]} to get actual red after color inversion, but I don't know how to preview html source of generated card views :). 

--
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 post to this group, send email to anki-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/77d05706-6679-43d1-85eb-5a5f6afb83ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Krzysiek Palka

unread,
Jan 14, 2015, 3:38:38 PM1/14/15
to anki-a...@googlegroups.com
Works like a charm! Maybe it's worth mentioning somewhere in FAQ about .night_mode class and trick with color inversion to prevent some colors. :) Thank you!
Reply all
Reply to author
Forward
0 new messages