nordtheme / emacs

An arctic, north-bluish clean and elegant Emacs theme.
https://www.nordtheme.com/ports/emacs
MIT License
491 stars 63 forks source link

proposal/request: make background color for search results configurable as well #128

Open jf opened 1 year ago

jf commented 1 year ago

first of all, thank you for the work on the theme!

When doing a search, I find my eyes drawn more to the non-current search results, with a brighter nord12 background, than the current search result, with what appears to be a nord8 background. I would personally like to try switching the background colors around, so that "current" search result, where my cursor is, gets a background color of nord12, and the non-current search results nord8. I found this line which seems to change the color of the "current" search result:

`(isearch ((,class (:foreground ,nord0 :background ,nord8))))

... except for whatever reason, changing the background color to nord12 does not get me what I want (the second "gnu" is current):

Screenshot 2023-10-05 at 23 30 13

The background color seems to be more like nord11 ("red") than nord12...

And that's just for the current search result. What about for the other search results? I can't seem to find where I would go to change the color for that.

All that aside, making the background color configurable for search results, both for "current" as well as for "non-current" would be great.