nashamri / spacemacs-theme

Light and dark theme for spacemacs that supports GUI and terminal
GNU General Public License v3.0
600 stars 113 forks source link

org-hide face is affected after switching themes #141

Closed deescuderoo closed 5 years ago

deescuderoo commented 5 years ago

My init file contains

(use-package spacemacs-common
  :ensure spacemacs-theme
  :init (setq spacemacs-theme-comment-bg nil
          spacemacs-theme-keyword-italic t)
  :config (load-theme 'spacemacs-dark t)
  )

When I want to switch to spacemacs-light, I do M-x load-theme and then select spacemacs-light. Everything seems to work well, but the only issue is that the clean view in org-mode is not working properly: The leading asterisks for headlines are visible, as shown here.

This may be related with the org-hide face not being set up properly. Any ideas about how to fix this?

Thanks!

deescuderoo commented 5 years ago

I fixed it. I just changed

`(org-hide ((,class (:foreground ,base))))

by

`(org-hide ((,class (:foreground ,bg1))))