Hi, @Kovid.
About this commit:
https://github.com/kovidgoyal/calibr...9e118a40fa7a90
Can I import this from a plugin to detect if Dark Mode is set? Maybe like this:
Code:
from calibre.gui2 import is_dark_theme
Is this a boolean? This would be useful to adapt the icons automatically.
EDIT: Oops... already answered below as I was editing it.