summaryrefslogtreecommitdiff
path: root/modeline.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-12-23 20:15:42 +0800
committerJSDurand <mmemmew@gmail.com>2022-12-23 20:15:42 +0800
commitbe3d74741520810012e684ed65d60b236ab83a5d (patch)
tree4e815b79e95bbbfe8c65447fafcbab084d5e317a /modeline.el
parent65169da49653a6f72978018e53ab702109bde074 (diff)
modeline: replace some uses of the doom faces
* modeline.el (modeline-format-buffer-status): Use other faces for the mode line.
Diffstat (limited to 'modeline.el')
-rw-r--r--modeline.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/modeline.el b/modeline.el
index bbf75b2..eb30b93 100644
--- a/modeline.el
+++ b/modeline.el
@@ -269,21 +269,21 @@ MAP is the local keymap of the text."
(cond ((and buffer-file-name (buffer-modified-p))
(format-mode-line "M" (cond
(active-p
- 'doom-modeline-buffer-modified)
+ 'compilation-error)
(t 'mode-line-inactive)))))
;; read-only?
(cond
(buffer-read-only
(format-mode-line "R" (cond
(active-p
- 'doom-modeline-urgent)
+ 'modus-themes-fg-cyan-intense)
(t 'mode-line-inactive)))))
;; narrow?
(cond
((buffer-narrowed-p)
(format-mode-line "N" (cond
(active-p
- 'doom-modeline-warning)
+ 'compilation-warning)
(t 'mode-line-inactive))))))))
;;;; Buffer position