Changing Gnome theme for only one program

Hi.
I’m using Fedora 29, but I have question about Gnome themes, that, I hope, You can answer.
I have enabled dark Gnome theme (“Adwaita-dark”) using “Tweaks” tool, which works really well on most programs but not on Mozilla Firefox (I’m an aesthetics freak). So I want to have a light Gnome theme only for this program. Changing theme in Firefox’s options doesn’t help, because it changes only header, but text input, check boxes, buttons etc. in some pages are still in dark colour, which sometimes even makes text non-readable – grey text on grey background.
Basically I want to change Gnome theme to light in only one program. Can You, please tell me, is it even possible and how can I do that?

Thanks

for all software try this command example : GTK_THEME=Adwaita firefox
also you can make new desktop entry like this example :

cat > ~/.local/share/applications/firefox_adwaita.desktop <<ENDOF
[Desktop Entry]
Version=1.0
Name=Firefox with Adwaita Theme
GenericName=Web Browser with Adwaita Theme
Comment=Browse the Web with Adwaita Theme
Exec=env GTK_THEME=Adwaita firefox %u
Icon=firefox
Terminal=false
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
Categories=Network;WebBrowser;
Keywords=web;browser;internet;
Actions=new-window;new-private-window;
X-Desktop-File-Install-Version=0.23
[Desktop Action new-window]
Name=Open a New Window with Adwaita Theme
Exec=env GTK_THEME=Adwaita firefox --new-window %u
[Desktop Action new-private-window]
Name=Open a New Private Window with Adwaita Theme
Exec=env GTK_THEME=Adwaita firefox --private-window %u
ENDOF

for firefox only you can search for themes
https://addons.mozilla.org/en-US/firefox/search/?q=adwaita

or go to Customize > Themes > Light .

2 Likes