summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-01-02 13:43:52 +0000
committerYann Herklotz <git@yannherklotz.com>2023-01-02 13:43:52 +0000
commit2f0ed0ef0015b0df7b8a31abafed5234d36f8d11 (patch)
tree681a47acac446d9792658fff663d414bbdadfd2c
parent39678408cedf1393999dfe2d7f6731342dbd5a06 (diff)
downloadymh-emacs-2f0ed0ef0015b0df7b8a31abafed5234d36f8d11.tar.gz
ymh-emacs-2f0ed0ef0015b0df7b8a31abafed5234d36f8d11.zip
Fix order of theme loading
-rw-r--r--init.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/init.el b/init.el
index 449cba1..42fa492 100644
--- a/init.el
+++ b/init.el
@@ -311,23 +311,22 @@ https://yannherklotz.com"))
(use-package modus-themes
:ensure t
:init
- (defun ymh/modus-themes-coq-custom-faces ()
- (modus-themes-with-colors
- (custom-set-faces
- `(proof-locked-face ((,c :background ,bg-cyan-nuanced :extend t)))
- `(proof-queue-face ((,c :background ,bg-magenta-nuanced :extend t))))))
- (add-hook 'modus-themes-after-load-theme-hook #'ymh/modus-themes-coq-custom-faces)
(setq modus-themes-common-palette-overrides
'((bg-mode-line-active bg-cyan-subtle)
(border-mode-line-active bg-cyan-subtle)
(bg-mode-line-inactive bg-cyan-nuanced)
(border-mode-line-inactive bg-cyan-nuanced)
(fg-region unspecified)
- (bg-region bg-green-subtle)
- (proof-locked bg-green-subtle)))
+ (bg-region bg-green-subtle)))
(setq modus-themes-to-toggle
'(modus-operandi-tintd modus-vivendi-tinted))
:config
+ (defun ymh/modus-themes-coq-custom-faces ()
+ (modus-themes-with-colors
+ (custom-set-faces
+ `(proof-locked-face ((,c :background ,bg-cyan-nuanced :extend t)))
+ `(proof-queue-face ((,c :background ,bg-magenta-nuanced :extend t))))))
+ (add-hook 'modus-themes-after-load-theme-hook #'ymh/modus-themes-coq-custom-faces)
(load-theme 'modus-vivendi-tinted 'no-confirm))
(use-package pass