solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

commit cdefc3e9a7d1088a9d69e983201919c4e03b2cde
parent 674520d15f98ffc316e56a7df9e7890cdc823037
Author: Andrew Schwartzmeyer <andrew@schwartzmeyer.com>
Date:   Sat,  7 Mar 2015 00:30:36 -0800

Add support for smart-mode-line

Note that smart-mode-line's theme should be disabled when using an
external theme like Solarized.

[smart-mode-line](https://github.com/Bruce-Connor/smart-mode-line)

Diffstat:
Msolarized.el | 21+++++++++++++++++++++
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))))