spacemacs-theme icon indicating copy to clipboard operation
spacemacs-theme copied to clipboard

How do you activate the theme?

Open duane opened this issue 4 years ago • 5 comments

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

duane avatar Aug 16 '20 21:08 duane

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.

duane avatar Aug 16 '20 21:08 duane

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

nashamri avatar Jun 18 '21 20:06 nashamri

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)

nickali avatar May 12 '22 04:05 nickali

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.

haziz avatar Dec 30 '22 11:12 haziz

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))

matheusalpes avatar Dec 27 '23 21:12 matheusalpes