Firefox displaying input bars as black, equations in light gray
You can override gtk theme used by Firefox:
- navigate to
about:config
- create a string key
widget.content.gtk-theme-override
- set the value to any light theme name, for example
Adwaita:light
- restart Firefox to apply
I found this issue was caused by Firefox attempting to use certain colors from my (dark) GTK theme, but it often unexpectedly clashed with things like input boxes.
To disable this:
Navigate to
about:config
Search for
browser.display.use_system_colors
Set the value to
false
I've no longer noticed any poorly contrasting colors, and my context menus and similar still use my GTK theme.