badlydrawnrob / anki

Learn to code with Anki — flashcards and themes for all learning levels. Master your programming language of choice!
MIT License
742 stars 62 forks source link

AnkiDroid nightmode CSS #26

Closed abers closed 5 years ago

abers commented 7 years ago

The cards do not display that well when using nightmode in AnkiDroid. The Syntax field for example displays as dark grey on black background and the key point notes display as white on an off-white background. I only know the basics of CSS so was unsure what sections I would want to edit in order to have the cards display better when using nightmode.

badlydrawnrob commented 7 years ago

Hey @abers ...

There is the class name night_mode when the night_mode is active (like in AnkiDroid)

badlydrawnrob commented 5 years ago

I feel this is something that can be solved on an "as-need" basis (override the css) — I don't think Anki (desktop) currently has a night-mode anyway.

abers commented 5 years ago

Apologies, I obviously missed the original reply. I was able to fix it by manually changing the CSS, was just flagging it in case there was an alternative solution.

badlydrawnrob commented 5 years ago

@abers No problem buddy, It's not a super popular repo, so it's tricky to know where to spend time, and on what. I'm just pleasing myself for now, but if there are recurring requests I'd consider them.

If you give the new version a spin, I'd be grateful for feedback.

badlydrawnrob commented 3 months ago

@abers It's very late, but I've fixed this in the upcoming release. Hopefully looking ok in nightmode now. Let me know if you still make use of the tool :)