Created
May 15, 2020 14:27
-
-
Save stefanv/9b4d4ed9f7824d86e7bdea0bc2f8cafe to your computer and use it in GitHub Desktop.
Customizing zenburn for org-mode to highlight all headings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-package zenburn-theme | |
:config | |
(setq org-fontify-whole-heading-line t | |
org-fontify-quote-and-verse-blocks t) | |
(load-theme 'zenburn t) | |
(zenburn-with-color-variables | |
(custom-theme-set-faces | |
'zenburn | |
`(org-level-1 ((t (:inherit ,z-variable-pitch | |
:foreground ,zenburn-orange | |
:background ,zenburn-bg+05 | |
,@(when zenburn-scale-org-headlines | |
(list :height zenburn-height-plus-4)))))) | |
`(org-level-2 ((t (:inherit ,z-variable-pitch | |
:foreground ,zenburn-green+4 | |
:background ,zenburn-bg+05 | |
:weight bold | |
,@(when zenburn-scale-org-headlines | |
(list :height zenburn-height-plus-3)))))) | |
`(org-level-3 ((t (:inherit ,z-variable-pitch :foreground ,zenburn-blue-1 | |
:background ,zenburn-bg+05 | |
,@(when zenburn-scale-org-headlines | |
(list :height zenburn-height-plus-2)))))) | |
`(org-level-4 ((t (:inherit ,z-variable-pitch :foreground ,zenburn-yellow-2 | |
:background ,zenburn-bg+05 | |
,@(when zenburn-scale-org-headlines | |
(list :height zenburn-height-plus-1)))))) | |
`(org-level-5 ((t (:inherit ,z-variable-pitch | |
:background ,zenburn-bg+05 | |
:foreground ,zenburn-cyan)))) | |
`(org-level-6 ((t (:inherit ,z-variable-pitch | |
:background ,zenburn-bg+05 | |
:foreground ,zenburn-green+2)))) | |
`(org-level-7 ((t (:inherit ,z-variable-pitch | |
:background ,zenburn-bg+05 | |
:foreground ,zenburn-red-4)))) | |
`(org-level-8 ((t (:inherit ,z-variable-pitch | |
:background ,zenburn-bg+05 | |
:foreground ,zenburn-blue-4)))) | |
))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment