mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Move doom/reset-theme to ui/doom (and update binding)
This commit is contained in:
11
modules/ui/doom/autoload/doom.el
Normal file
11
modules/ui/doom/autoload/doom.el
Normal file
@ -0,0 +1,11 @@
|
||||
;;; ui/doom/autoload/doom.el
|
||||
|
||||
;;;###autoload
|
||||
(defun +doom/reset-theme ()
|
||||
"Reset the color theme currently in use."
|
||||
(interactive)
|
||||
(let ((theme (or (car-safe custom-enabled-themes) +doom-theme)))
|
||||
(when theme
|
||||
(mapc #'disable-theme custom-enabled-themes))
|
||||
(load-theme theme t)))
|
||||
|
Reference in New Issue
Block a user