0

I am using Emacs in a terminal. This is what the menu bar looks like:

Emacs menu-bar-mode

The menu bar has a white foreground and a black background. I want a green background with a pink foreground instead. Is there a way to do this?

(Emacs version: GNU Emacs 25.2.2)

1

Fonts and colors are assigned to faces, and faces are assigned to text in both the buffers and the UI. The text in the menu and menu popups uses the menu face, so if you run M-x customize-face RET menu RET you'll be able to change it to look how you want.

0

To get a green background and a bold pink foreground for the menu bar, add this to your Emacs configuration:

(set-face-attribute 'menu nil
                    :inverse-video nil
                    :background "green"
                    :foreground "pink"
                    :bold t)

Result:

Emacs menu bar

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.