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

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

[elpa] externals/modus-operandi-theme e0d1a2a 061/112: REVERT 46c99ed: s


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme e0d1a2a 061/112: REVERT 46c99ed: set background unconditionally
Date: Mon, 30 Mar 2020 15:59:39 -0400 (EDT)

branch: externals/modus-operandi-theme
commit e0d1a2a6ff64299d16421b0f3c76f74fb695482a
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>

    REVERT 46c99ed: set background unconditionally
    
    This addresses issue 27:
    https://gitlab.com/protesilaos/modus-themes/-/issues/27
    
    It reverts the commit that followed issue 26:
    https://gitlab.com/protesilaos/modus-themes/-/issues/26
    
    With regard to the latter, I recognise that the problem persists.  A
    solution would need to be broader in scope.  I need expert help (or
    documentation) to figure out the interplay between the terminal
    emulator's or TTY's colours (first 16 ANSI sequences) and Emacs'
    faces (the theme).  Any contribution to that end is more than welcome,
    but changes from now on will be pushed to another branch.
---
 modus-operandi-theme.el | 3 +--
 modus-vivendi-theme.el  | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 17efa5c..f91f31b 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -529,8 +529,7 @@ between foreground and background is >= 7:1)."
    ;;;;;;;;;;;;;;;;;;;
    ;;; default constructs
    ;;;; absolute essentials
-   `(default ((,class (:background ,(when (display-graphic-p) bg-main)
-                                   :foreground ,fg-main))))
+   `(default ((,class (:background ,bg-main :foreground ,fg-main))))
    `(cursor ((,class (:background ,fg-main))))
    `(fringe ((,class (:background ,bg-main :foreground ,fg-main))))
    ;;;; basic and/or ungrouped styles
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 510c06d..3960a7f 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -529,8 +529,7 @@ between foreground and background is >= 7:1)."
    ;;;;;;;;;;;;;;;;;;;
    ;;; default constructs
    ;;;; absolute essentials
-   `(default ((,class (:background ,(when (display-graphic-p) bg-main)
-                                   :foreground ,fg-main))))
+   `(default ((,class (:background ,bg-main :foreground ,fg-main))))
    `(cursor ((,class (:background ,fg-main))))
    `(fringe ((,class (:background ,bg-main :foreground ,fg-main))))
    ;;;; basic and/or ungrouped styles



reply via email to

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