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 | 07bb1debd8a9556dd013afd8fc724f06a46da8cc (patch) | |
tree | 3c0edb8ad4213e12aa80ee9148dc8f6cc8632246 | |
parent | d726f3687a98ab5efc9d4e0bd29563fb156574ff (diff) | |
download | emacs.d-07bb1debd8a9556dd013afd8fc724f06a46da8cc.tar.gz |
Use named function for setting custom faces
-rw-r--r-- | init.el | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -62,12 +62,14 @@ :config (add-to-list 'modus-themes-org-agenda '(header-block . (no-scale))) + (defun km/modus-themes-set-custom-faces () + (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))) (add-hook 'modus-themes-after-load-theme-hook - (lambda () - (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)))) + #'km/modus-themes-set-custom-faces) + (load-theme 'modus-operandi t)) |