1
0
Fork 0
mirror of https://git.sr.ht/~ryuslash/yoshi-theme synced 2025-01-31 03:15:52 +01:00

Update ‘org-block’ face

This commit is contained in:
Tom Willemse 2021-02-15 16:29:03 -08:00
parent 2f3b874f4a
commit eb2a38c71a
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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))))