branch: elpa/alect-themes
commit 714516d3f3695d0673f07721d4cff0043a287495
Author: Alex Kost <[email protected]>
Commit: Alex Kost <[email protected]>
Add support for powerline (Fix #7)
---
README.md | 1 +
alect-themes.el | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/README.md b/README.md
index 677b1bd..53c5b04 100644
--- a/README.md
+++ b/README.md
@@ -79,6 +79,7 @@ supported (themed):
- [Magit](http://magit.vc/) (including version 2.1.0)
- [markdown](http://jblevins.org/projects/markdown-mode/)
- [mu4e](https://github.com/djcb/mu)
+- [powerline](https://github.com/milkypostman/powerline)
- [sauron](https:/github.com/djcb/sauron)
- [slime](https://common-lisp.net/project/slime/)
- [sunrise-commander](https:/github.com/escherdragon/sunrise-commander)
diff --git a/alect-themes.el b/alect-themes.el
index e8bc579..36c3dda 100644
--- a/alect-themes.el
+++ b/alect-themes.el
@@ -1381,6 +1381,14 @@ For INVERT, see `alect-get-color'."
(popup-isearch-match ((,c :foreground ,(gc 'fg+1)
:background ,(gc 'bg-1) )))
+ ;; powerline
+ (powerline-active1 ((,c :inherit mode-line
+ :background ,(gc 'cyan-bg))))
+ (powerline-active2 ((,c :inherit mode-line)))
+ (powerline-inactive1 ((,c :inherit mode-line-inactive
+ :background ,(gc 'cyan-bg+1))))
+ (powerline-inactive2 ((,c :inherit mode-line-inactive)))
+
;; rainbow-delimiters
(rainbow-delimiters-depth-1-face ((,c :foreground ,(gc 'fg+1))))
(rainbow-delimiters-depth-2-face ((,c :foreground ,(gc 'green+2))))