summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-08-13 10:50:43 +0800
committerJSDurand <mmemmew@gmail.com>2021-08-13 10:50:43 +0800
commit321829e50d7d67697cce5df192c985a43454903a (patch)
treea8fd566567fd9cf2e38e63148fe51dfcba4cc34d
parent7b953837db8d4163b94367393e72385f8dd2f8a7 (diff)
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):
-rw-r--r--theme.el13
1 files 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