This package saves your currently loaded theme into a file, and uses that to remember to load the same theme next time you open Emacs.
Download remember-last-theme.el
to some place in your emacs’ load
path and add the following to your emacs’ initialization file:
(require 'remember-last-theme)
(use-package remember-last-theme :ensure t)