emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-themes 081093922d: Use a subtle 3D effect for cli


From: ELPA Syncer
Subject: [elpa] externals/modus-themes 081093922d: Use a subtle 3D effect for clickable buttons
Date: Fri, 31 Mar 2023 08:59:04 -0400 (EDT)

branch: externals/modus-themes
commit 081093922d36b920b4e8a0ba0d5e70d1cefbf643
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Use a subtle 3D effect for clickable buttons
    
    I realised the flat style creates ambiguity between the button and the
    text fields.  This happens, for example, with M-x customize-variable
    for 'org-capture-templates' which has lots of button and text field
    combinations.  The added sense of depth helps with the usability of
    these buttons because it makes them unambiguous.
---
 modus-themes.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index 370cf971f1..62931cda3e 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -1587,7 +1587,10 @@ FG and BG are the main colors."
     `(modus-themes-slant ((,c ,@(modus-themes--slant))))
     `(modus-themes-ui-variable-pitch ((,c 
,@(modus-themes--variable-pitch-ui))))
 ;;;;; other custom faces
-    `(modus-themes-button ((,c :inherit variable-pitch :box ,border 
:background ,bg-button-active :foreground ,fg-button-active)))
+    `(modus-themes-button ((,c :inherit variable-pitch
+                               :box (:line-width 1 :color ,border :style 
released-button)
+                               :background ,bg-button-active
+                               :foreground ,fg-button-active)))
     `(modus-themes-key-binding ((,c :inherit (bold modus-themes-fixed-pitch) 
:foreground ,keybind)))
     `(modus-themes-prompt ((,c ,@(modus-themes--prompt fg-prompt bg-prompt))))
     `(modus-themes-reset-soft ((,c :background ,bg-main :foreground ,fg-main



reply via email to

[Prev in Thread] Current Thread [Next in Thread]