Change org-block foreground colour from green -> text

This commit is contained in:
Evie Litherland-Smith 2024-04-18 17:18:38 +01:00
parent 7974430966
commit bb23e75c7a

View file

@ -664,11 +664,14 @@ Try `magit-clone-default-directory' if available, fall back to
:config
(require 'catppuccin-theme)
;; Ensure tables and src blocks use fixed-pitch font. Also increase
;; table foreground contrast to be more legible
;; table foreground contrast to be more legible, and change
;; org-block foreground from that weird green to normal text colour
(set-face-attribute 'org-table nil
:foreground (catppuccin-get-color 'overlay2)
:inherit 'fixed-pitch)
(set-face-attribute 'org-block nil :inherit 'fixed-pitch)
(set-face-attribute 'org-block nil
:foreground (catppuccin-get-color 'text)
:inherit 'fixed-pitch)
;; Let quote and verse blocks use variable-pitch font, if configured
(set-face-attribute 'org-quote nil :inherit 'variable-pitch)
(set-face-attribute 'org-verse nil :inherit 'variable-pitch)