diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2023-03-25 00:05:38 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2023-03-25 00:05:38 -0300 |
| commit | 387af23bbbcb0f4bea528b52a91e95eefa9d039b (patch) | |
| tree | f85ef6dced9c42b802c22e48cdaeb591b7e2ed29 | |
| parent | f020c22963e0b33a09112b52843f41e2e3800a53 (diff) | |
| download | MageMacs-387af23bbbcb0f4bea528b52a91e95eefa9d039b.tar.gz MageMacs-387af23bbbcb0f4bea528b52a91e95eefa9d039b.zip | |
adaptative helm color selection
| -rw-r--r-- | configuration.el | 6 | ||||
| -rw-r--r-- | theme.el | 10 |
2 files changed, 9 insertions, 7 deletions
diff --git a/configuration.el b/configuration.el index 20cd697..d44bcf2 100644 --- a/configuration.el +++ b/configuration.el @@ -275,9 +275,9 @@ :ensure t :init (helm-mode t) - (set-face-attribute 'helm-selection nil - :background "purple" - :foreground "black") + (set-face-attribute 'helm-selection nil + :background (color-lighten-name (face-attribute 'default :foreground) 50) + :foreground (color-darken-name (face-attribute 'default :background) 100)) :bind ("M-x" . helm-M-x) ("C-x b" . helm-buffers-list)) @@ -1,8 +1,10 @@ (require 'use-package) -(require 'catppuccin-theme) -(setq catppuccin-flavor 'latte) -(load-theme 'catppuccin t) +;; (require 'catppuccin-theme) +(use-package catppuccin-theme + :ensure t + :custom catppuccin-flavor 'latte + :config (load-theme 'catppuccin t)) ;; (catppuccin-reload) ;; (use-package pastelmac-theme @@ -50,6 +52,6 @@ '(rainbow-delimiters-depth-5-face ((t (:foreground "Purple")))) '(rainbow-delimiters-depth-6-face ((t (:foreground "dark green")))) '(rainbow-delimiters-depth-9-face ((t (:foreground "indian red")))) - '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil :extend nil :overline nil :underline nil :slant normal :weight normal :height 140 :width normal :foundry "nil" :family "Cascadia Mono"))))) + '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil :extend nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "nil" :family "Cascadia Mono"))))) (provide 'theme) |
