diff options
| author | 2020-04-20 15:30:31 -0700 | |
|---|---|---|
| committer | 2020-04-20 15:30:31 -0700 | |
| commit | b70b8a9c1051c01d152f03943abedbc7f253e3f3 (patch) | |
| tree | d93516f3093dc9cca4375084189b2333fd70b386 | |
| parent | 25bde9dc4ca380941b6539757371aef91ca35968 (diff) | |
| download | yoshi-theme-b70b8a9c1051c01d152f03943abedbc7f253e3f3.tar.gz yoshi-theme-b70b8a9c1051c01d152f03943abedbc7f253e3f3.zip | |
Highlight code blocks more
| -rw-r--r-- | CHANGELOG.org | 9 | ||||
| -rw-r--r-- | yoshi-theme.el | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/CHANGELOG.org b/CHANGELOG.org index 1870441..9b8da5f 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -24,6 +24,15 @@ This project adheres to [[http://semver.org][Semantic Versioning]]. Add the flycheck-posframe faces: ~flycheck-posframe-background-face~, ~flycheck-posframe-border-face~. And variables: ~flycheck-posframe-border-width~. +** CHANGED the background colors of org blocks + + 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. + * [[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 8e089f5..b6e7273 100644 --- a/yoshi-theme.el +++ b/yoshi-theme.el @@ -381,9 +381,10 @@ `(org-agenda-date-weekend ((t (:foreground ,fgcyan)))) `(org-agenda-done ((t (:foreground ,fgorange)))) `(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 :underline ,fgdim)))) - `(org-block-end-line ((t (:foreground ,fgdefault :slant unspecified :overline ,fgdim)))) + `(org-block-begin-line ((t (:foreground ,fgdefault :slant unspecified :background ,bgbright)))) + `(org-block-end-line ((t (:foreground ,fgdefault :slant unspecified :background ,bgbright)))) `(org-checkbox-statistics-done ((t (:foreground ,bgcyan)))) `(org-checkbox-statistics-todo ((t (:foreground ,fgcyan)))) `(org-date ((t (:foreground ,fgpink :underline unspecified)))) |
