2

The accepted answer here and other online resources suggest editing dotspacemacs-themes

dotspacemacs-themes '(solarized-light solarized-dark) 

I want to add two themes.

dotspacemacs-themes '(gruvbox sanityinc-tomorrow-eighties) 

On restart Spacemacs installs whichever theme is present on top. But after installation, if I change the order of themes, the new theme gets installed and previous theme for example "sanityinc-tomorrow-eighties" is lost.

I want to add themes such that when I do SpcTs (helm-themes) the theme appears in the list. Currently, only the top theme with other default themes appear in the list.

Edit:

I found Themes Megapack layer in official repository, which I think is relevant to my issue. But I don't understand how to use it. I suggests

To use this configuration layer, add it to your ~/.spacemacs.

Where inside ~/.spacemacs?

1 Answer 1

3

I got my answer from Reddit thread.

How to add new themes to the Spacemacs

This is done by modifying dotspacemacs-additional-packages

dotspacemacs-additional-packages '(gruvbox-theme color-theme-sanityinc-tomorrow) 

How to use themes-megapack

Spacemacs comes with a pack of themes. To enable it edit dotspacemacs-configuration-layers.

 dotspacemacs-configuration-layers '(themes-megapack) 

Few themes in themes-megapack have been removed from MELPA. To resolve the issue, configure dotspacemacs-excluded-packages.

dotspacemacs-excluded-packages '(firebelly-theme niflheim-theme pastels-on-dark-theme tronesque-theme zonokai-theme) 
1
  • With adding the theme I wanted in dotspacemacs-additional-packages it work for me. Commented Dec 7, 2018 at 23:44

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.