This question already has an answer here:

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.

marked as duplicate by muru, Eric Carvalho, Fabby, David Foerster, clearkimura May 15 at 13:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 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. – luisgonzalez May 11 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 at 19:01
up vote 16 down vote accepted

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 or ask your own question.