1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Adjust colors of help-key-binding face for readability

* lisp/faces.el (help-key-binding): Adjust colors for improved
readability, and use a flat :box for highlighting (with negative
:line-width height to avoid any vertical resizing of the minibuffer).

This was discussed in:
https://lists.gnu.org/r/emacs-devel/2021-03/msg00535.html
This commit is contained in:
Stefan Kangas 2021-03-13 15:17:24 +01:00
parent 695f6792f1
commit 8415a95130

View File

@ -2816,8 +2816,12 @@ Note: Other faces cannot inherit from the cursor face."
:group 'help)
(defface help-key-binding
'((((class color) (min-colors 88) (background light)) :background "grey90")
(((class color) (min-colors 88) (background dark)) :background "grey25")
'((((class color) (min-colors 88) (background light))
:background "grey92" :foreground "DarkBlue"
:box (:line-width (1 . -1) :color "grey80"))
(((class color) (min-colors 88) (background dark))
:background "grey23" :foreground "LightBlue"
:box (:line-width (1 . -1) :color "grey35"))
(((class color grayscale) (background light)) :background "grey90")
(((class color grayscale) (background dark)) :background "grey25")
(t :background "grey90"))