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.

luisgonzalez
  • 1,569

1 Answers1

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.

luisgonzalez
  • 1,569