Firefox 68 Nightly added dark version to about:addons breaking many add-ons

This is how I saw my add-on’s options page recently:

It seems Mozilla used prefers-color-scheme to add a dark version to the add-on manager at about:addons.

Did you consider that you are thereby breaking many (or, actually, likely all) add-ons that do use the options inside of the manager and use browserStyle?

Issues

  • I wonder, as I use browserStyle, why did not Firefox also set the text color to white then?
  • As I for now did not customize the input elements, I had assumed they have to look good in dark mode now, too. I am not sure about that seeing the screenshot…

Solution

It’s obvious add-ons can (or actually have to) implement a dark mode, too, now. And with the CSS media query feature mentioned above, it’s also very clear how.

However, that takes time…

Questions

Anyway, for planning on what needs to be changed how/when, I have some questions:

  • Was this announced anywhere? (Also please post Bugzilla links if useful.)
  • In which Firefox version did you introduce that feature? (Based on my testing, I assume Firefox 68 Nightly.)
  • When will this land in stable? What is the timeline for that?
  • Will there be still changes to the CSS that get’s applied for the dark mode there? (e.g. the white font, as I’ve suggested above)

Links

The bug reports/affected add-ons I’ve created so far:

Seems the general effort is tracked here and the issue I am describing here is known. Seeing a patch there that forces add-ons to use white mode…

However, I would well like to adjust the add-on for a dark mode. After all, it looks awkward to have a white space for the add-on settings.
So possibly you can just also adjust the text color by default with browserStyle?

So again: What is the current plan?