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

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

[elpa] externals/modus-vivendi-theme 7d42a55 08/35: Review 'org-checkbox


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme 7d42a55 08/35: Review 'org-checkbox' face to use a "box" effect
Date: Wed, 24 Jun 2020 12:42:46 -0400 (EDT)

branch: externals/modus-vivendi-theme
commit 7d42a550384186582983e509d67c65270f033eee
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Review 'org-checkbox' face to use a "box" effect
    
    Based on the ongoing discussion in issue 50:
    https://gitlab.com/protesilaos/modus-themes/-/issues/50
---
 modus-operandi-theme.el | 3 ++-
 modus-vivendi-theme.el  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index e91457a..b7672ce 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -2628,7 +2628,8 @@ Also bind `class' to ((class color) (min-colors 89))."
                                            '(:extend t))
                                     :inherit fixed-pitch :background ,bg-alt 
:foreground ,fg-special-mild))))
    `(org-block-end-line ((,class (:inherit org-block-begin-line))))
-   `(org-checkbox ((,class (:weight bold))))
+   `(org-checkbox ((,class (:box (:line-width 1 :color ,bg-active)
+                                 :background ,bg-inactive :foreground 
,fg-active))))
    `(org-checkbox-statistics-done ((,class (:foreground ,green
                                                         
,@(modus-operandi-theme-heading-block
                                                            green-nuanced-bg 
green-nuanced)))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index cacefa4..a88601e 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -2628,7 +2628,8 @@ Also bind `class' to ((class color) (min-colors 89))."
                                            '(:extend t))
                                     :inherit fixed-pitch :background ,bg-alt 
:foreground ,fg-special-mild))))
    `(org-block-end-line ((,class (:inherit org-block-begin-line))))
-   `(org-checkbox ((,class (:weight bold))))
+   `(org-checkbox ((,class (:box (:line-width 1 :color ,bg-active)
+                                 :background ,bg-inactive :foreground 
,fg-active))))
    `(org-checkbox-statistics-done ((,class (:foreground ,green
                                                         
,@(modus-vivendi-theme-heading-block
                                                            green-nuanced-bg 
green-nuanced)))))



reply via email to

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