Skip to content

Commit

Permalink
more theme related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Ye committed Aug 22, 2024
1 parent 8fac628 commit 39c75fa
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions phye-lisp/phye-init-themes.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
(load-theme 'cyberpunk t)
(defun phye/load-theme (theme)
"Load THEME after disable custom themes."
(mapc #'disable-theme custom-enabled-themes)
(load-theme theme t))

(if (display-graphic-p)
(phye/load-theme 'doom-monokai-classic)
(phye/load-theme 'kaolin-galaxy))

(customize-set-variable
'my-favorite-color-themes
'(afternoon
Expand Down Expand Up @@ -220,11 +228,6 @@

(defvar previous-dark-theme 'cyberpunk "Previous dark theme before toggle.")

(defun phye/load-theme (theme)
"Load THEME after disable custom themes."
(mapc #'disable-theme custom-enabled-themes)
(load-theme theme t))

(defun phye/set-bg-color (&optional light)
"Set ivy-current-match color based on LIGHT."
(interactive)
Expand Down

0 comments on commit 39c75fa

Please sign in to comment.