Add support for moe-theme

resolves #487
This commit is contained in:
syl20bnr 2015-02-12 23:58:47 -05:00
parent 6d2f09fc92
commit f0bbb8a343
1 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,10 @@ package name does not match theme name + `-theme' suffix.")
((assq theme spacemacs-theme-name-to-package)
(let* ((pkg (cdr (assq theme spacemacs-theme-name-to-package)))
(pkg-dir (spacemacs/load-or-install-package pkg)))
(when (or (eq 'moe-light theme)
(eq 'moe-dark theme))
(load-file (concat pkg-dir "moe-light-theme.el"))
(load-file (concat pkg-dir "moe-dark-theme.el")))
(add-to-list 'custom-theme-load-path pkg-dir)))
(t
;; other themes