From 440d03842c5448660cda21c739c9f6c003166a54 Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Wed, 6 Mar 2024 16:12:33 +0100 Subject: [PATCH] Use ef-themes instead of modus --- init.el | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/init.el b/init.el index 855f1ab..2563169 100644 --- a/init.el +++ b/init.el @@ -124,17 +124,14 @@ ([remap capitalize-word] . capitalize-dwim))) ;; Theme configuration -(use-package emacs - :straight nil +(use-package ef-themes + :straight t :init - (setq modus-themes-italic-constructs t - modus-themes-bold-constructs t - modus-themes-mixed-fonts t - modus-themes-org-blocks '(gray-background)) - :config - ;; (setq modus-themes-common-palette-overrides modus-themes-preset-overrides-faint) - (load-theme 'modus-vivendi) - :bind ("" . modus-themes-toggle)) + (setq ef-themes-mixed-fonts t) + (setq ef-themes-to-toggle '(ef-day ef-night)) + (mapc #'disable-theme custom-enabled-themes) + (load-theme 'ef-night :no-confirm) + :bind ("" . ef-themes-toggle)) (use-package diminish :straight t