branch: externals/modus-themes
commit 920f7ae8b2c5c3d35aacb1fd3102054b409e170e
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Tweak the org-dispatcher-highlight
---
 modus-themes.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index 5fa4417040..6493e8099f 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -6262,7 +6262,11 @@ FG and BG are the main colors."
     ;; with the :box, but I do it here because the keys are otherwise
     ;; very hard to read.  The square brackets around them are not
     ;; colored, which is what is causing the problem.
-    `(org-dispatcher-highlight ((,c :inherit modus-themes-bold :box 
(:line-width 2 :color ,bg-hover-secondary) :background ,bg-hover-secondary 
:foreground ,fg-main)))
+    `(org-dispatcher-highlight
+      ((default :background ,bg-mark-select :foreground ,fg-main)
+       (((supports :box t))
+        :box (:line-width 2 :color ,bg-mark-select))
+       (t :underline ,border)))
     `(org-document-info ((,c :foreground ,prose-metadata-value)))
     `(org-document-info-keyword ((,c :inherit modus-themes-fixed-pitch 
:foreground ,prose-metadata)))
     `(org-document-title ((,c :inherit modus-themes-heading-0)))

Reply via email to