about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-ui.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-ui.el')
-rw-r--r--.emacs.d/lisp/init-ui.el54
1 files changed, 45 insertions, 9 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el
index c572b2e..ec68494 100644
--- a/.emacs.d/lisp/init-ui.el
+++ b/.emacs.d/lisp/init-ui.el
@@ -48,20 +48,56 @@
 
 (use-package modus-themes
   :init
-  (setq modus-themes-syntax
-        (if (member (format-time-string "%a") '("Mon" "Fri"))
-            '(alt-syntax green-strings yellow-comments)
-          '(green-strings-yellow-comments))
+  (setq modus-themes-syntax '(green-strings yellow-comments)
         modus-themes-paren-match '(bold intense underline)
-        modus-themes-region '(accented)
-        modus-themes-hl-line '(underline)
         modus-themes-bold-constructs t
         modus-themes-italic-constructs t
-        modus-themes-lang-checkers '(text-also background))
-  (load-theme 'modus-vivendi t))
+        modus-themes-lang-checkers '(text-also))
+  (load-theme 'modus-vivendi t)
+
+  ;; Use less magenta
+  (custom-set-faces
+   `(font-lock-builtin-face ((t (:foreground "LawnGreen"))))
+   `(font-lock-keyword-face ((t (:foreground "gold"))))
+   `(font-lock-function-name-face ((t (:foreground "cyan"))))
+   `(font-lock-variable-name-face ((t (:foreground "gold3"))))
+   `(font-lock-constant-face ((t (:foreground "DeepSkyBlue2"))))
+   `(font-lock-type-face ((t (:foreground "PaleGreen2"))))
+   `(font-lock-string-face ((t (:foreground "SpringGreen3"))))
+   `(font-lock-comment-face ((t (:foreground "burlywood"))))
+   `(font-lock-doc-face ((t :foreground "LightCyan3"))) ;; "#bfebe0""LightCyan3""PaleTurquoise2""PaleTurquoise3""LightCyan2""LightSteelBlue3""pale turquoise""LightSteelBlue" "wheat" "burlywood3" "LightCyan"
+   `(region ((t (:background "firebrick"))))
+   `(secondary-selection ((t (:background "firebrick4")))) ;; coral tomato
+   `(idle-highlight ((t (:background "grey50" :foreground "white"))))
+   `(isearch ((t (:background "coral2"))))
+   `(lazy-highlight ((t (:background "coral4"))))
+   `(match ((t (:background "gray35" :foreground "grey85"))))
+   `(lsp-face-highlight-textual ((t (:background "DimGrey"))))
+   `(whitespace-empty ((t (:background "gray10"))))
+   `(hl-line ((t :background "gray15" :underline "gray35" :inherit nil)))
+   `(simple-modeline-status-modified ((t :foreground "DeepSkyBlue")))
+   `(consult-async-split ((t :foreground "LightCoral")))
+   `(orderless-match-face-0 ((t :foreground "tomato")))
+   `(orderless-match-face-1 ((t :foreground "SpringGreen2")))
+   `(orderless-match-face-2 ((t :foreground "gold")))
+   `(orderless-match-face-3 ((t :foreground "cyan")))
+   `(flycheck-fringe-warning ((t :foreground "white" :background "gold3")))
+   `(flycheck-fringe-error ((t :foreground "white" :background "red2")))
+   `(flycheck-fringe-info ((t :foreground "white" :background "RoyalBlue3")))
+   `(alt-font-lock-keyword-face ((t :foreground "LightSkyBlue" :weight bold)))
+   `(alt-hl-line-face ((t :underline "gray50" :weight bold))))
+  :config
+  (defun use-alt-font-lock-keyword-face ()
+    "Remap font-lock-keyword-face to the alternate one, in the current buffer"
+    (face-remap-add-relative 'font-lock-keyword-face 'alt-font-lock-keyword-face))
+  (defun use-alt-hl-line-face ()
+    "Remap hl-line face to the alternate one, in the current buffer"
+    (face-remap-add-relative 'hl-line 'alt-hl-line-face))
+  :hook
+  (cider-inspector-mode . use-alt-font-lock-keyword-face)
+  (magit-mode . use-alt-hl-line-face))
 
 (use-package whitespace
-  :ensure nil
   :diminish
   :custom
   (whitespace-line-column 120)
7 +0100 Reformat RELEASE_GUIDE as md and add more info' href='/danisanti/profani-tty/commit/RELEASE_GUIDE.md?id=f3ca75d61e0d73e8cd5f5c147b36bbdf74830325'>f3ca75d6 ^
0f0659aa ^
f3ca75d6 ^

0f0659aa ^
f3ca75d6 ^

0f0659aa ^



f3ca75d6 ^

0f0659aa ^
f3ca75d6 ^

0f0659aa ^
f3ca75d6 ^

0f0659aa ^
f3ca75d6 ^

0f0659aa ^
f3ca75d6 ^

5bb2f47d ^

0f0659aa ^

f3ca75d6 ^


d4892b29 ^
ec6b61c2 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81