aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2023-03-25 00:05:38 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2023-03-25 00:05:38 -0300
commit387af23bbbcb0f4bea528b52a91e95eefa9d039b (patch)
treef85ef6dced9c42b802c22e48cdaeb591b7e2ed29
parentf020c22963e0b33a09112b52843f41e2e3800a53 (diff)
downloadMageMacs-387af23bbbcb0f4bea528b52a91e95eefa9d039b.tar.gz
MageMacs-387af23bbbcb0f4bea528b52a91e95eefa9d039b.zip
adaptative helm color selection
-rw-r--r--configuration.el6
-rw-r--r--theme.el10
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))
diff --git a/theme.el b/theme.el
index 745a31d..755a855 100644
--- a/theme.el
+++ b/theme.el
@@ -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)