[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 83351ab 065/153: Add new headings'
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 83351ab 065/153: Add new headings' option to Info headers |
Date: |
Thu, 18 Mar 2021 13:47:40 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 83351ab5e34ad7a15e7e8549f7153cc838e0536f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add new headings' option to Info headers
---
modus-operandi-theme.el | 17 +++++++++++------
modus-vivendi-theme.el | 17 +++++++++++------
2 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 08880ae..bde370b 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -2783,17 +2783,22 @@ Also bind `class' to ((class color) (min-colors 89))."
`(info-header-node ((,class :inherit bold :foreground ,fg-alt)))
`(info-header-xref ((,class :foreground ,blue-active)))
`(info-index-match ((,class :inherit match)))
- `(info-menu-header ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-main
- ,@(modus-operandi-theme-scale
modus-operandi-theme-scale-2))))
+ `(info-menu-header ((,class ,@(modus-operandi-theme-heading
+ 3 fg-special-cold blue blue-nuanced-bg bg-region)
+ ,@(modus-operandi-theme-scale
modus-operandi-theme-scale-2))))
`(info-menu-star ((,class :foreground ,red)))
`(info-node ((,class :inherit bold)))
- `(info-title-1 ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-main
+ `(info-title-1 ((,class ,@(modus-operandi-theme-heading
+ 1 fg-main magenta-alt-other magenta-nuanced-bg
bg-region)
,@(modus-operandi-theme-scale
modus-operandi-theme-scale-4))))
- `(info-title-2 ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-special-warm
+ `(info-title-2 ((,class ,@(modus-operandi-theme-heading
+ 2 fg-special-warm magenta-alt red-nuanced-bg
bg-region)
,@(modus-operandi-theme-scale
modus-operandi-theme-scale-3))))
- `(info-title-3 ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-special-cold
+ `(info-title-3 ((,class ,@(modus-operandi-theme-heading
+ 3 fg-special-cold blue blue-nuanced-bg bg-region)
,@(modus-operandi-theme-scale
modus-operandi-theme-scale-2))))
- `(info-title-4 ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-special-mild
+ `(info-title-4 ((,class ,@(modus-operandi-theme-heading
+ 4 fg-special-mild cyan cyan-nuanced-bg bg-region)
,@(modus-operandi-theme-scale
modus-operandi-theme-scale-1))))
;;;;; info-colors
`(info-colors-lisp-code-block ((,class :inherit fixed-pitch)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index c62543a..4afbe9c 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -2783,17 +2783,22 @@ Also bind `class' to ((class color) (min-colors 89))."
`(info-header-node ((,class :inherit bold :foreground ,fg-alt)))
`(info-header-xref ((,class :foreground ,blue-active)))
`(info-index-match ((,class :inherit match)))
- `(info-menu-header ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-main
- ,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-2))))
+ `(info-menu-header ((,class ,@(modus-vivendi-theme-heading
+ 3 fg-special-cold blue blue-nuanced-bg bg-region)
+ ,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-2))))
`(info-menu-star ((,class :foreground ,red)))
`(info-node ((,class :inherit bold)))
- `(info-title-1 ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-main
+ `(info-title-1 ((,class ,@(modus-vivendi-theme-heading
+ 1 fg-main magenta-alt-other magenta-nuanced-bg
bg-region)
,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-4))))
- `(info-title-2 ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-special-warm
+ `(info-title-2 ((,class ,@(modus-vivendi-theme-heading
+ 2 fg-special-warm magenta-alt red-nuanced-bg
bg-region)
,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-3))))
- `(info-title-3 ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-special-cold
+ `(info-title-3 ((,class ,@(modus-vivendi-theme-heading
+ 3 fg-special-cold blue blue-nuanced-bg bg-region)
,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-2))))
- `(info-title-4 ((,class :inherit (bold ,modus-theme-variable-pitch)
:foreground ,fg-special-mild
+ `(info-title-4 ((,class ,@(modus-vivendi-theme-heading
+ 4 fg-special-mild cyan cyan-nuanced-bg bg-region)
,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-1))))
;;;;; info-colors
`(info-colors-lisp-code-block ((,class :inherit fixed-pitch)))
- [elpa] externals/modus-operandi-theme e523018 071/153: changed cperl-mode colours, (continued)
- [elpa] externals/modus-operandi-theme e523018 071/153: changed cperl-mode colours, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 28c12e4 063/153: Let quoted Info manual text always be fixed-pitch, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme f2be615 072/153: Merge branch 'master' into 'master', Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 12f7b3b 083/153: Make Helm symlink underline effect optional, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme eb9334b 093/153: Tweak message separator faces (extends 57e7bedce), Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 8d8d5ab 064/153: Recompile manual to include c9ce126ea, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme a9589fb 098/153: Minor indentation fix, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme aa58ca8 012/153: Fix link to issue in README, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 2d648ba 019/153: Remove superfluous optional arg in documentation, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 3a020a6 015/153: Add support for awesome-tray, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 83351ab 065/153: Add new headings' option to Info headers,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme 335326f 024/153: Expand info manual with new sections, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 1b2ddc5 023/153: Apply distant-foreground to mode lines, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme cc23874 062/153: Add new headings' option to Markdown headers, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme ea8cbf7 073/153: Update manual's acknowledgements' section, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 7259b84 068/153: add support for cperl-mode, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 505043b 066/153: Fix bug with custom variable obsolete alias, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme adb02c5 069/153: Use more appropriate syntax for obsolete variables, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 2364c9b 075/153: Let vterm base colours be distinct from Emacs', Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 94c9b1c 059/153: Silence linter for spurious eldoc error, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 0bcb9d8 082/153: Add note in manual on ERC escaped colour sequences, Stefan Monnier, 2021/03/18