From 387af23bbbcb0f4bea528b52a91e95eefa9d039b Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Sat, 25 Mar 2023 00:05:38 -0300 Subject: adaptative helm color selection --- configuration.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configuration.el') 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)) -- cgit v1.2.3