summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.el b/init.el
index 080bca1..7126994 100644
--- a/init.el
+++ b/init.el
@@ -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)