diff options
| author | 2021-02-15 16:29:03 -0800 | |
|---|---|---|
| committer | 2021-02-15 16:29:03 -0800 | |
| commit | eb2a38c71a955fa934ac7a907b9924b3755e40c7 (patch) | |
| tree | 9419c52995f01dd73035ce5c96ef94bc26ada1c5 | |
| parent | 2f3b874f4a7fbaba3290ce068de01227beb1e0c7 (diff) | |
| download | yoshi-theme-eb2a38c71a955fa934ac7a907b9924b3755e40c7.tar.gz yoshi-theme-eb2a38c71a955fa934ac7a907b9924b3755e40c7.zip | |
Update ‘org-block’ face
| -rw-r--r-- | CHANGELOG.org | 4 | ||||
| -rw-r--r-- | yoshi-theme.el | 2 |
2 files changed, 5 insertions, 1 deletions
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)))) |
