[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 72e1f6b 68/99: Minor review of MAR
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 72e1f6b 68/99: Minor review of MARKDOWN-MODE faces |
Date: |
Fri, 31 Jul 2020 09:25:27 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 72e1f6b8ec4a352241594e530a60ad155461c17b
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Minor review of MARKDOWN-MODE faces
+ Make certain faces always use a monospaced font.
+ Also tweak the blockquote and fenced block styles.
---
modus-operandi-theme.el | 22 ++++++++++++----------
modus-vivendi-theme.el | 22 ++++++++++++----------
2 files changed, 24 insertions(+), 20 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index a9737ec..6ec8616 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -2576,7 +2576,7 @@ Also bind `class' to ((class color) (min-colors 89))."
`(Man-reverse ((,class :inherit modus-theme-subtle-magenta)))
`(Man-underline ((,class :foreground ,cyan :underline t)))
;;;; markdown-mode
- `(markdown-blockquote-face ((,class :background ,bg-dim :foreground
,fg-special-warm :slant ,modus-theme-slant)))
+ `(markdown-blockquote-face ((,class :foreground ,fg-special-warm :slant
,modus-theme-slant)))
`(markdown-bold-face ((,class :weight bold)))
`(markdown-code-face ((,class :inherit fixed-pitch)))
`(markdown-comment-face ((,class :foreground ,fg-alt :slant
,modus-theme-slant)))
@@ -2587,15 +2587,15 @@ Also bind `class' to ((class color) (min-colors 89))."
`(markdown-header-face ((,class :weight bold)))
`(markdown-header-rule-face ((,class :foreground ,fg-special-warm :weight
bold)))
`(markdown-hr-face ((,class :foreground ,fg-special-warm :weight bold)))
- `(markdown-html-attr-name-face ((,class :foreground ,cyan)))
- `(markdown-html-attr-value-face ((,class :foreground ,blue)))
- `(markdown-html-entity-face ((,class :foreground ,cyan)))
- `(markdown-html-tag-delimiter-face ((,class :foreground ,fg-special-mild)))
- `(markdown-html-tag-name-face ((,class :foreground ,magenta-alt)))
- `(markdown-inline-code-face ((,class :foreground ,magenta)))
+ `(markdown-html-attr-name-face ((,class :inherit fixed-pitch :foreground
,cyan)))
+ `(markdown-html-attr-value-face ((,class :inherit fixed-pitch :foreground
,blue)))
+ `(markdown-html-entity-face ((,class :inherit fixed-pitch :foreground
,cyan)))
+ `(markdown-html-tag-delimiter-face ((,class :inherit fixed-pitch
:foreground ,fg-special-mild)))
+ `(markdown-html-tag-name-face ((,class :inherit fixed-pitch :foreground
,magenta-alt)))
+ `(markdown-inline-code-face ((,class :inherit fixed-pitch :foreground
,magenta)))
`(markdown-italic-face ((,class :slant italic)))
- `(markdown-language-info-face ((,class :foreground ,fg-special-cold)))
- `(markdown-language-keyword-face ((,class :foreground ,green-alt-other)))
+ `(markdown-language-info-face ((,class :inherit fixed-pitch :foreground
,fg-special-cold)))
+ `(markdown-language-keyword-face ((,class :inherit fixed-pitch :foreground
,green-alt-other)))
`(markdown-line-break-face ((,class :inherit modus-theme-refine-cyan
:underline t)))
`(markdown-link-face ((,class :inherit link)))
`(markdown-link-title-face ((,class :foreground ,fg-special-cold :slant
,modus-theme-slant)))
@@ -2606,7 +2606,9 @@ Also bind `class' to ((class color) (min-colors 89))."
`(markdown-metadata-value-face ((,class :foreground ,blue-alt)))
`(markdown-missing-link-face ((,class :foreground ,yellow :weight bold)))
`(markdown-plain-url-face ((,class :inherit markdown-link-face)))
- `(markdown-pre-face ((,class :foreground ,fg-special-mild)))
+ `(markdown-pre-face ((,class ,@(and (>= emacs-major-version 27) '(:extend
t))
+ :inherit fixed-pitch :background ,bg-dim
+ :foreground ,fg-special-mild)))
`(markdown-reference-face ((,class :inherit markdown-markup-face)))
`(markdown-strike-through-face ((,class :strike-through t)))
`(markdown-table-face ((,class :foreground ,fg-special-cold)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 9f93082..1e4fc71 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -2576,7 +2576,7 @@ Also bind `class' to ((class color) (min-colors 89))."
`(Man-reverse ((,class :inherit modus-theme-subtle-magenta)))
`(Man-underline ((,class :foreground ,cyan :underline t)))
;;;; markdown-mode
- `(markdown-blockquote-face ((,class :background ,bg-dim :foreground
,fg-special-warm :slant ,modus-theme-slant)))
+ `(markdown-blockquote-face ((,class :foreground ,fg-special-warm :slant
,modus-theme-slant)))
`(markdown-bold-face ((,class :weight bold)))
`(markdown-code-face ((,class :inherit fixed-pitch)))
`(markdown-comment-face ((,class :foreground ,fg-alt :slant
,modus-theme-slant)))
@@ -2587,15 +2587,15 @@ Also bind `class' to ((class color) (min-colors 89))."
`(markdown-header-face ((,class :weight bold)))
`(markdown-header-rule-face ((,class :foreground ,fg-special-warm :weight
bold)))
`(markdown-hr-face ((,class :foreground ,fg-special-warm :weight bold)))
- `(markdown-html-attr-name-face ((,class :foreground ,cyan)))
- `(markdown-html-attr-value-face ((,class :foreground ,blue)))
- `(markdown-html-entity-face ((,class :foreground ,cyan)))
- `(markdown-html-tag-delimiter-face ((,class :foreground ,fg-special-mild)))
- `(markdown-html-tag-name-face ((,class :foreground ,magenta-alt)))
- `(markdown-inline-code-face ((,class :foreground ,magenta)))
+ `(markdown-html-attr-name-face ((,class :inherit fixed-pitch :foreground
,cyan)))
+ `(markdown-html-attr-value-face ((,class :inherit fixed-pitch :foreground
,blue)))
+ `(markdown-html-entity-face ((,class :inherit fixed-pitch :foreground
,cyan)))
+ `(markdown-html-tag-delimiter-face ((,class :inherit fixed-pitch
:foreground ,fg-special-mild)))
+ `(markdown-html-tag-name-face ((,class :inherit fixed-pitch :foreground
,magenta-alt)))
+ `(markdown-inline-code-face ((,class :inherit fixed-pitch :foreground
,magenta)))
`(markdown-italic-face ((,class :slant italic)))
- `(markdown-language-info-face ((,class :foreground ,fg-special-cold)))
- `(markdown-language-keyword-face ((,class :foreground ,green-alt-other)))
+ `(markdown-language-info-face ((,class :inherit fixed-pitch :foreground
,fg-special-cold)))
+ `(markdown-language-keyword-face ((,class :inherit fixed-pitch :foreground
,green-alt-other)))
`(markdown-line-break-face ((,class :inherit modus-theme-refine-cyan
:underline t)))
`(markdown-link-face ((,class :inherit link)))
`(markdown-link-title-face ((,class :foreground ,fg-special-cold :slant
,modus-theme-slant)))
@@ -2606,7 +2606,9 @@ Also bind `class' to ((class color) (min-colors 89))."
`(markdown-metadata-value-face ((,class :foreground ,blue-alt)))
`(markdown-missing-link-face ((,class :foreground ,yellow :weight bold)))
`(markdown-plain-url-face ((,class :inherit markdown-link-face)))
- `(markdown-pre-face ((,class :foreground ,fg-special-mild)))
+ `(markdown-pre-face ((,class ,@(and (>= emacs-major-version 27) '(:extend
t))
+ :inherit fixed-pitch :background ,bg-dim
+ :foreground ,fg-special-mild)))
`(markdown-reference-face ((,class :inherit markdown-markup-face)))
`(markdown-strike-through-face ((,class :strike-through t)))
`(markdown-table-face ((,class :foreground ,fg-special-cold)))
- [elpa] externals/modus-operandi-theme e536a59 55/99: Tweak Org block begin/end for "rainbow blocks", (continued)
- [elpa] externals/modus-operandi-theme e536a59 55/99: Tweak Org block begin/end for "rainbow blocks", Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 7a3ceda 56/99: Update documention of "rainbow src blocks" option, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 72d4723 57/99: Remove ':extend t' from all Org block options, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 1841211 58/99: Add support for HL-DEFINED, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 4bde9bc 61/99: Update README install section (GNU/Linux distros), Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 23b38df 60/99: Add "bug" keyword to 'hl-todo-keyword-faces' list, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 52a8c0c 62/99: Clarify customisation symbols and possible values, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 0e5f2b0 66/99: Internal re-order of a few faces, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme aea6d29 69/99: Add support for built-in TTY-MENU faces, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme ae2fa4a 70/99: Let Markdown tables always inherit fixed-pitch, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 72e1f6b 68/99: Minor review of MARKDOWN-MODE faces,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme 7bf96d9 73/99: Internal: review of docs, outline comments, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 8a555e9 77/99: Internal: fix misplaced comment line, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme d8986b7 79/99: Let outline-minor-faces respect "section headings", Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme c2b800d 81/99: Tweak default background of outline-minor-faces, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme ffd9f1f 85/99: Update section on mixed font docs, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme c376b08 98/99: Prepare version 0.11.0, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 624cbd6 46/99: Improve README for Org-block-related options, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 5d2e6ae 49/99: Reference issue 54 regarding "mixed fonts" in Org, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme 1cf8571 53/99: Add support for ESHELL-PROMPT-EXTRAS, Stefan Monnier, 2020/07/31
- [elpa] externals/modus-operandi-theme e32ca7d 37/99: Refine Org block beg/end line conditional styles, Stefan Monnier, 2020/07/31