From bb23e75c7a3e21d1bfb3309b06abc3ad27ceecc4 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 18 Apr 2024 17:18:38 +0100 Subject: [PATCH] Change org-block foreground colour from green -> text --- init.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index ccddb98..11a7ac4 100644 --- a/init.el +++ b/init.el @@ -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)