How can I make sure that Firefox doesn't use my GTK theme in the non-chrome part?
You can specify a light GTK theme to use for rendering webpages in about:config
. This is great because your system theme will still apply for menus, etc., but the webpages will be rendered as they are with light themes.
- Navigate to
about:config
in your Firefox browser - Right click and select "New"→"String"
- Enter
widget.content.gtk-theme-override
as the name - Enter a light GTK theme that you have installed on your system for the value. e.g., "Arc"
- Restart Firefox
Source: https://www.reddit.com/r/firefox/comments/6rbvvw/photon_rectangular_tabs_have_landed_in_nightly/dl4318f/
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1283086