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

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

[nongnu] elpa/gruvbox-theme 6c83a50b21 154/258: Updated linum faces and


From: ELPA Syncer
Subject: [nongnu] elpa/gruvbox-theme 6c83a50b21 154/258: Updated linum faces and added suport for native line numbers
Date: Sat, 1 Jan 2022 01:59:40 -0500 (EST)

branch: elpa/gruvbox-theme
commit 6c83a50b21644abad81a3dc151ba5972aa3f47da
Author: Martijn Terpstra <bigmartijn@gmail.com>
Commit: Jason Milkins <jasonm23@users.noreply.github.com>

    Updated linum faces and added suport for native line numbers
    
    Linum faces now inherit from the native line number faces
---
 gruvbox.el | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gruvbox.el b/gruvbox.el
index ee7c357057..083261b868 100644
--- a/gruvbox.el
+++ b/gruvbox.el
@@ -72,7 +72,6 @@
      (mode-line                                 (:background gruvbox-dark2 
:foreground gruvbox-light2 :box nil))
      (mode-line-inactive                        (:background gruvbox-dark1 
:foreground gruvbox-light4 :box nil))
      (fringe                                    (:background gruvbox-bg))
-     (linum                                     (:background gruvbox-bg 
:foreground gruvbox-dark4))
      (hl-line                                   (:background gruvbox-dark1))
      (region                                    (:background gruvbox-dark2)) 
;;selection
 
@@ -134,16 +133,18 @@
      (rainbow-delimiters-depth-12-face          (:foreground 
gruvbox-delimiter-four))
      (rainbow-delimiters-unmatched-face         (:background nil :foreground 
gruvbox-light0))
 
-     ;; linum-relative
-     (linum-relative-current-face               (:background gruvbox-dark1 
:foreground gruvbox-light4))
+
+     ;; line numbers
+     (line-number                               (:foreground gruvbox-dark2 
:background gruvbox-dark0))
+     (line-number-current-line                  (:foreground 
gruvbox-neutral_orange :background gruvbox-dark1))
+     (linum                                     (:inherit 'line-number))
+     (linum-highlight-face                      (:inherit 
'line-number-current-line))
+     (linum-relative-current-face               (:inherit 
'line-number-current-line))
 
      ;; Highlight indentation mode
      (highlight-indentation-current-column-face (:background gruvbox-dark2))
      (highlight-indentation-face                (:background gruvbox-dark1))
 
-     ;; Highlight linum
-     (linum-highlight-face                      (:background gruvbox-dark1 
:foreground gruvbox-neutral_yellow))
-
      ;; Smartparens
      (sp-pair-overlay-face                      (:background gruvbox-dark2))
      (sp-show-pair-match-face                   (:background gruvbox-dark2)) 
;; Pair tags highlight



reply via email to

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