Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Highlighting #24

Closed
eccentricayman opened this issue Jan 9, 2017 · 3 comments
Closed

Text Highlighting #24

eccentricayman opened this issue Jan 9, 2017 · 3 comments

Comments

@eccentricayman
Copy link

Is there any way to disable the text highlighting on some of the faces?
Ex. filename in modeline

Screenshot example:
emacs

The prompt for "Find File: " is highlighted, and the same goes for "M-x".

@AnthonyDiGirolamo
Copy link
Owner

You can override the settings of any face that airline modifies by using custom-theme-set-faces. This technique should work with other themes as well.

  (load-theme 'airline-doom-one t)
  (custom-theme-set-faces
   'airline-doom-one
   `(minibuffer-prompt ((t (:background "#141a22" :foreground "#00B3EF" :weight bold))))
  )

If you want it to inherit from a different face you could use something like:

  (load-theme 'airline-doom-one t)
  (custom-theme-set-faces
   'airline-doom-one
   `(minibuffer-prompt ((t (:foreground nil :background nil :inherit 'default))))
  )

@eccentricayman
Copy link
Author

Second one works perfectly!

@everwwww
Copy link

Thanks Anthony!
Help a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants