Add support for selectrum-mouse-highlight

This makes the mouse hover effect for selectrum look the same as in most
other contexts.  Thanks to okamsn for the feedback in issue 203:
<https://gitlab.com/protesilaos/modus-themes/-/issues/203>.
This commit is contained in:
Protesilaos Stavrou 2021-05-26 10:07:44 +03:00
parent 8cd5d91fb0
commit f3357f0952
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -5,7 +5,7 @@
;; Author: Protesilaos Stavrou <info@protesilaos.com>
;; URL: https://gitlab.com/protesilaos/modus-themes
;; Version: 1.4.0
;; Last-Modified: <2021-05-25 23:17:25 +0300>
;; Last-Modified: <2021-05-26 10:06:30 +0300>
;; Package-Requires: ((emacs "26.1"))
;; Keywords: faces, theme, accessibility
@ -6183,6 +6183,7 @@ by virtue of calling either of `modus-themes-load-operandi' and
:background ,@(pcase modus-themes-completions
('opinionated (list bg-active))
(_ (list bg-inactive))))))
`(selectrum-mouse-highlight ((,class :inherit highlight)))
`(selectrum-primary-highlight
((,class :inherit bold
,@(modus-themes--standard-completions