diff options
author | Kyle Meyer <kyle@kyleam.com> | 2023-01-03 23:38:53 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2023-01-03 23:39:54 -0500 |
commit | b58049b988d59402295746d364bb9bb4f957e4c0 (patch) | |
tree | 9179b45411da5e13763ae293f80e216f48a627e7 | |
parent | 7f9872ea08277dd0fa51866a492312b947b7f638 (diff) | |
download | emacs.d-b58049b988d59402295746d364bb9bb4f957e4c0.tar.gz |
theme: Use modus-themes-with-colors
modus-themes-color is deprecated in v4.0.0.
-rw-r--r-- | init.el | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -63,11 +63,12 @@ (add-to-list 'modus-themes-org-agenda '(header-block . (no-scale))) (defun km/modus-themes-set-custom-faces () - (when (featurep 'git-annex) - (set-face-attribute 'git-annex-dired-annexed-available nil - :foreground (modus-themes-color 'green)) - (set-face-attribute 'git-annex-dired-annexed-unavailable nil - :foreground (modus-themes-color 'red)))) + (modus-themes-with-colors + (when (featurep 'git-annex) + (set-face-attribute 'git-annex-dired-annexed-available nil + :foreground green) + (set-face-attribute 'git-annex-dired-annexed-unavailable nil + :foreground red)))) (add-hook 'modus-themes-after-load-theme-hook #'km/modus-themes-set-custom-faces) |