Closed ishovkun closed 1 month ago
I came across the same problem. This has not been fixed yet. However, I found a way to make it work.
I did like (spacemacs/load-theme '(one-dark :location local))
in dotspacemacs/user-config
then it worked.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
This is still a valid issue.
I identified two problems:
spacemacs/cycle-spacemacs-theme
currently passes only the theme name to spacemacs/load-theme
, however, it needs to pass the full (THEME-NAME :location ...)
or whatever in order to set up load paths correctly. This causes SPC T n
to break because it can't find the right files.(custom-available-themes)
doesn't include any of the dotspacemacs-themes
with :location local
because they have not been added to custom-theme-load-path
(except for the first one). This affects what themes are actually included in the SPC T s
completion list. Also, even if they were included, those commands just call load-theme
rather than spacemacs/load-theme
, so they would still not find the files correctly.
Description :octocat:
<>
I am unable to use more that one custom (local) theme in spacemacs.
Reproduction guide :beetle:
Observed behaviour: :eyes: :broken_heart: <>
Only one theme gets picked up by spacemacs
Expected behaviour: :heart: :smile: <>
All of my custom themes are picked up so I do not have to restart emacs in order to switch a theme.
System Info :computer:
Backtrace :paw_prints: