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

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

[elpa] externals/modus-operandi-theme 9eef7ac 130/153: Review Org agenda


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 9eef7ac 130/153: Review Org agenda date and structure faces
Date: Thu, 18 Mar 2021 13:47:56 -0400 (EDT)

branch: externals/modus-operandi-theme
commit 9eef7ac47bfa2c616e994d122a48150a4aa5c0f3
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Review Org agenda date and structure faces
    
    They are no longer treated as headings, in the interest of consistency
    with other agenda styles and to avoid exagerrations.
---
 modus-operandi-theme.el | 18 ++++--------------
 modus-vivendi-theme.el  | 18 ++++--------------
 2 files changed, 8 insertions(+), 28 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 9883d9a..55f3e72 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3567,17 +3567,9 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(org-agenda-clocking ((,class :inherit modus-theme-special-cold)))
    `(org-agenda-column-dateline ((,class :background ,bg-alt)))
    `(org-agenda-current-time ((,class :inherit modus-theme-subtle-cyan)))
-   ;; NOTE: here we break the pattern of inheriting from
-   ;; modus-theme-heading-N faces.
-   `(org-agenda-date ((,class ,@(modus-operandi-theme-heading
-                                 1 cyan-alt-other cyan-alt-other 
cyan-nuanced-bg bg-region)
-                              ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-4))))
-   `(org-agenda-date-today ((,class :inherit (bold ,modus-theme-variable-pitch)
-                                    :background ,cyan-intense-bg :foreground 
,fg-main
-                                    ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-4))))
-   `(org-agenda-date-weekend ((,class ,@(modus-operandi-theme-heading
-                                         1 cyan cyan blue-nuanced-bg bg-region)
-                                      ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-4))))
+   `(org-agenda-date ((,class :inherit bold :foreground ,cyan)))
+   `(org-agenda-date-today ((,class :inherit (bold modus-theme-intense-cyan))))
+   `(org-agenda-date-weekend ((,class :inherit bold :foreground 
,cyan-alt-other)))
    `(org-agenda-diary ((,class :foreground ,fg-main)))
    `(org-agenda-dimmed-todo-face ((,class :inherit 
modus-theme-subtle-neutral)))
    `(org-agenda-done ((,class :foreground ,green-alt)))
@@ -3586,9 +3578,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(org-agenda-filter-regexp ((,class :inherit bold :foreground 
,magenta-active)))
    `(org-agenda-filter-tags ((,class :inherit bold :foreground 
,magenta-active)))
    `(org-agenda-restriction-lock ((,class :background ,bg-dim :foreground 
,fg-dim)))
-   `(org-agenda-structure ((,class :inherit ,modus-theme-variable-pitch
-                                   :foreground ,fg-special-mild
-                                   ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-3))))
+   `(org-agenda-structure ((,class :foreground ,blue-alt)))
    `(org-archived ((,class :background ,bg-alt :foreground ,fg-alt)))
    `(org-block ((,class ,@(modus-operandi-theme-mixed-fonts)
                         ,@(modus-operandi-theme-org-block bg-dim)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index d241423..13c4b68 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3567,17 +3567,9 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(org-agenda-clocking ((,class :inherit modus-theme-special-cold)))
    `(org-agenda-column-dateline ((,class :background ,bg-alt)))
    `(org-agenda-current-time ((,class :inherit modus-theme-subtle-cyan)))
-   ;; NOTE: here we break the pattern of inheriting from
-   ;; modus-theme-heading-N faces.
-   `(org-agenda-date ((,class ,@(modus-vivendi-theme-heading
-                                 1 cyan-alt-other cyan-alt-other 
cyan-nuanced-bg bg-region)
-                              ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-4))))
-   `(org-agenda-date-today ((,class :inherit (bold ,modus-theme-variable-pitch)
-                                    :background ,cyan-intense-bg :foreground 
,fg-main
-                                    ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-4))))
-   `(org-agenda-date-weekend ((,class ,@(modus-vivendi-theme-heading
-                                         1 cyan cyan blue-nuanced-bg bg-region)
-                                      ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-4))))
+   `(org-agenda-date ((,class :inherit bold :foreground ,cyan)))
+   `(org-agenda-date-today ((,class :inherit (bold modus-theme-intense-cyan))))
+   `(org-agenda-date-weekend ((,class :inherit bold :foreground 
,cyan-alt-other)))
    `(org-agenda-diary ((,class :foreground ,fg-main)))
    `(org-agenda-dimmed-todo-face ((,class :inherit 
modus-theme-subtle-neutral)))
    `(org-agenda-done ((,class :foreground ,green-alt)))
@@ -3586,9 +3578,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(org-agenda-filter-regexp ((,class :inherit bold :foreground 
,magenta-active)))
    `(org-agenda-filter-tags ((,class :inherit bold :foreground 
,magenta-active)))
    `(org-agenda-restriction-lock ((,class :background ,bg-dim :foreground 
,fg-dim)))
-   `(org-agenda-structure ((,class :inherit ,modus-theme-variable-pitch
-                                   :foreground ,fg-special-mild
-                                   ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-3))))
+   `(org-agenda-structure ((,class :foreground ,blue-alt)))
    `(org-archived ((,class :background ,bg-alt :foreground ,fg-alt)))
    `(org-block ((,class ,@(modus-vivendi-theme-mixed-fonts)
                         ,@(modus-vivendi-theme-org-block bg-dim)



reply via email to

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