ttempe / chinese-support-addon

Addon for Anki2 that makes easier to input Chinese, in the spirit of batterseapower’s pinyin-toolkit for Anki1
https://github.com/ttempe/chinese-support-addon/wiki
47 stars 19 forks source link

a hack to hardcode color styles so colorization will work again, since Anki doesn't seem to be using the css file to load tone class definitions. #34

Closed ernop closed 11 years ago

ernop commented 11 years ago

anki 2.0.11 isn't using my cards css file which contains definitions of .tone1 etc, which means colorization won't work. So I just changed the code which adds classes to just add hardcoded colors inline, and now colors work.