summaryrefslogtreecommitdiffstats
path: root/lisp/init-theme.el
blob: cabbe3a5b8d597e4ef0ab6f40c63039d0390b79a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; init-theme.el --- configure theme  -*- lexical-binding:t -*-
;;; Commentary:
;;; Code:

(defun mpolden/switch-theme ()
  "Disable any currently enabled themes and load a new one."
  (interactive)
  (mapcar #'disable-theme custom-enabled-themes)
  (call-interactively 'load-theme))

(use-package doom-themes
  :ensure t
  :if (display-graphic-p)
  :config
  (load-theme 'doom-one t))

(provide 'init-theme)

;;; init-theme.el ends here