branch: externals/modus-operandi-theme
commit e0d1a2a6ff64299d16421b0f3c76f74fb695482a
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
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