This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+themes/theming/packages.el

20 lines
626 B
EmacsLisp
Raw Normal View History

;;; packages.el --- Theming Layer packages File for Spacemacs
;;
2020-09-16 21:34:40 +00:00
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defconst theming-packages
'((theming :location local)))
(defun theming/init-theming ()
;; Apply theme customizations after any call to load-theme
(advice-add 'load-theme :after 'spacemacs//theming)
;; Apply the initial customizations now, because load-theme has already been called
(spacemacs//theming spacemacs--cur-theme))