mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
emacs: make faces readable on dark backgrounds.
The notmuch-tag-flagged, notmuch-search-flagged-face and notmuch-crypto-part-header faces defaulted to "blue", which is nearly unreadable when a dark background is in use. This is addressed by using "LightBlue1" for dark backgrounds. As a side effect, these faces are now no-op definitions for grayscale or mono displays.
This commit is contained in:
parent
429c30c2bc
commit
d62f9dbfc0
3 changed files with 17 additions and 3 deletions
|
@ -42,7 +42,12 @@ mode."
|
|||
:group 'notmuch-crypto)
|
||||
|
||||
(defface notmuch-crypto-part-header
|
||||
'((t (:foreground "blue")))
|
||||
'((((class color)
|
||||
(background dark))
|
||||
(:foreground "LightBlue1"))
|
||||
(((class color)
|
||||
(background light))
|
||||
(:foreground "blue")))
|
||||
"Face used for crypto parts headers."
|
||||
:group 'notmuch-crypto
|
||||
:group 'notmuch-faces)
|
||||
|
|
|
@ -115,7 +115,12 @@ Used in the default value of `notmuch-tag-formats`."
|
|||
:group 'notmuch-faces)
|
||||
|
||||
(defface notmuch-tag-flagged
|
||||
'((t :foreground "blue"))
|
||||
'((((class color)
|
||||
(background dark))
|
||||
(:foreground "LightBlue1"))
|
||||
(((class color)
|
||||
(background light))
|
||||
(:foreground "blue")))
|
||||
"Face used for the flagged tag.
|
||||
|
||||
Used in the default value of `notmuch-tag-formats`."
|
||||
|
|
|
@ -313,7 +313,11 @@ there will be called at other points of notmuch execution."
|
|||
:group 'notmuch-faces)
|
||||
|
||||
(defface notmuch-search-flagged-face
|
||||
'((t
|
||||
'((((class color)
|
||||
(background dark))
|
||||
(:foreground "LightBlue1"))
|
||||
(((class color)
|
||||
(background light))
|
||||
(:foreground "blue")))
|
||||
"Face used in search mode face for flagged threads.
|
||||
|
||||
|
|
Loading…
Reference in a new issue