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

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

[nongnu] elpa/rainbow-delimiters 58f17c9c4d 149/188: The faces should re


From: ELPA Syncer
Subject: [nongnu] elpa/rainbow-delimiters 58f17c9c4d 149/188: The faces should really use foreground colors.
Date: Sat, 1 Jan 2022 00:59:00 -0500 (EST)

branch: elpa/rainbow-delimiters
commit 58f17c9c4d355d88e685b97626e89d20ec244425
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>

    The faces should really use foreground colors.
    
    Regression introduced in 8a2c0374b0.
    
    Fixes #2.
---
 rainbow-delimiters.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index 863cdef06d..7bb17a2134 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -121,8 +121,8 @@ Delimiters in this list are not highlighted."
                         "#b0b0b3" "#90a890" "#a2b6da" "#9cb6ad"]))
       (dotimes (i 9)
         (push `(defface ,(intern (format "rainbow-delimiters-depth-%d-face" 
(1+ i)))
-                 '((((class color) (background light)) :background ,(aref 
light-colors i))
-                   (((class color) (background dark)) :background ,(aref 
dark-colors i)))
+                 '((((class color) (background light)) :foreground ,(aref 
light-colors i))
+                   (((class color) (background dark)) :foreground ,(aref 
dark-colors i)))
                  ,(format "Nested delimiter face, depth %d." (1+ i))
                  :group 'rainbow-delimiters-faces)
               faces))



reply via email to

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