nashamri / spacemacs-theme

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

How do you activate the theme? #178

Open duane opened 3 years ago

duane commented 3 years ago

I have it installed, but "load-theme spacemacs" and "load-theme spacemacs-theme" do nothing to load the theme.

duane commented 3 years ago

Additionally, "color-theme-select" has no knowledge of the theme. "color-theme-spacemacs-dark" do nothing to activate the theme. It is unclear how you are supposed to activate the theme.

nashamri commented 3 years ago

@duane How did you install it? did you use use-package or something similar?

nickali commented 2 years ago

Think it would help if there were more specific installation instructions.

For example: "To install the dark theme, put this in your init.el:

(use-package spacemacs-theme :ensure t) (load-theme 'spacemacs-dark t)

haziz commented 1 year ago

I agree, we need better documentation on how to apply or activate the theme once installed.

I installed the theme using the NonGNU archive and still have no idea how to activate it.

Adding

(use-package spacemacs-theme :ensure t) (load-theme 'spacemacs-dark t)

to my init.el file did NOT work.

Thanks.

P.S. After some experimentation, adding the following to my init.el file seems to fix the problem for myself, however you still need to add more documentation regarding how to activate the theme.

(add-to-list 'custom-theme-load-path (expand-file-name "~/.emacs.d/themes/")) (load-theme 'spacemacs-dark t)

Please add further documentation.

matheusalpes commented 6 months ago

The following code block worked for me:

(use-package spacemacs-theme
  :config
  (require 'spacemacs-theme)
  (deftheme spacemacs-light "Spacemacs theme, light version)
  (create-spacemacs-theme 'light 'spacemacs-light)
  (provide-theme 'spacemacs-light)
  (load-theme 'spacemacs-light t))