More update to some catppuccin colours
Was with org-mode (since they are org faces), but moved to catppuccin-theme use-package block instead
This commit is contained in:
parent
0e8567ff5d
commit
55df9a7293
18
init.el
18
init.el
|
@ -442,7 +442,10 @@ Try `magit-clone-default-directory' if available, fall back to
|
||||||
(catppuccin-italic-comments t)
|
(catppuccin-italic-comments t)
|
||||||
(catppuccin-italic-variables nil)
|
(catppuccin-italic-variables nil)
|
||||||
:config
|
:config
|
||||||
(load-theme 'catppuccin t))
|
(load-theme 'catppuccin t)
|
||||||
|
;; Some custom changes to colour choices.
|
||||||
|
(set-face-attribute 'org-table nil :foreground (catppuccin-get-color 'overlay2))
|
||||||
|
(set-face-attribute 'org-block nil :foreground (catppuccin-get-color 'overlay2)))
|
||||||
|
|
||||||
;; Theme
|
;; Theme
|
||||||
(use-package modus-themes
|
(use-package modus-themes
|
||||||
|
@ -648,16 +651,9 @@ Try `magit-clone-default-directory' if available, fall back to
|
||||||
(lua . t)
|
(lua . t)
|
||||||
(python . t)))
|
(python . t)))
|
||||||
:config
|
:config
|
||||||
(require 'catppuccin-theme)
|
;; Ensure tables and src blocks use fixed-pitch font.
|
||||||
;; Ensure tables and src blocks use fixed-pitch font. Also increase
|
(set-face-attribute 'org-table nil :inherit 'fixed-pitch)
|
||||||
;; table foreground contrast to be more legible, and change
|
(set-face-attribute 'org-block nil :inherit 'fixed-pitch)
|
||||||
;; 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
|
|
||||||
:foreground (catppuccin-get-color 'text)
|
|
||||||
:inherit 'fixed-pitch)
|
|
||||||
;; Let quote and verse blocks use variable-pitch font, if configured
|
;; Let quote and verse blocks use variable-pitch font, if configured
|
||||||
(set-face-attribute 'org-quote nil :inherit 'variable-pitch)
|
(set-face-attribute 'org-quote nil :inherit 'variable-pitch)
|
||||||
(set-face-attribute 'org-verse nil :inherit 'variable-pitch)
|
(set-face-attribute 'org-verse nil :inherit 'variable-pitch)
|
||||||
|
|
Loading…
Reference in a new issue