commit 5ec14861ba5ff8a34e294ce1fd085e3d379ade21
parent 674520d15f98ffc316e56a7df9e7890cdc823037
Author: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Date: Sat, 7 Mar 2015 10:40:03 +0200
Merge pull request #160 from andschwa/smart-mode-line
Add support for smart-mode-line
Diffstat:
1 file changed, 21 insertions(+), 0 deletions(-)
diff --git a/solarized.el b/solarized.el
@@ -1630,6 +1630,27 @@ customize the resulting theme."
;;;;; skewer-mode
`(skewer-error-face ((,class (:foreground ,orange :underline nil))))
`(skewer-repl-log-face ((,class (:foreground ,violet))))
+;;;;; smart-mode-line
+ ;; use (setq sml/theme nil) to enable Solarized for sml
+ `(sml/modes ((,class (:foreground ,base1 :weight bold))))
+ `(sml/minor-modes ((,class (:foreground ,base00))))
+ `(sml/filename ((,class (:foreground ,blue :weight bold))))
+ `(sml/folder ((,class (:foreground ,base0))))
+ `(sml/prefix ((,class (:foreground ,cyan))))
+ `(sml/read-only ((,class (:foreground ,green))))
+ `(sml/modified ((,class (:foreground ,red))))
+ `(sml/outside-modified ((,class (:foreground ,magenta))))
+ `(sml/line-number ((,class (:foreground ,base0 :weight bold))))
+ `(sml/col-number ((,class (:foreground ,base0))))
+ `(sml/position-percentage ((,class (:foreground ,base00))))
+ `(sml/sudo ((,class (:foreground ,red :weight bold))))
+ `(sml/git ((,class (:foreground ,cyan))))
+ `(sml/process ((,class (:foreground ,magenta :weight bold))))
+ `(sml/vc ((,class (:foreground ,yellow))))
+ `(sml/vc-edited ((,class (:foreground ,orange))))
+ `(sml/charging ((,class (:foreground ,green))))
+ `(sml/discharging ((,class (:foreground ,red))))
+ `(sml/time ((,class (:foreground ,base0))))
;;;;; smartparens
`(sp-pair-overlay-face ((,class (:background ,base02))))
`(sp-wrap-overlay-face ((,class (:background ,base02))))