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

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

[nongnu] elpa/monokai-theme 5a3fa99 194/207: Merge pull request #91 from


From: ELPA Syncer
Subject: [nongnu] elpa/monokai-theme 5a3fa99 194/207: Merge pull request #91 from seagle0128/master
Date: Thu, 21 Oct 2021 18:08:00 -0400 (EDT)

branch: elpa/monokai-theme
commit 5a3fa999f4f1ab2eeabf13a78d26eba7c1716051
Merge: 01400f1 2cc0b14
Author: Kelvin Smith <onekelvinsmith@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #91 from seagle0128/master
    
    Support `line-number` faces of Emacs 26.
---
 monokai-theme.el | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/monokai-theme.el b/monokai-theme.el
index 9a54674..9ab18be 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -3246,6 +3246,26 @@ Also affects 'linum-mode' background."
                                         :inherit default
                                         :underline nil))))
 
+   ;; line-number (>= Emacs26)
+   `(line-number
+     ((,monokai-class (:foreground ,monokai-line-number
+                                   :background ,monokai-fringe-bg
+                                   :inherit default
+                                   :underline nil))
+      (,monokai-256-class (:foreground ,monokai-256-line-number
+                                        :background ,monokai-256-fringe-bg
+                                        :inherit default
+                                        :underline nil))))
+   `(line-number-current-line
+     ((,monokai-class (:foreground ,monokai-foreground
+                                   :background ,monokai-fringe-bg
+                                   :inherit default
+                                   :underline nil))
+      (,monokai-256-class (:foreground ,monokai-256-foreground
+                                        :background ,monokai-256-fringe-bg
+                                        :inherit default
+                                        :underline nil))))
+
    ;; linum-relative-current-face
    `(linum-relative-current-face
      ((,monokai-class (:foreground ,monokai-line-number



reply via email to

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