Add background to org-block.

This commit is contained in:
kj 2023-04-13 20:39:58 -04:00
parent c05eee7657
commit e8be9f4264

View File

@ -18,9 +18,10 @@
;; (set-face-attribute (car face) nil :font "Cantarell" :weight 'regular :height (cdr face)) ;; (set-face-attribute (car face) nil :font "Cantarell" :weight 'regular :height (cdr face))
;; Ensure that anything that should be fixed-pitch in Org files appears that way ;; Ensure that anything that should be fixed-pitch in Org files appears that way
(set-face-attribute 'org-hide nil :inherit 'fixed-pitch) ;; (set-face-attribute 'org-hide nil :inherit 'fixed-pitch)
(set-face-attribute 'org-block nil :foreground 'unspecified :inherit 'fixed-pitch) ;; (set-face-attribute 'org-block nil :foreground 'unspecified :inherit 'fixed-pitch)
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch)) ;; (set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-block nil :underline nil :foreground nil :background "#1e1f28")
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch)) (set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch)) (set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch)) (set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))