Skip to content

Commit

Permalink
Back to classic Solarized powerline, except better
Browse files Browse the repository at this point in the history
  • Loading branch information
trishume committed Apr 4, 2015
1 parent 0f069a4 commit 6e38e8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions spacemacs/extensions/solarized-theme/solarized.el
Original file line number Diff line number Diff line change
Expand Up @@ -1574,13 +1574,15 @@ customize the resulting theme."
;;;;; powerline
`(powerline-active1 ((,class ,(if solarized-high-contrast-mode-line
`(:background ,base00 :foreground ,base03)
`(:background ,base03 :foreground ,base00)))))
(if (eq variant 'light)
`(:background ,s-base02 :foreground ,s-base1)
`(:background ,base03 :foreground ,base00))))))
`(powerline-active2 ((,class ,(if solarized-high-contrast-mode-line
`(:background ,base01 :foreground ,base03)
`(:background ,base02 :foreground ,base00)))))
`(:background ,base02 :foreground ,base1)))))
`(powerline-inactive1 ((,class ,(if solarized-high-contrast-mode-line
`(:background ,base03 :foreground ,base1)
`(:background ,base02 :foreground ,base01)))))
`(:background ,s-base02 :foreground ,s-base1)))))
`(powerline-inactive2 ((,class ,(if solarized-high-contrast-mode-line
`(:background ,base02 :foreground ,base1)
`(:background ,base03 :foreground ,base01)))))
Expand Down
2 changes: 1 addition & 1 deletion spacemacs/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -2192,7 +2192,7 @@ displayed in the mode-line.")
(line-face (if active 'mode-line 'mode-line-inactive))
(face1 (if active 'powerline-active1 'powerline-inactive1))
(face2 (if active 'powerline-active2 'powerline-inactive2))
(state-face (if active (spacemacs/current-state-face) face2))
(state-face (if active (spacemacs/current-state-face) face1))
(window-numberingp (and (boundp 'window-numbering-mode)
(symbol-value window-numbering-mode)))
(anzup (and (boundp 'anzu--state) anzu--state))
Expand Down

0 comments on commit 6e38e8f

Please sign in to comment.