Skip to main content
2 of 3
edited title

Setting up a theme using use-package

I'm doing a new setup so that I can have an init.el on my dropbox as a one stop shop for my configuration. So far so good but I'm stuck on the theme.

When I setup the code using load-path it all works like it should, all the colors and the modeline. My question is how can I do the same but using the use-package approach?

(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")

(setq molokai-theme-kit t)
(load-theme 'molokai t)

Is something like this possible?

(use-package molokai-theme 
  :ensure t
  :init
  (setq molokai-theme-kit t)
  (load-theme 'molokai t)
  )