(In reply to Martin Stránský [:stransky] from comment #2)
I didn't expected anyone want to style menus for instance.
Depending on the GTK theme, headerbar may have different background color when the client is active or inactive, e.g. black when active, and white when inactive. Thus we need some way to change text color in the menubar when Firefox window becomes inactive to ensure that text is still readable.
Does your style script work for other Gtk3 applications? like gtk3-demo or gtk3-widget-factory.
Yes and no, I'm able to specify background-color for inactive windows, but not color for some reason.
I expect the construction from nsNativeThemeGTK.cpp:
EventStates docState =
aState->backdrop = docState.HasState(NS_DOCUMENT_STATE_WINDOW_INACTIVE);
can be used for all elements. Do you mind to write a patch for it?
What do you mean?