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

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

[elpa] externals/modus-operandi-theme ec56992 137/153: Refine line-numbe


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme ec56992 137/153: Refine line-number-{major, minor}-tick (Emacs27+)
Date: Thu, 18 Mar 2021 13:47:57 -0400 (EDT)

branch: externals/modus-operandi-theme
commit ec569923423144a94f08746f1a35619b8f5dbc44
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Refine line-number-{major,minor}-tick (Emacs27+)
---
 modus-operandi-theme.el | 8 ++++++--
 modus-vivendi-theme.el  | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 8ef44d6..57b495b 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -4507,8 +4507,12 @@ Also bind `class' to ((class color) (min-colors 89))."
      ;; NOTE that this is specifically for the faces that were
      ;; introduced in Emacs 27, as the other faces are already
      ;; supported.
-     `(line-number-major-tick ((,class :inherit default :background 
,yellow-nuanced-bg :foreground ,yellow-nuanced)))
-     `(line-number-minor-tick ((,class :inherit default :background 
,cyan-nuanced-bg :foreground ,cyan-nuanced)))
+     `(line-number-major-tick ((,class :inherit (bold default)
+                                       :background ,yellow-nuanced-bg
+                                       :foreground ,yellow-nuanced)))
+     `(line-number-minor-tick ((,class :inherit (bold default)
+                                       :background ,bg-inactive
+                                       :foreground ,fg-inactive)))
 ;;;;; tab-bar-mode
      `(tab-bar ((,class :background ,bg-tab-bar :foreground ,fg-main)))
      `(tab-bar-tab ((,class :inherit bold :box (:line-width 2 :color 
,bg-tab-active)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 7bd2a57..acdf6c0 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -4507,8 +4507,12 @@ Also bind `class' to ((class color) (min-colors 89))."
      ;; NOTE that this is specifically for the faces that were
      ;; introduced in Emacs 27, as the other faces are already
      ;; supported.
-     `(line-number-major-tick ((,class :inherit default :background 
,yellow-nuanced-bg :foreground ,yellow-nuanced)))
-     `(line-number-minor-tick ((,class :inherit default :background 
,cyan-nuanced-bg :foreground ,cyan-nuanced)))
+     `(line-number-major-tick ((,class :inherit (bold default)
+                                       :background ,yellow-nuanced-bg
+                                       :foreground ,yellow-nuanced)))
+     `(line-number-minor-tick ((,class :inherit (bold default)
+                                       :background ,bg-inactive
+                                       :foreground ,fg-inactive)))
 ;;;;; tab-bar-mode
      `(tab-bar ((,class :background ,bg-tab-bar :foreground ,fg-main)))
      `(tab-bar-tab ((,class :inherit bold :box (:line-width 2 :color 
,bg-tab-active)



reply via email to

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