summaryrefslogtreecommitdiff
path: root/modally.el
diff options
context:
space:
mode:
Diffstat (limited to 'modally.el')
-rw-r--r--modally.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/modally.el b/modally.el
index 69dfca0..3fd914a 100644
--- a/modally.el
+++ b/modally.el
@@ -243,12 +243,14 @@
'mode-line-active nil
:background "black"
:foreground "white"
- :box '(:line-width (20 . 2) :color "#444444"))
+ :box `(:line-width (20 . 2)
+ :color ,(face-attribute 'modally-active :foreground)))
(set-face-attribute
'mode-line-inactive nil
:background "black"
:foreground "grey"
- :box '(:line-width (20 . 2) :color "#222222")))
+ :box `(:line-width (20 . 2)
+ :color ,(face-attribute 'modally-inactive :foreground))))
(defun modally--reset-face()
"Reset mode-line face."