aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.org4
-rw-r--r--soria-theme.el39
2 files changed, 42 insertions, 1 deletions
diff --git a/CHANGELOG.org b/CHANGELOG.org
index c6d6629..ed6543e 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -2,6 +2,10 @@
* Changelog
+** Next
+
+- Added support for =mode-line= and =doom-modeline=.
+
** 0.3.2
- Changed =soria-theme-purple-identifiers= so it's interactive. See [[https://github.com/mssola/soria/commit/ababa4f383fc038a3b03babb99e7dbbc4f1aa3aa][ababa4f383fc]].
diff --git a/soria-theme.el b/soria-theme.el
index 6f0a2f3..1aa10cb 100644
--- a/soria-theme.el
+++ b/soria-theme.el
@@ -1345,7 +1345,44 @@ The theme has to be reloaded after changing anything in this group."
((,class (:inherit org-done))))
`(org-date
- ((,class (:foreground ,soria-gray, :weight normal :underline nil))))))
+ ((,class (:foreground ,soria-gray, :weight normal :underline nil))))
+
+ ;; modeline: this is the base for faces from some modelines (doom-modeline).
+
+ `(mode-line-emphasis
+ ((,class (:foreground ,soria-white :inherit bold))))
+
+ `(mode-line-buffer-id
+ ((,class (:foreground ,soria-white :inherit bold))))
+
+ `(mode-line-highlight
+ ((,class (:foreground ,soria-yellow))))
+
+ ;; doom-modeline
+
+ `(doom-modeline-buffer-modified
+ ((,class (:foreground ,soria-orange :weight normal))))
+
+ `(doom-modeline-buffer-path
+ ((,class (:foreground ,soria-white :weight normal))))
+
+ `(doom-modeline-project-dir
+ ((,class (:foreground ,soria-yellow :weight normal))))
+
+ `(doom-modeline-evil-emacs-state
+ ((,class (:foreground ,soria-darkpurple :weight bold))))
+
+ `(doom-modeline-evil-insert-state
+ ((,class (:foreground ,soria-orange :weight bold))))
+
+ `(doom-modeline-evil-visual-state
+ ((,class (:foreground ,soria-purple :weight bold))))
+
+ `(doom-modeline-info
+ ((,class (:foreground ,soria-green :weight normal))))
+
+ `(doom-modeline-warning
+ ((,class (:foreground ,soria-orange :weight normal))))))
(defun soria-theme-purple-identifiers ()
"Make function identifiers purple.