From 6d0fe4653987d3d7cfcade2ea72573ab39493ac1 Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Thu, 4 Dec 2025 22:22:28 +0100 Subject: corfu: Adjust default faces for low color terminals --- corfu.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/corfu.el b/corfu.el index f659582..27441ff 100644 --- a/corfu.el +++ b/corfu.el @@ -214,6 +214,7 @@ settings `corfu-auto-delay', `corfu-auto-prefix' and (defface corfu-default '((((class color) (min-colors 88) (background dark)) :background "#191a1b") (((class color) (min-colors 88) (background light)) :background "#f0f0f0") + (((background dark)) :background "gray" :foreground "black") (t :background "gray")) "Default face, foreground and background colors used for the popup.") @@ -222,13 +223,13 @@ settings `corfu-auto-delay', `corfu-auto-prefix' and :background "#00415e" :foreground "white" :extend t) (((class color) (min-colors 88) (background light)) :background "#c0efff" :foreground "black" :extend t) - (t :background "blue" :foreground "white" :extend t)) + (t :background "magenta" :foreground "white" :extend t)) "Face used to highlight the currently selected candidate.") (defface corfu-bar '((((class color) (min-colors 88) (background dark)) :background "#a8a8a8") (((class color) (min-colors 88) (background light)) :background "#505050") - (t :background "gray")) + (t :background "black")) "The background color is used for the scrollbar indicator.") (defface corfu-border -- cgit v1.0