If you have problems with dark/light themes in Firefox. Browser not following system setting or you don’t want it to follow theme (Firefox does it since 95) or you have problems with custom dark theme and so on.
- Go to about:config
- Find
layout.css.prefers-color-scheme.content-override
- Dark (0), light (1), system (2) or browser (3).