I have just recently installed spacemacs and activated a few layers. I installed themes-megapack and after emacs restart, the screen is now stuck on a white theme.

enter image description here

I have tried to change the themes the normal way as well with no success. I have tried to reinstall spacemacs altogether but its the same.

My .spacemacs file is here

  • have you tried SPC T s, which should give you a helm buffer to select a theme? – gdkrmr Jun 28 at 8:48
  • Yes I have. Sadly it did not work. It seems like some custom variables are overriding my theme. – iprateekk Jun 28 at 9:37
  • what is your emacs version, I think spacemacs needs a relatively new version, and did you check develop vs master branch of spacemacs? – gdkrmr Jun 28 at 14:21
  • something very similar to your screen shot just happened to me, it was while editing an elisp buffer and during the parsing of semantic mode. I fixed it by changing the theme to something else and back. – gdkrmr Jun 29 at 12:35
up vote 0 down vote accepted

I figured it out! At the bottom of my .spacemacs file custom-set-faces block of code that was overwriting my themes. I changed it to the following and it worked:

(custom-set-faces
 '(default ((t (:background nil)))))
)

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.