Quote:
Originally Posted by thiago.eec
Yes. Using get_icons('icon.png', PLUGIN_NAME) works.
You need this too:
..\resources\images\PLUGIN_NAME\icon-for-dark-theme.png
..\resources\images\PLUGIN_NAME\icon-for-light-theme.png
|
Yes that's what I am doing

It works for me with your plugin Check books but it's not working with @JimmXinu plugin for example.
If someone has the time to check does light and dark theming work with calibre example plugin?
https://calibre-ebook.com/downloads/...emo_plugin.zip
Sorry I don't get why I can't get it to work...
And to make things more complicated, I saw that in FanFicFare code, the comments say :
Code:
# For theme creators, use:
# FanFicFare/images/icon.png
# (optionally)
# FanFicFare/images/icon-for-dark-theme.png
# FanFicFare/images/icon-for-light-theme.png
But I can use indifferently FanFicFare/images/icon.png or FanFicFare/icon.png and it works but FanFicFare/images/icon-for-dark-theme.png or FanFicFare/icon-for-dark-theme.png doesn't for me.