From 4e331d27dec9eb6d61a0fdf87aba1942966efbdf Mon Sep 17 00:00:00 2001 From: Protesilaos Stavrou Date: Fri, 7 Jul 2023 09:52:13 +0300 Subject: [PATCH] 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] --- modus-operandi-deuteranopia-theme.el | 2 +- modus-operandi-theme.el | 2 +- modus-operandi-tinted-theme.el | 2 +- modus-vivendi-deuteranopia-theme.el | 2 +- modus-vivendi-theme.el | 2 +- modus-vivendi-tinted-theme.el | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modus-operandi-deuteranopia-theme.el b/modus-operandi-deuteranopia-theme.el index 4f70a84..3bd7686 100644 --- a/modus-operandi-deuteranopia-theme.el +++ b/modus-operandi-deuteranopia-theme.el @@ -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") diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el index e47258f..7fabce3 100644 --- a/modus-operandi-theme.el +++ b/modus-operandi-theme.el @@ -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") diff --git a/modus-operandi-tinted-theme.el b/modus-operandi-tinted-theme.el index dd7ea4a..07e14cd 100644 --- a/modus-operandi-tinted-theme.el +++ b/modus-operandi-tinted-theme.el @@ -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") diff --git a/modus-vivendi-deuteranopia-theme.el b/modus-vivendi-deuteranopia-theme.el index 2c3a92f..7a10073 100644 --- a/modus-vivendi-deuteranopia-theme.el +++ b/modus-vivendi-deuteranopia-theme.el @@ -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") diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el index 1c0f6cf..2ee7e5e 100644 --- a/modus-vivendi-theme.el +++ b/modus-vivendi-theme.el @@ -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") diff --git a/modus-vivendi-tinted-theme.el b/modus-vivendi-tinted-theme.el index d16b96a..683e018 100644 --- a/modus-vivendi-tinted-theme.el +++ b/modus-vivendi-tinted-theme.el @@ -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")