emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-vivendi-theme 2101557 105/110: Use less intense f


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme 2101557 105/110: Use less intense foreground for fringe indicators
Date: Wed, 29 Apr 2020 21:40:17 -0400 (EDT)

branch: externals/modus-vivendi-theme
commit 21015579bac422be71e1090c8eff6dc001aa1ecb
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>

    Use less intense foreground for fringe indicators
    
    This builds on the latest refinements to the overall luminance of the
    colours used for fringe indicators and how these relate to relevant
    faces.  See commits 4c18005 and 24cea55.
    
    This changeset should further improve the looks of indicators such as
    those produced by Flycheck in these cases:
    
    https://github.com/flycheck/flycheck/pull/1743
    
    My update is demonstrated here (also shows diff-hl and flymake):
    
    
https://gitlab.com/protesilaos/modus-themes/-/wikis/uploads/bb8e1098eb9c43878b111f6d2017cef4/Screenshot_from_2020-04-28_14-40-33.png
    
    
https://gitlab.com/protesilaos/modus-themes/-/wikis/uploads/6f91d74fbee80da6643a1bb0ae095b5f/Screenshot_from_2020-04-28_14-41-03.png
---
 modus-operandi-theme.el | 14 +++++++-------
 modus-vivendi-theme.el  | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index e0bebda..473fa83 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -590,7 +590,7 @@ AMOUNT is a customisation option."
       ;; styles that are meant exclusively for the fringes
       ;;
       ;; must have a minimum contrast ratio of 1.5:1 with `bg-inactive'
-      ;; and be combined with `fg-main'
+      ;; and be combined with `fg-main' or `fg-dim'
       (red-fringe-bg "#ff9a9a") (green-fringe-bg "#86cf86")
       (yellow-fringe-bg "#e0c050") (blue-fringe-bg "#82afff")
       (magenta-fringe-bg "#f0a3ff") (cyan-fringe-bg "#00d6e0")
@@ -719,12 +719,12 @@ AMOUNT is a customisation option."
    `(modus-theme-active-magenta ((,class (:background ,magenta-active 
:foreground ,bg-active))))
    `(modus-theme-active-cyan ((,class (:background ,cyan-active :foreground 
,bg-active))))
    ;;; for fringe indicators
-   `(modus-theme-fringe-red ((,class (:background ,red-fringe-bg :foreground 
,fg-main))))
-   `(modus-theme-fringe-green ((,class (:background ,green-fringe-bg 
:foreground ,fg-main))))
-   `(modus-theme-fringe-yellow ((,class (:background ,yellow-fringe-bg 
:foreground ,fg-main))))
-   `(modus-theme-fringe-blue ((,class (:background ,blue-fringe-bg :foreground 
,fg-main))))
-   `(modus-theme-fringe-magenta ((,class (:background ,magenta-fringe-bg 
:foreground ,fg-main))))
-   `(modus-theme-fringe-cyan ((,class (:background ,cyan-fringe-bg :foreground 
,fg-main))))
+   `(modus-theme-fringe-red ((,class (:background ,red-fringe-bg :foreground 
,fg-dim))))
+   `(modus-theme-fringe-green ((,class (:background ,green-fringe-bg 
:foreground ,fg-dim))))
+   `(modus-theme-fringe-yellow ((,class (:background ,yellow-fringe-bg 
:foreground ,fg-dim))))
+   `(modus-theme-fringe-blue ((,class (:background ,blue-fringe-bg :foreground 
,fg-dim))))
+   `(modus-theme-fringe-magenta ((,class (:background ,magenta-fringe-bg 
:foreground ,fg-dim))))
+   `(modus-theme-fringe-cyan ((,class (:background ,cyan-fringe-bg :foreground 
,fg-dim))))
    ;;; special base values that are closer to the grayscale than
    ;;; the accents defined above
    `(modus-theme-special-cold ((,class (:background ,bg-special-cold 
:foreground ,fg-special-cold))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 0515984..2071e32 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -590,7 +590,7 @@ AMOUNT is a customisation option."
       ;; styles that are meant exclusively for the fringes
       ;;
       ;; must have a minimum contrast ratio of 1.5:1 with `bg-inactive'
-      ;; and be combined with `fg-main'
+      ;; and be combined with `fg-main' or `fg-dim'
       (red-fringe-bg "#8f0040") (green-fringe-bg "#006000")
       (yellow-fringe-bg "#6f4a00") (blue-fringe-bg "#3a30ab")
       (magenta-fringe-bg "#692089") (cyan-fringe-bg "#0068a0")
@@ -719,12 +719,12 @@ AMOUNT is a customisation option."
    `(modus-theme-active-magenta ((,class (:background ,magenta-active 
:foreground ,bg-active))))
    `(modus-theme-active-cyan ((,class (:background ,cyan-active :foreground 
,bg-active))))
    ;;; for fringe indicators
-   `(modus-theme-fringe-red ((,class (:background ,red-fringe-bg :foreground 
,fg-main))))
-   `(modus-theme-fringe-green ((,class (:background ,green-fringe-bg 
:foreground ,fg-main))))
-   `(modus-theme-fringe-yellow ((,class (:background ,yellow-fringe-bg 
:foreground ,fg-main))))
-   `(modus-theme-fringe-blue ((,class (:background ,blue-fringe-bg :foreground 
,fg-main))))
-   `(modus-theme-fringe-magenta ((,class (:background ,magenta-fringe-bg 
:foreground ,fg-main))))
-   `(modus-theme-fringe-cyan ((,class (:background ,cyan-fringe-bg :foreground 
,fg-main))))
+   `(modus-theme-fringe-red ((,class (:background ,red-fringe-bg :foreground 
,fg-dim))))
+   `(modus-theme-fringe-green ((,class (:background ,green-fringe-bg 
:foreground ,fg-dim))))
+   `(modus-theme-fringe-yellow ((,class (:background ,yellow-fringe-bg 
:foreground ,fg-dim))))
+   `(modus-theme-fringe-blue ((,class (:background ,blue-fringe-bg :foreground 
,fg-dim))))
+   `(modus-theme-fringe-magenta ((,class (:background ,magenta-fringe-bg 
:foreground ,fg-dim))))
+   `(modus-theme-fringe-cyan ((,class (:background ,cyan-fringe-bg :foreground 
,fg-dim))))
    ;;; special base values that are closer to the grayscale than
    ;;; the accents defined above
    `(modus-theme-special-cold ((,class (:background ,bg-special-cold 
:foreground ,fg-special-cold))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]