Skip to content

How Do I Fix The Swiper Highlight Color Issue? #3008

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

Open
SamuelBanya opened this issue Jan 31, 2023 · 2 comments
Open

How Do I Fix The Swiper Highlight Color Issue? #3008

SamuelBanya opened this issue Jan 31, 2023 · 2 comments
Labels

Comments

@SamuelBanya
Copy link

SamuelBanya commented Jan 31, 2023

Hello there,

I use a custom theme that I created aka the 'morrowind-emacs-theme' found here:
https://github.com/samuelbanya/morrowind-emacs-theme

My Emacs config can be found here:
https://github.com/samuelbanya/samsemacs
https://github.com/SamuelBanya/SamsEmacs/blob/main/configuration.org

The problem I am getting is found in this screenshot:
https://ibb.co/djrW75V

Is there any way to figure out why I'm being blinded by such an awful highlight color in the minibuffer?

Thanks!

@SamuelBanya
Copy link
Author

Can anyone point me in the right direction as how to customize the ivy related face being used by the 'counsel-grep-or-swiper' function within the Emacs mini buffer?

I can't seem to use M-x describe-face within the Emacs minibuffer without getting this message, so I can't give more details as to why I'm getting that crazy grey highlighted mess:

Command attempted to use minibuffer while in minibuffer

@basil-conto
Copy link
Collaborator

Can anyone point me in the right direction as how to customize the ivy related face being used by the 'counsel-grep-or-swiper' function within the Emacs mini buffer?

I'm not entirely sure but my guess is it's the same faces used by swiper or counsel-grep.

You can find all Ivy-related faces under M-x customize-group RET ivy-faces RET.

For example, Swiper defines swiper-match-face-<N>, swiper-background-match-face-<N>, etc.

You could also have a look at what other themes are doing. For example, I have found the built-in Modus themes to be quite well-organised (you can search for Ivy/Swiper/Counsel faces), exhaustive, and providing good contrast. That might tell you which faces it is useful to customise.

I can't seem to use M-x describe-face within the Emacs minibuffer without getting this message, so I can't give more details as to why I'm getting that crazy grey highlighted mess:

Command attempted to use minibuffer while in minibuffer

Have you tried configuring enable-recursive-minibuffers?

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

No branches or pull requests

2 participants