I'm working on a new browser extension and I'm using Mozilla's web-ext tool to test it. I couldn't figure out how to run the test browser in dark mode.
So far I have tried this:
web-ext run --verbose --pref extensions.activeThemeID=firefox-compact-dark@mozilla.org