When we use the Xlib version of Emacs, we can define the appearance of Emacs's menu bar, toolbar, and scroll bar by XResource.
Now, on Linux most of US use GTK version of Emacs, is there a way to define the appearance of Emacs's menu bar, toolbar, and so on?
One approach is to define the appearance of a global Gtk Widget through ~/.GTKRC. The appearance of Emacs will naturally change as well.
Another approach is to customize the appearance of Emacs's Gtk widgets individually. Here's the answer, which describes the resource name of Emacs and how to customize it.
Below we change the font of the Emacs menu bar. Create a new GTKRC file under ~/.emacs.d/. The contents are as follows:
Style "Emacs-menu"{ = "monospace" bg[NORMAL] = "Gray70" BG [ACTIVE] = "gray75" FG[NORMAL] = { 0.0, 0.2, 0.05"*menubar*" style "Emacs-menu""*emacs-menuitem*" style "Emacs-menu"
Now restart Emacs to see if the menu bar is changed?
How to customize widget appearance for GTK version emacs