branch: elpa/monokai-theme
commit 97ff2d749a7153f07d3fc8af1c095d5aa3332875
Author: Geoff Greer <[email protected]>
Commit: Geoff Greer <[email protected]>
Fix #2 green background in terminals. Credit for the fix should go to
lvillani's el-monokai-theme.
---
monokai-theme.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/monokai-theme.el b/monokai-theme.el
index e6d21fc..2b67f72 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -848,7 +848,9 @@ This requires library `rainbow-mode'.")
(boundp 'custom-theme-load-path)
(add-to-list 'custom-theme-load-path
(file-name-as-directory
- (file-name-directory load-file-name))))
+ (file-name-directory load-file-name)))
+ (when (not window-system)
+ (custom-set-faces '(default ((t (:background "nil")))))))
(provide-theme 'monokai)