Revise bg-hover hue in all themes except tritanopia

The previous colour was not sufficiently distinct from bg-completion.
This would make it hard to spot the difference while, for example,
using 'vertico-mode' in tandem with 'vertico-mouse-mode'.

Same principle for the difference between the mouse hover and lazy
isearch highlights (e.g. in Dired or Occur buffers).

Changing the hue here follows the same principle that underpinned the
redesign of the grey backgrounds for version 4 of the project:
depending on hardware capabilities, colour reproduction may not be
optimal, so we need to be more considerate with the choice of colour
values.

The tritanopia themes are not affected by this, as they already use
highly distinct hues.

Thanks to Daniel Mendler[1] for bringing this matter to my attention
and for testing the proposed alternatives.  This was done via a
private channel and the information is shared with permission.

[1] <https://github.com/minad>
This commit is contained in:
Protesilaos Stavrou 2023-07-07 09:52:13 +03:00
parent 960571c1ec
commit 4e331d27de
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
6 changed files with 6 additions and 6 deletions

View file

@ -155,7 +155,7 @@ standard).")
;;; Special purpose
(bg-completion "#c0deff")
(bg-hover "#97dfed")
(bg-hover "#b2e4dc")
(bg-hover-secondary "#f5d0a0")
(bg-hl-line "#dae5ec")
(bg-region "#bdbdbd")

View file

@ -153,7 +153,7 @@ which corresponds to a minimum contrast in relative luminance of
;;; Special purpose
(bg-completion "#c0deff")
(bg-hover "#94d4ff")
(bg-hover "#b2e4dc")
(bg-hover-secondary "#f5d0a0")
(bg-hl-line "#dae5ec")
(bg-region "#bdbdbd")

View file

@ -152,7 +152,7 @@ which corresponds to a minimum contrast in relative luminance of
;;; Special purpose
(bg-completion "#f0c1cf")
(bg-hover "#94d4ff")
(bg-hover "#b2e4dc")
(bg-hover-secondary "#f5d0a0")
(bg-hl-line "#f1d5d0")
(bg-region "#c2bcb5")

View file

@ -154,7 +154,7 @@ standard).")
;;; Special purpose
(bg-completion "#2f447f")
(bg-hover "#004f70")
(bg-hover "#45605e")
(bg-hover-secondary "#654a39")
(bg-hl-line "#2f3849")
(bg-region "#5a5a5a")

View file

@ -152,7 +152,7 @@ which corresponds to a minimum contrast in relative luminance of
;;; Special purpose
(bg-completion "#2f447f")
(bg-hover "#004f70")
(bg-hover "#45605e")
(bg-hover-secondary "#654a39")
(bg-hl-line "#2f3849")
(bg-region "#5a5a5a")

View file

@ -146,7 +146,7 @@ which corresponds to a minimum contrast in relative luminance of
;;; Special purpose
(bg-completion "#483d8a")
(bg-hover "#004f70")
(bg-hover "#45605e")
(bg-hover-secondary "#654a39")
(bg-hl-line "#303a6f")
(bg-region "#555a66")