TheBB / spaceline

Powerline theme from Spacemacs
GNU General Public License v3.0
536 stars 59 forks source link

Unable to change highlight colours via dotspacemacs/user-init #179

Closed denisse-dev closed 6 years ago

denisse-dev commented 6 years ago

I'm using theming-modifications to change the looks of spaceline (to enhace the ones provided by Spolsky) I'm able to modify the foreground and background of the powerline segments according to the documentation but I'm unable to change the highlight colour (where my name and buffer number is shown).

This is my code:

(setq theming-modifications '( ;; requires the theming layer (spolsky (powerline-active1 :foreground "#e9e2cb" :background "#2075c7" :inverse-video nil) (powerline-active2 :foreground "#e9e2cb" :background "#2075c7" :inverse-video nil))))

And this is how it looks:

captura de pantalla_2018-02-03_01-00-09

How can I change those colours? None of the segments mentioned on the documentation seem to change it.

denisse-dev commented 6 years ago

I was able to change it thanks to the info I found on this thread

I needed to add this:

;; Changes to Spaceline (setq spaceline-highlight-face-func 'spaceline-highlight-face-evil-state) (set-face-attribute 'spaceline-evil-emacs nil :foreground "#F92672" :background "#e9e2cb")

It works like a charm and looks like this:

captura de pantalla_2018-02-03_02-05-39