aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2021-05-06 13:04:12 -0600
committerKenny Ballou <kb@devnulllabs.io>2021-05-12 12:57:07 -0600
commit73596c92f6e5d10c08c05a1a11bf268a4410366f (patch)
treef30d6670272fa850d01bd4a26d73e4cac8251263
parent0013ef75669e3278aae9e7a539b17185e921d77b (diff)
downloaddotfiles-73596c92f6e5d10c08c05a1a11bf268a4410366f.tar.gz
dotfiles-73596c92f6e5d10c08c05a1a11bf268a4410366f.tar.xz
emacs: set modus-themes defaults sans few
https://protesilaos.com/modus-themes/#h:e68560b3-7fb0-42bc-a151-e015948f8a35 Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
-rw-r--r--config/emacs/emacs.d/early-init.el92
1 files changed, 68 insertions, 24 deletions
diff --git a/config/emacs/emacs.d/early-init.el b/config/emacs/emacs.d/early-init.el
index 8cd461cc..4f4f5192 100644
--- a/config/emacs/emacs.d/early-init.el
+++ b/config/emacs/emacs.d/early-init.el
@@ -27,30 +27,74 @@
This is used internally by `vde/modus-themes-toggle'.
https://git.sr.ht/~vdemeester/home/tree/master/item/tools/emacs/early-init.el#L26"
- (setq modus-operandi-theme-slanted-constructs t)
- (setq modus-operandi-theme-bold-constructs t)
- (setq modus-operandi-theme-subtle-diffs t)
- (setq modus-operandi-theme-rainbow-headings t)
- (setq modus-operandi-theme-section-headings nil)
- (setq modus-operandi-theme-scale-headings nil)
- (setq modus-operandi-theme-fringes 'subtle) ; {nil,'subtle,'intense}
- (setq modus-operandi-theme-mode-line 'moody) ; {nil,'3d,'moody}
- (setq modus-operandi-theme-3d-modeline t)
- (setq modus-operandi-theme-faint-syntax nil)
- (setq modus-operandi-theme-intense-hl-line t)
- (setq modus-operandi-theme-intense-paren-match t)
- (setq modus-operandi-theme-prompts 'subtle) ; {nil,'subtle,'intense}
- (setq modus-operandi-theme-completions 'opinionated) ; {nil,'moderate,'opinionated}
- (setq modus-operandi-theme-diffs 'desaturated) ; {nil,'desaturated,'fg-only}
- (setq modus-operandi-theme-org-blocks 'greyscale) ; {nil,'greyscale,'rainbow}
- (setq modus-operandi-theme-variable-pitch-headings nil)
- (setq modus-operandi-theme-rainbow-headings t)
- (setq modus-operandi-theme-section-headings nil)
- (setq modus-operandi-theme-scale-headings t)
- (setq modus-operandi-theme-scale-1 1.05)
- (setq modus-operandi-theme-scale-2 1.1)
- (setq modus-operandi-theme-scale-3 1.15)
- (setq modus-operandi-theme-scale-4 1.2)
+ (setq modus-themes-slanted-constructs t)
+ (setq modus-themes-bold-constructs nil)
+ (setq modus-themes-no-mixed-fonts nil)
+ (setq modus-themes-subtle-line-numbers nil)
+ (setq modus-themes-success-deuteranopia t)
+
+ (setq modus-themes-fringes nil) ; {nil,'subtle,'intense}
+
+ ;; Options for `modus-themes-lang-checkers': nil,
+ ;; 'straight-underline, 'subtle-foreground,
+ ;; 'subtle-foreground-straight-underline, 'intense-foreground,
+ ;; 'intense-foreground-straight-underline, 'colored-background
+ (setq modus-themes-lang-checkers nil)
+
+ ;; Options for `modus-themes-mode-line': nil, '3d, 'moody,
+ ;; 'borderless, 'borderless-3d, 'borderless-moody, 'accented,
+ ;; 'accented-3d, 'accented-moody
+ (setq modus-themes-mode-line '3d)
+
+ ;; Options for `modus-themes-syntax': nil, 'faint,
+ ;; 'yellow-comments, 'green-strings,
+ ;; 'yellow-comments-green-strings, 'alt-syntax,
+ ;; 'alt-syntax-yellow-comments, 'faint-yellow-comments
+ (setq modus-themes-syntax nil)
+
+ ;; Options for `modus-themes-hl-line': nil, 'intense-background,
+ ;; 'accented-background, 'underline-neutral,
+ ;; 'underline-accented, 'underline-only-neutral,
+ ;; 'underline-only-accented
+ (setq modus-themes-hl-line 'underline-neutral)
+
+ (setq modus-themes-paren-match 'subtle-bold) ; {nil,'subtle-bold,'intense,'intense-bold}
+
+ ;; Options for `modus-themes-links': nil, 'faint,
+ ;; 'neutral-underline, 'faint-neutral-underline, 'no-underline,
+ ;; 'underline-only, 'neutral-underline-only
+ (setq modus-themes-links 'neutral-underline)
+
+ ;; Options for `modus-themes-prompts': nil, 'subtle-accented,
+ ;; 'intense-accented, 'subtle-gray, 'intense-gray
+ (setq modus-themes-prompts 'subtle-gray)
+
+ (setq modus-themes-completions 'opinionated) ; {nil,'moderate,'opinionated}
+
+ ;; Options for `modus-themes-region': nil, 'no-extend, 'bg-only,
+ ;; 'bg-only-no-extend, 'accent, 'accent-no-extend
+ (setq modus-themes-region 'bg-only-no-extend)
+
+ ;; Options for `modus-themes-diffs': nil, 'desaturated,
+ ;; 'bg-only, 'deuteranopia, 'fg-only-deuteranopia
+ (setq modus-themes-diffs 'desaturated)
+
+ (setq modus-themes-org-blocks 'grayscale) ; {nil,'grayscale,'rainbow}
+ (setq modus-themes-org-habit nil) ; {nil,'simplified,'traffic-light}
+
+ (setq modus-themes-headings ; this is an alist: read the manual or its doc string
+ '((1 . line)
+ (2 . rainbow-line-no-bold)
+ (t . no-bold)))
+
+ (setq modus-themes-variable-pitch-ui nil)
+ (setq modus-themes-variable-pitch-headings t)
+ (setq modus-themes-scale-headings t)
+ (setq modus-themes-scale-1 1.1)
+ (setq modus-themes-scale-2 1.15)
+ (setq modus-themes-scale-3 1.21)
+ (setq modus-themes-scale-4 1.27)
+ (setq modus-themes-scale-5 1.33)
(load-theme 'modus-operandi t))
(defun vde/modus-operandi-custom ()