Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Tag menu text all black in Add card dialog box #45

Closed
ghost opened this issue Sep 12, 2018 · 5 comments
Closed

Tag menu text all black in Add card dialog box #45

ghost opened this issue Sep 12, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 12, 2018

While in the Add dialog box, the menu that comes up when typing in tags is all black and does not show what the tags are until I arrow over them. Anki version 2.0.52 and Night Mode version 1.2.3
Screenshot:
nightmode_tags

@krassowski
Copy link
Owner

Hi @anbu1538,

thank you for the report. This indeed looks like a valid report of a short-coming of the old version. However, it does not happen anymore with Anki 2.1 and Night Mode 2.1.9 - at least I was not able to reproduce it. If you could try switching to the newer version you should see lots of improvements over the version you are currently using.

If the upgrade is not possible for you, just let me know I will try to release a patch for the older version soon. Please, bear in mind that supporting the old version is a difficult and time-consuming process so it might be the last update it will get.

Again, thanks for letting me know and taking your time to register & post in there.

@szelkron
Copy link

I experience this issue with Anki 2.1 and Night Mode 2.2.3 when using the addon TagEdit Subtag Completion.

@krassowski
Copy link
Owner

@ganywa I am afraid there is not much that I can do as this add-on creates a custom delegate object, using a part of the API which is not customizable with CSS styles (see https://github.com/glutanimate/anki-addons-misc/blob/master/src/tagedit_subtag_completer/tagedit_subtag_completer.py#L99).

If you want to have both add-ons, you might want to edit the color of the background.

To do so, use menu bar: Tools → Add-ons → select Night Mode → click on "View Files", find stylers.py file and replace background-color in completer to something lighter, e.g. gray or #d3d3d3:

def completer(self):
return """
background-color:black;
border-color:#444;
color:#eee;
"""

Remember to restart Anki to see the results!

@szelkron
Copy link

@krassowski Thanks; it solved the problem.

@Cardosaum
Copy link

@krassowski

Thanks for showing where it's possible to change the color! was facing the same problem. Nigth-Mode is an excellent add-on, thank you for investing your time in creating it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants