branch: elpa/spacemacs-theme
commit 81755299ac2778f57fd0ae83c4fb4daf8c572858
Author: Matt Lundin <[email protected]>
Commit: Matt Lundin <[email protected]>
Make sure custom themes can change all color variables
Fixes issue where the local variable used in the loop for setting
custom theme colors conflicted with an existing color variable.
---
spacemacs-common.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/spacemacs-common.el b/spacemacs-common.el
index 5e83650e7f..690f6b0ae2 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -162,8 +162,8 @@ to 'auto, tags may not be properly aligned. "
(yellow (if (eq variant 'dark) (if (true-color-p) "#b1951d"
"#875f00") (if (true-color-p) "#b1951d" "#875f00")))
(yellow-bg (if (eq variant 'dark) (if (true-color-p) "#32322c"
"#262626") (if (true-color-p) "#f6f1e1" "#ffffff"))))
- (cl-loop for (var . val) in spacemacs-theme-custom-colors
- do (set var val))
+ (cl-loop for (cvar . val) in spacemacs-theme-custom-colors
+ do (set cvar val))
(custom-theme-set-faces
theme-name