16

I have this issue with some form fields in Firefox and using the adwaita-dark theme. In some webpages where the field background is white, you cannot read the text because it is also white.

This question was edited in order to clarify that this kind of wording of the question might help people who are not familiar with what a GTK+ theme. I also thing that the wording will help to get more hits through search engines. If it's still considered a duplicate, I'll accept it.

2
  • I consider the possibility that is a duplicate, @muru, although I think that the wording of my question might help other basic users (almost like me) to find the solution through search engines. Also, the original question is outdated and this one has gone through my own testing. May 11, 2018 at 18:00
  • 4
    If your question is closed as a duplicate, people who search for the terms in your question will still find it - that's actually why we value and keep duplicates
    – Zanna
    May 11, 2018 at 19:01

1 Answer 1

27

I used the procedure stated in this website.

  1. Open about:config in the address bar
  2. Create a new string type preference (right mouse button > New > String) named widget.content.gtk-theme-override
  3. Set the value to the light theme to use for rendering purposes (e.g. Adwaita)
  4. Restart Firefox

This forced Firefox to use the light theme instead of the dark one in webpages. I think it might work on some other themes that have this issue while using the dark variant.

Not the answer you're looking for? Browse other questions tagged .