summaryrefslogtreecommitdiff
path: root/modally.el
diff options
context:
space:
mode:
authorBlake Romero <blake@developercraft.com>2025-10-12 14:44:29 +0100
committerBlake Romero <blake@developercraft.com>2025-10-12 14:44:29 +0100
commit516201e65bfc3bdb55247c060a546f98f2513dea (patch)
treec76643d3370afed9b1cc98ee41874e9ed08ea9f6 /modally.el
parentd0c8423b1fee38ac1e2c9d35705622c1734c0473 (diff)
Set modeline box colour
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."