From 20cc1168f72c2e736b64671d38350048f0b1edce Mon Sep 17 00:00:00 2001 From: bd Date: Fri, 29 Nov 2024 18:15:04 -0500 Subject: ef-themes -> modus-themes --- .config/emacs/modules/bd--themes.el | 52 ++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 24 deletions(-) (limited to '.config/emacs/modules/bd--themes.el') diff --git a/.config/emacs/modules/bd--themes.el b/.config/emacs/modules/bd--themes.el index cddcbe9..50bf1ad 100644 --- a/.config/emacs/modules/bd--themes.el +++ b/.config/emacs/modules/bd--themes.el @@ -31,37 +31,41 @@ to.") ;;;; colors -(use-package ef-themes +(use-package modus-themes + :load-path (lambda () (expand-file-name "themes/" data-directory)) :demand t :config ;; Disable all other themes to avoid awkward blending: (mapc #'disable-theme custom-enabled-themes) :custom - (ef-themes-mixed-fonts t) - (ef-themes-variable-pitch-ui nil) - (ef-themes-headings - '((0 variable-pitch bold 1.5) - (1 variable-pitch bold 1.4) - (2 variable-pitch regular 1.3) - (3 variable-pitch regular 1.1) - (t variable-pitch regular 1.0))) + (modus-themes-mixed-fonts t) + (modus-themes-italic-constructs t) + (modus-themes-tabs-accented nil) + (modus-themes-bold-constructs t) + (modus-themes-subtle-line-numbers t) + (modus-themes-variable-pitch-ui nil) + (modus-themes-mode-line '(borderless accented)) + (modus-themes-org-blocks 'grayscale) + (modus-themes-markup '(background intense)) + (modus-themes-region '(bg-only)) + (modus-themes-headings + '((0 rainbow variable-pitch bold 1.5) + (1 rainbow variable-pitch bold 1.4) + (2 rainbow variable-pitch regular 1.3) + (3 rainbow variable-pitch regular 1.1) + (t rainbow variable-pitch regular 1.0))) - (ef-themes-to-toggle '(ef-autumn ef-frost)) - (ef-themes-common-palette-overrides - '((bg-dim bg-main) - (bg-alt bg-inactive) - (bg-tab-bar bg-main) - (bg-tab-current bg-mode-line) - (bg-tab-other bg-inactive))) - (ef-bio-palette-overrides - '((bg-main "#000000"))) - (ef-tritanopia-dark-palette-overrides - '((bg-main "#000000"))) - (ef-autumn-palette-overrides - '((bg-main "#000000")))) + (modus-themes-vivendi-color-overrides + (mapcar (lambda (x) + (cons (car x) (alist-get (cdr x) modus-themes-vivendi-colors))) + '((bg-dim . bg-main) + (bg-alt . bg-inactive) + (bg-tab-bar . bg-main) + (bg-tab-current . bg-active) + (bg-tab-other . bg-inactive))))) -(load-theme 'ef-winter :no-confirm) -(run-hooks 'ef-themes-post-load-hook) +(load-theme 'modus-vivendi :no-confirm) +(run-hooks 'modus-themes-post-load-hook) (provide 'bd--themes) -- cgit v1.2.3