Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you activate the theme? #178

Open
duane opened this issue Aug 16, 2020 · 5 comments
Open

How do you activate the theme? #178

duane opened this issue Aug 16, 2020 · 5 comments

Comments

@duane
Copy link

duane commented Aug 16, 2020

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

@duane
Copy link
Author

duane commented Aug 16, 2020

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
Copy link
Owner

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

@nickali
Copy link

nickali commented May 12, 2022

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)

gwgundersen added a commit to gwgundersen/spacemacs-theme that referenced this issue Oct 24, 2022
Clarify how to activate the theme. See nashamri#178.
@haziz
Copy link

haziz commented Dec 30, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants