It's possible to install a new theme in spacemacs? How should I do this? I'm trying to install some theme from http://themegallery.robdor.com/
Select your theme: http://themegallery.robdor.com/
Go to your dotfile:
SPC f e d
Adding or edit the follow line adding our theme name(gruvbox in this example), make sure that is the first element of the list:
(defun dotspacemacs/init () (setq-default ;; ... other configurations... dotspacemacs-themes '(gruvbox))
Reload your spacemacs:
SPC q R
Spacewould not work unless you have chosen your permanent editing style as
Vimin lieu of
Emacs; then to solve the issue, for emacs user's, just use
Alt-m). Oct 30, 2019 at 8:00
SPC f e Rworked for me to reload the configuration. But full restart was needed to actually apply a new theme.– ilyazubApr 21, 2021 at 14:25
You need to first add themes mega-pack to your
- edit conf Spacefed
- resync conf SpacefeR
dotspacemacs-themes '(jbeans))), replacing jbeans with your theme of choice
- restart conf SpaceqR
1Theme mega-pack broke my installation pretty hard. I'm running emacs 26.1 on Pop OS (Ubuntu derivative). All dark themes were permanently horked, and I had to delete .emacs.d and .spacemacs and start over. Sep 6, 2018 at 14:34
I setup spacemacs this week and I'm able to just put the name of any theme from themegallery.robdor.com into the dotspacemacs-themes and when I restart spacemacs it provisions the theme for me (i.e. installs all package dependencies). I've not had to add/enable the themes mega-pack explicitly anywhere.– SankalpFeb 25, 2019 at 9:54
Installation and configuration.
- Open the configuration dotfile,
~/.spacemacs, M-m f e d.
- "Install" themes (two options).
- Add the
mega-packlayer at the layer section; or
dotspacemacs-configuration-layers '( ... mega-pack ... )
- Add a particular theme package at the package section.
dotspacemacs-additional-packages '(... ... sometheme-theme)
- Add the
- Set the themes to be loaded a the theme section.
dotspacemacs-themes '(sometheme-somevariant sometheme-othervariant)
- Resync configuration so themes are effectively installed, M-m f e R. Or restart, M-m q R.
- Cycle themes by pressing M-m T n.
mega-packitself lists dozens of themes. If it is a personal (one user) setup, I recommend to simply install the specific theme packages that you are going to use.
- Each theme package may include several variants, like
- Two/three theme variants are enough.