adverse-sapphire•2y ago
Custom Pitch Color Reverting (New Issue)
@Migaku Anki Add-On Support I have used a custom pitch color on my cards for heiban words for a year or so due to the dark blue being extremely difficult to read on the dark gray background of the card. In the past I have achieved this by changing the style css in the card format for my custom migaku note types. Within the past week or so I have started having an issue where it seems like every time I sync with Ankiweb - I think just from my PC - or maybe when I reboot my PC and relaunch Anki, I'm not exactly sure of the cause but it seems either tied to reboot or the sync to Ankiweb - that the pitch coloring is reverting to the original hex code. This has led to me having to go and manually replace the hex code in my custom migaku note type CSS every day. I also tried editing in the addons folder the languages\ja\support.css file to change the color code therein to be the turquoise color I used. Today when I rebooted my PC and synced to Ankiweb it again reverted in both the card css and in the support.css file to the original color code on all devices.
Any idea on why this might be happening, or what I can do to fix it until an option to change syntax color is hopefully eventually added into the Anki menus? It's really hard on my eyesight to use the dark blue color but it's a pain to have to edit the CSS, sometimes multiple times a day. I figure this must be tied to some kind of change in the addon's code as I haven't had this problem before the last couple weeks, although I may be experiencing it more frequently if it is tied to my PC specifically and not mobile as I have been doing a lot of editing of note types to figure out mining from my Kobo leading to more syncs from my PC. Thanks in advance.
4 Replies
xenial-black•2y ago
Custom colors would be nice, wouldn't it? @Migaku Anki Add-On Support
adverse-sapphireOP•17mo ago
Bumping due to no reponse. Also, issue seems to be tied to syncing anki on desktop after closing/reopening the program. Doing so requires replacing color code as it seems to reset all migaku note type CSS (including custom note types) for some reason. Again, this wasn’t an issue until recently.
rising-crimson•17mo ago
@ccos You can change the CSS.
Just copy the CSS you want to change, e.g.
Copy it to the beginning of the CSS, change it to the color you want, and add
!important
@ccos And sorry, for the lack of reply for such a long time.adverse-sapphireOP•17mo ago
Looks like that indeed worked for me. Thank you! 🙏