General usability refinements for ACE-WINDOW

The problem with the previous faces was that the overlay character would
overflow the entire line with its background colour, if that line was
empty.  Now that the background is set to be the same as the main
background, this no longer creates major inconsistencies.

Furthermore, the rest of the window is dimmed entirely, including all
foreground values.  That way it is easier to recognise the overlay
character that `ace-window' presents.

The overlay's foreground value has been changed from the overall green
looks it had before to an appropriate red, with the idea of conveying a
sense of urgency.
This commit is contained in:
Protesilaos Stavrou 2019-12-16 13:22:55 +02:00
parent 6bd0666586
commit dfe0f36c89
No known key found for this signature in database
GPG Key ID: 99BD6459CD5CA3EA
2 changed files with 4 additions and 4 deletions

View File

@ -325,9 +325,9 @@ between foreground and background is >= 7:1)."
`(avy-lead-face-1 ((,class (:inherit modus-theme-intense-red :weight bold))))
`(avy-lead-face-2 ((,class (:inherit modus-theme-intense-green :weight bold))))
;;;; aw (ace-window)
`(aw-background-face ((,class (:background ,bg-alt))))
`(aw-background-face ((,class (:background ,bg-dim :foreground ,fg-dim))))
`(aw-key-face ((,class (:foreground ,blue-intense :weight bold))))
`(aw-leading-char-face ((,class (:height 1.5 :inherit modus-theme-intense-green :weight bold))))
`(aw-leading-char-face ((,class (:height 1.5 :background ,bg-main :foreground ,red-intense :weight bold))))
`(aw-minibuffer-leading-char-face ((,class (:foreground ,magenta-active))))
`(aw-mode-line-face ((,class (:weight bold))))
;;;; buttons, links, widgets

View File

@ -325,9 +325,9 @@ between foreground and background is >= 7:1)."
`(avy-lead-face-1 ((,class (:inherit modus-theme-intense-red :weight bold))))
`(avy-lead-face-2 ((,class (:inherit modus-theme-intense-green :weight bold))))
;;;; aw (ace-window)
`(aw-background-face ((,class (:background ,bg-alt))))
`(aw-background-face ((,class (:background ,bg-dim :foreground ,fg-dim))))
`(aw-key-face ((,class (:foreground ,blue-intense :weight bold))))
`(aw-leading-char-face ((,class (:height 1.5 :inherit modus-theme-intense-green :weight bold))))
`(aw-leading-char-face ((,class (:height 1.5 :background ,bg-main :foreground ,red-intense :weight bold))))
`(aw-minibuffer-leading-char-face ((,class (:foreground ,magenta-active))))
`(aw-mode-line-face ((,class (:weight bold))))
;;;; buttons, links, widgets