diff options
-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) |