branch: elpa/rainbow-delimiters
commit 58f17c9c4d355d88e685b97626e89d20ec244425
Author: Fanael Linithien <[email protected]>
Commit: Fanael Linithien <[email protected]>
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))