diff --git a/init.el b/init.el index 1cffebf..3a20c6e 100644 --- a/init.el +++ b/init.el @@ -162,11 +162,6 @@ (use-package eshell :bind (("C-c t e" . eshell))) -(use-package shr - :config - (require 'catppuccin-theme) - (set-face-attribute 'shr-text nil :foreground (catppuccin-get-color 'text))) - (use-package eww :defer t :custom @@ -645,18 +640,12 @@ Uses `my/projects-directory' to find correct directory" (setq org-attach-id-dir (expand-file-name "data/" org-directory))) (use-package org-faces - :after (org catppuccin-theme) + :after org :config ;; Ensure tables and src blocks use fixed-pitch font. - (set-face-attribute 'org-block nil - :inherit 'fixed-pitch - :foreground (catppuccin-get-color 'text)) - (set-face-attribute 'org-code nil - :inherit 'fixed-pitch - :foreground (catppuccin-get-color 'subtext0)) - (set-face-attribute 'org-table nil - :inherit 'fixed-pitch - :foreground (catppuccin-get-color 'subtext1)) + (set-face-attribute 'org-block nil :inherit 'fixed-pitch) + (set-face-attribute 'org-code nil :inherit 'fixed-pitch) + (set-face-attribute 'org-table nil :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))