From eb2a38c71a955fa934ac7a907b9924b3755e40c7 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 15 Feb 2021 16:29:03 -0800 Subject: [PATCH] =?UTF-8?q?Update=20=E2=80=98org-block=E2=80=99=20face?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.org | 4 ++++ yoshi-theme.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.org b/CHANGELOG.org index ce8ffdc..4d93fdf 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -66,6 +66,10 @@ This is inspired by ideas from the [[https://www.nordtheme.com/docs/colors-and-p I hope that these changes make the mode-line more distinctive and nicer to look at. I wanted to use one of the new colors after reading some of the [[https://www.nordtheme.com/docs/colors-and-palettes][Nord theme Colors and Palettes]] notes about the use of their colors for different “levels” of UI elements. I thought this worked quite well with the mode-line and some of the other elements such as hydras as well. +** CHANGED org-block face + +Made =org-block= inherit from the =fixed-pitch= face so that when =variable-pitch-mode= is used for Org mode, code in code blocks are still using monospaced fonts. + * [[https://github.com/ryuslash/yoshi-theme/compare/v6.1.0...v6.2.0][6.2.0]] -- 2019-05-05 :PROPERTIES: :CUSTOM_ID: release-6.2.0 diff --git a/yoshi-theme.el b/yoshi-theme.el index a8d1ab7..85a0331 100644 --- a/yoshi-theme.el +++ b/yoshi-theme.el @@ -403,7 +403,7 @@ `(org-agenda-date-weekend ((t (:foreground ,fgcyan)))) `(org-agenda-done ((t (:foreground ,fgorange)))) `(org-agenda-structure ((t (:foreground ,fgblue)))) - `(org-block ((t (:foreground ,yoshi-6 :background ,yoshi-1 :inherit unspecified)))) + `(org-block ((t (:foreground ,yoshi-6 :background ,yoshi-1 :inherit fixed-pitch)))) `(org-block-background ((t (:background ,yoshi-1)))) `(org-block-begin-line ((t (:foreground ,yoshi-4 :slant unspecified :background ,yoshi-2 :height 0.71)))) `(org-block-end-line ((t (:foreground ,yoshi-4 :slant unspecified :background ,yoshi-1 :height 0.71))))