[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 863999f 067/153: Make markdown hea
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 863999f 067/153: Make markdown headers scale |
Date: |
Thu, 18 Mar 2021 13:47:41 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 863999f1ffa3b4c53b9c2359ac5f8ddcf10d34af
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make markdown headers scale
This is because the following variables, defined in markdown-mode, do
not work with themed faces:
(setq markdown-header-scaling t)
(setq markdown-header-scaling-values '(2.0 1.7 1.4 1.1 1.0 1.0))
---
modus-operandi-theme.el | 12 ++++++++----
modus-vivendi-theme.el | 12 ++++++++----
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index a661e68..066747c 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3122,13 +3122,17 @@ Also bind `class' to ((class color) (min-colors 89))."
`(markdown-header-delimiter-face ((,class
,@(modus-operandi-theme-bold-weight) :foreground ,fg-dim)))
`(markdown-header-face ((t nil)))
`(markdown-header-face-1 ((,class ,@(modus-operandi-theme-heading
- 1 fg-main magenta-alt-other
magenta-nuanced-bg bg-region))))
+ 1 fg-main magenta-alt-other
magenta-nuanced-bg bg-region)
+ ,@(modus-operandi-theme-scale
modus-operandi-theme-scale-4))))
`(markdown-header-face-2 ((,class ,@(modus-operandi-theme-heading
- 2 fg-special-warm magenta-alt
red-nuanced-bg bg-region))))
+ 2 fg-special-warm magenta-alt
red-nuanced-bg bg-region)
+ ,@(modus-operandi-theme-scale
modus-operandi-theme-scale-3))))
`(markdown-header-face-3 ((,class ,@(modus-operandi-theme-heading
- 3 fg-special-cold blue blue-nuanced-bg
bg-region))))
+ 3 fg-special-cold blue blue-nuanced-bg
bg-region)
+ ,@(modus-operandi-theme-scale
modus-operandi-theme-scale-2))))
`(markdown-header-face-4 ((,class ,@(modus-operandi-theme-heading
- 4 fg-special-mild cyan cyan-nuanced-bg
bg-region))))
+ 4 fg-special-mild cyan cyan-nuanced-bg
bg-region)
+ ,@(modus-operandi-theme-scale
modus-operandi-theme-scale-1))))
`(markdown-header-face-5 ((,class ,@(modus-operandi-theme-heading
5 fg-special-calm green-alt-other
green-nuanced-bg bg-region))))
`(markdown-header-face-6 ((,class ,@(modus-operandi-theme-heading
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index a6b6457..3271c19 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3122,13 +3122,17 @@ Also bind `class' to ((class color) (min-colors 89))."
`(markdown-header-delimiter-face ((,class
,@(modus-vivendi-theme-bold-weight) :foreground ,fg-dim)))
`(markdown-header-face ((t nil)))
`(markdown-header-face-1 ((,class ,@(modus-vivendi-theme-heading
- 1 fg-main magenta-alt-other
magenta-nuanced-bg bg-region))))
+ 1 fg-main magenta-alt-other
magenta-nuanced-bg bg-region)
+ ,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-4))))
`(markdown-header-face-2 ((,class ,@(modus-vivendi-theme-heading
- 2 fg-special-warm magenta-alt
red-nuanced-bg bg-region))))
+ 2 fg-special-warm magenta-alt
red-nuanced-bg bg-region)
+ ,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-3))))
`(markdown-header-face-3 ((,class ,@(modus-vivendi-theme-heading
- 3 fg-special-cold blue blue-nuanced-bg
bg-region))))
+ 3 fg-special-cold blue blue-nuanced-bg
bg-region)
+ ,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-2))))
`(markdown-header-face-4 ((,class ,@(modus-vivendi-theme-heading
- 4 fg-special-mild cyan cyan-nuanced-bg
bg-region))))
+ 4 fg-special-mild cyan cyan-nuanced-bg
bg-region)
+ ,@(modus-vivendi-theme-scale
modus-vivendi-theme-scale-1))))
`(markdown-header-face-5 ((,class ,@(modus-vivendi-theme-heading
5 fg-special-calm green-alt-other
green-nuanced-bg bg-region))))
`(markdown-header-face-6 ((,class ,@(modus-vivendi-theme-heading
- [elpa] externals/modus-operandi-theme 2b25a6a 048/153: Use consistent underline colour in org-footnote, (continued)
- [elpa] externals/modus-operandi-theme 2b25a6a 048/153: Use consistent underline colour in org-footnote, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 6d302de 022/153: Clarify docstring for intense hl line option, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 88c6446 027/153: Put git-rebase faces in the right place, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 9c1d5f9 016/153: Add support for eldoc-highlight-function-argument, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 63db2ad 052/153: Clarify recommended method for scaling headings, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme e8aeccb 026/153: Remove README.org, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme ecf58e3 081/153: Fix inconsistent ':inherit', Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 1c75265 037/153: Add support for binder, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme be587b4 080/153: New custom option to remove underline from links, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme f527ae7 041/153: Let Org tags respect their heading's font weight, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 863999f 067/153: Make markdown headers scale,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme c9ce126 061/153: Merge branch 'refactor-headings-options' into master, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme e2b8fc6 074/153: Make Org drawers and their data fixed-pitch, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme b337b07 084/153: Fix indentation, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 0ef6c44 089/153: Minor comment update, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 4bc1321 091/153: Use more appropriate colour for vc-edited-state, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 57e7bed 092/153: Refine "active" palette subset (modeline colours), Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme d09ba39 094/153: Use internal function for org-quote styling, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme c01f05e 095/153: New customisation option to disable font mixing, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme b62d948 100/153: Tweak standard VC modeline faces, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 199bad3 106/153: Use (or x y) instead of (if x x y) in one place, Stefan Monnier, 2021/03/18