From 321829e50d7d67697cce5df192c985a43454903a Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 13 Aug 2021 10:50:43 +0800 Subject: adapt to the latest modus-themes The changes are according to the documentation in the info of the package, and are mainly personal preferences, so I do not want to record the rationales here (and there is none). * theme.el (modus-themes-syntax, modus-themes-mode-line) (modus-themes-hl-line, modus-themes-region, modus-themes-org-agenda) (modus-themes-variable-pitch-ui): --- theme.el | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/theme.el b/theme.el index 7ad8aee..da92f1e 100644 --- a/theme.el +++ b/theme.el @@ -1,16 +1,24 @@ ;;; theme -(setq modus-themes-syntax 'yellow-comments) +(setq modus-themes-syntax '(yellow-comments)) (setq modus-themes-bold-constructs t) (setq modus-themes-slanted-constructs t) -(setq modus-themes-mode-line 'borderless-3d) +(setq modus-themes-mode-line '(3d borderless padded)) +(setq modus-themes-hl-line '(intense accented)) (setq modus-themes-org-blocks 'gray-background) (setq modus-themes-subtle-line-numbers t) (setq modus-themes-region nil) +(setq modus-themes-links '(background bold)) ; Try it out (setq modus-themes-headings '((t . rainbow))) +(setq modus-themes-org-agenda + '((header-block . (variable-pitch scale-title)) + (header-date . (gray-scale)) + (scheduled . rainbow) + ())) + (setq modus-themes-scale-headings t) (setq modus-themes-scale-1 1.05) (setq modus-themes-scale-2 1.1) @@ -18,6 +26,7 @@ (setq modus-themes-scale-4 1.2) (setq modus-themes-scale-5 1.3) +(setq modus-themes-variable-pitch-ui nil) (setq modus-themes-variable-pitch-headings t) (use-package "protesilaos/modus-themes" 'modus-vivendi-theme -- cgit v1.2.3-18-g5258