branch: elpa/helm
commit a8ded1ddd5772b6a9940a45e9ffc5e59caf3076e
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Make helm-ff-directory face visible on tty's
---
 helm-files.el | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index f74e675771..c7f999596a 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -983,8 +983,13 @@ present in this list."
   :group 'helm-files-faces)
 
 (defface helm-ff-dotted-directory
-  `((t ,@(and (>= emacs-major-version 27) '(:extend t))
-       :foreground "black" :background "DimGray"))
+  `((((class color) (min-colors 88) (background dark))
+     ,@(and (>= emacs-major-version 27) '(:extend t))
+     :foreground "black" :background "DimGray")
+    (((class color) (min-colors 88) (background light))
+     ,@(and (>= emacs-major-version 27) '(:extend t))
+     :foreground "black" :background "LightGray")
+    (t :inherit default))
   "Face used for dotted directories in `helm-find-files'."
   :group 'helm-files-faces)
 

Reply via email to