diff options
| author | 2020-04-20 19:36:00 -0700 | |
|---|---|---|
| committer | 2020-04-20 19:41:11 -0700 | |
| commit | 0dac8afe67f2c00e21f62ea0c723cbfc66d1c217 (patch) | |
| tree | e9f1cea6f2147f2f550a6e5e9dcdc25ed25a5563 | |
| parent | 4b682d2b2b0008a8824aaf5e373c33b5b3dce1dd (diff) | |
| download | yoshi-theme-0dac8afe67f2c00e21f62ea0c723cbfc66d1c217.tar.gz yoshi-theme-0dac8afe67f2c00e21f62ea0c723cbfc66d1c217.zip | |
Update block-begin and block-end lines in org-mode
Give both a darker font and shrink them, turn the end line’s background the same
color as the ‘org-block’ face. This makes it clear that the begin and end lines
aren’t as important as the contents and by only making one of the header lines a
brighter color it gives the blocks a bit more emphasis without becoming too busy.
| -rw-r--r-- | CHANGELOG.org | 7 | ||||
| -rw-r--r-- | yoshi-theme.el | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/CHANGELOG.org b/CHANGELOG.org index 07d59a1..72ba088 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -29,9 +29,10 @@ This project adheres to [[http://semver.org][Semantic Versioning]]. Instead of showing an underline and an overline for the beginning and end blocks, give them a background color. With the variable =org-fontify-whole-block-delimiter-line= set to =t=, this causes it to create a - line-thick border at the top and bottom of the block. The background of the - block itself has been changed to match that of other highlighted backgrounds, - such as the posframe pop-ups for ivy and company. + line-thick border at the top of the block. The background of the block itself + has been changed to match that of other highlighted backgrounds, such as the + posframe pop-ups for ivy and company. The bottom line has been given the same + color so that blocks don't look too busy all over your document. ** ADDED the setting to fontify whole block delimiter lines diff --git a/yoshi-theme.el b/yoshi-theme.el index c5890f6..5019868 100644 --- a/yoshi-theme.el +++ b/yoshi-theme.el @@ -383,8 +383,8 @@ `(org-agenda-structure ((t (:foreground ,fgblue)))) `(org-block ((t (:foreground ,fgdefault :background ,bgdim :inherit unspecified)))) `(org-block-background ((t (:background ,bgdim)))) - `(org-block-begin-line ((t (:foreground ,fgdefault :slant unspecified :background ,bgbright)))) - `(org-block-end-line ((t (:foreground ,fgdefault :slant unspecified :background ,bgbright)))) + `(org-block-begin-line ((t (:foreground ,fgdim :slant unspecified :background ,bgbright :height 0.71)))) + `(org-block-end-line ((t (:foreground ,fgdim :slant unspecified :background ,bgdim :height 0.71)))) `(org-checkbox-statistics-done ((t (:foreground ,bgcyan)))) `(org-checkbox-statistics-todo ((t (:foreground ,fgcyan)))) `(org-date ((t (:foreground ,fgpink :underline unspecified)))) |
