Closed igorakkerman closed 2 years ago
The docomentation on https://webextension-api.thunderbird.net/en/91/messageDisplayAction.html#messagedisplayaction-themeicons says that dark
refers to dark text with a light theme and light
refers to light text with a dark theme. Indeed a bit confusing.
My problem is that the light
icon is never used. I have loaded your branch in my thunderbird and tested it.
Light (good): Dark (bad):
I want to understand why the light
icon is never used.
I understand your question now, sorry for the confusion. I believe, the light parts of the PNG are actually transparent, which is why you don't see anything on a dark background. They should be made white instead.
I found a solution for this problem, I will detecting the theme in the js and change the icon from there.
Do you have any idea, why the icon on the dark theme isn´t right? The icon should be white. Everything should be fine with your commit, I´ve also looked in the docu, but I have no clue why this isn´t work.