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

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

[elpa] externals/modus-operandi-theme 1b81e98 119/153: Fix issue with li


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 1b81e98 119/153: Fix issue with line numbers and text-scale-adjust
Date: Thu, 18 Mar 2021 13:47:53 -0400 (EDT)

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

    Fix issue with line numbers and text-scale-adjust
    
    This was reported in issue 98:
    https://gitlab.com/protesilaos/modus-themes/-/issues/98
    
    Thanks to jixiuf!
---
 modus-operandi-theme.el | 8 ++++----
 modus-vivendi-theme.el  | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index a22b6a7..daea3dc 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3080,8 +3080,8 @@ Also bind `class' to ((class color) (min-colors 89))."
                              blue-active blue-intense
                              'alt-style -3))))
 ;;;;; line numbers (display-line-numbers-mode and global variant)
-   `(line-number ((,class :background ,bg-dim :foreground ,fg-alt)))
-   `(line-number-current-line ((,class :inherit bold :background ,bg-active 
:foreground ,fg-active)))
+   `(line-number ((,class :inherit default :background ,bg-dim :foreground 
,fg-alt)))
+   `(line-number-current-line ((,class :inherit (default bold) :background 
,bg-active :foreground ,fg-active)))
 ;;;;; lsp-mode
    `(lsp-face-highlight-read ((,class :inherit modus-theme-subtle-blue 
:underline t)))
    `(lsp-face-highlight-textual ((,class :inherit modus-theme-subtle-blue)))
@@ -4515,8 +4515,8 @@ 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 (:background ,yellow-nuanced-bg 
:foreground ,yellow-nuanced))))
-     `(line-number-minor-tick ((,class (:background ,cyan-nuanced-bg 
:foreground ,cyan-nuanced))))
+     `(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)))
 ;;;;; 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 28f012a..6e517f8 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3080,8 +3080,8 @@ Also bind `class' to ((class color) (min-colors 89))."
                              blue-active blue-intense
                              'alt-style -3))))
 ;;;;; line numbers (display-line-numbers-mode and global variant)
-   `(line-number ((,class :background ,bg-dim :foreground ,fg-alt)))
-   `(line-number-current-line ((,class :inherit bold :background ,bg-active 
:foreground ,fg-active)))
+   `(line-number ((,class :inherit default :background ,bg-dim :foreground 
,fg-alt)))
+   `(line-number-current-line ((,class :inherit (default bold) :background 
,bg-active :foreground ,fg-active)))
 ;;;;; lsp-mode
    `(lsp-face-highlight-read ((,class :inherit modus-theme-subtle-blue 
:underline t)))
    `(lsp-face-highlight-textual ((,class :inherit modus-theme-subtle-blue)))
@@ -4515,8 +4515,8 @@ 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 (:background ,yellow-nuanced-bg 
:foreground ,yellow-nuanced))))
-     `(line-number-minor-tick ((,class (:background ,cyan-nuanced-bg 
:foreground ,cyan-nuanced))))
+     `(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)))
 ;;;;; 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]