I thought the same but gave it a try anyways. To use it properly I might have to rewrite the plugin but as you can see it does make a difference.
I only did the bare minimum so not sure if I broke something else but I might give it a try.
Code:
app = PluginApplication(files, bk, icon)
app.match_sigil_darkmode()
Thank you both.