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

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

[elpa] externals/ef-themes 6b06e09750: Use a subtle 3D effect for clicka


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 6b06e09750: Use a subtle 3D effect for clickable buttons
Date: Fri, 31 Mar 2023 08:58:08 -0400 (EDT)

branch: externals/ef-themes
commit 6b06e09750c8fc217fcca495e7e3a10ea9a37120
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.
---
 ef-themes.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ef-themes.el b/ef-themes.el
index 11dff4f16c..c04646ebed 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1037,7 +1037,8 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(corfu-border ((,c :background ,bg-active)))
     `(corfu-default ((,c :background ,bg-inactive)))
 ;;;; custom (M-x customize)
-    `(custom-button ((,c :box ,fg-dim :background ,bg-active :foreground 
,fg-intense)))
+    `(custom-button ((,c :box (:color ,border :style released-button)
+                         :background ,bg-active :foreground ,fg-intense)))
     `(custom-button-mouse ((,c :inherit (highlight custom-button))))
     `(custom-button-pressed ((,c :inherit (secondary-selection 
custom-button))))
     `(custom-changed ((,c :background ,bg-changed)))



reply via email to

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