mate-desktop / mate-themes

Official themes for the MATE desktop
https://mate-desktop.org
GNU Lesser General Public License v2.1
76 stars 45 forks source link

BlackMATE text/background color of input field (in Firefox) #202

Closed smikkelsendk closed 4 years ago

smikkelsendk commented 6 years ago

Fedora 26 - Mate 1.18.0

Using this simple html page: < html > < body > < form action="" > < input type="text" name="test"/ > < /form > < /body > < /html >

I can see that the input field in Firefox (57.0.4) has dark text and dark background at the same time using BlackMATE theme. Google Chrome does not have this problem however.

firefox

monsta commented 6 years ago

@raveit65 @lukefromdc: same as https://github.com/mate-desktop/mate-themes/issues/144?

raveit65 commented 6 years ago

@monsta Maybe you don't know it, but ff and libreoffice don't use GtkWidgets in favor of their own backed Gtk3 stuff. In result you can't use gtk3-inspector to find the right selector for this part. And those heros don't use a specific selector like .firefox at top level which makes it possible only select firefox. Sorry, i don't want to study thier code to find out what i should do ;-)

smikkelsendk commented 6 years ago

If I steal the AmbientMATE-Dark theme from Ubuntu, it seems like they have made it work with firefox. However just copying the theme causes other things to stop working (ie mate-system-monitor crashes on startup) ambient mate

They actually have some mentions of firefox in their gtk-3.0/gtk-widgets.css: / mix of old and new syntax is for broken firefox / / fix for broken firefox / / broken firefox ignore background of trough /

lukefromdc commented 6 years ago

I have just about given up on trying to get anything to work in Firefox other than by userchrome.css files. I can't get the necesary information and it is totally different than anything else. On top of all else, FF57 changed enough of how userchrome.css is interpreted to break some things in that as well.

FF57 now offers three themes by default however, with only one of them closely tied to the system theme. We may simply have to recommend (or later write once there is enough information) dedicated FF themes

lukefromdc commented 6 years ago

One more remark about FF: I'd rather have a browser that is hard to theme than one that is hard to sever from Google and other commericial data harvesters. Thus I will always oppose suggestions for distros to default to Chrome

smikkelsendk commented 6 years ago

I found a workaround: Launch firefox with "env GTK_THEME=BlueMenta firefox", this causes firefox to use a different theme than the rest of the desktop.

raveit65 commented 4 years ago

Bildschirmfoto zu 2020-06-28 11-00-55 I don't see that issue any more with f32 and latest firefox.