I'm a huge fan of dark themes. I also use Firefox as my daily browser. But in most Linux distributions, Firefox doesn't play nicely with dark themes. Especially when it comes to html inputs. If you are using a dark theme and Firefox on Linux, you might have seen pages with broken styles.

But the good news is there is an easy fix for this. Which will only take a couple of minutes. Let me show you how.

  1. Open about:config in Firefox
  2. Create a new String value (right click), named widget.content.gtk-theme-override
  3. Set a light GTK theme name as the value. (name of the default light theme of your system)
  4. Restart Firefox

and you are done!.

Previous Post