Use surface1 instead of bright colors for goggles backgrounds
This commit is contained in:
parent
518423333b
commit
4a3a67268d
8
init.el
8
init.el
|
@ -244,9 +244,11 @@
|
||||||
:config
|
:config
|
||||||
(setq-default goggles-pulse t)
|
(setq-default goggles-pulse t)
|
||||||
(with-eval-after-load 'catppuccin-theme
|
(with-eval-after-load 'catppuccin-theme
|
||||||
(face-spec-set 'goggles-added `((t (:background ,(catppuccin-get-color 'green)))))
|
(let ((new-spec `((t (:background ,(catppuccin-get-color 'surface1))))))
|
||||||
(face-spec-set 'goggles-removed `((t (:background ,(catppuccin-get-color 'red)))))
|
(dolist (f '(goggles-added
|
||||||
(face-spec-set 'goggles-changed `((t (:background ,(catppuccin-get-color 'blue))))))
|
goggles-removed
|
||||||
|
goggles-changed))
|
||||||
|
(face-spec-set f new-spec))))
|
||||||
(setcar (cdr (assq 'goggles-mode minor-mode-alist)) " O-O"))
|
(setcar (cdr (assq 'goggles-mode minor-mode-alist)) " O-O"))
|
||||||
|
|
||||||
(use-package treesit
|
(use-package treesit
|
||||||
|
|
Loading…
Reference in a new issue