Skip to content

Commit 4b06415

Browse files
committed
feat(setup): improve 'c.colors.completion' contrast
Using striking colors for matched items enhances perception with minimal cognitive strain. Unfortunately, 'c.colors.completion.item.selected.match.fg' is no longer slightly brighter than 'c.colors.completion.match.fg' because they now share the same color. This results from the strong contrast between 'peach' and 'maroon'.
1 parent 78bb72b commit 4b06415

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ def setup(c, flavour, samecolorrows = False):
151151
## Foreground color of the selected completion item.
152152
c.colors.completion.item.selected.fg = palette["text"]
153153
## Foreground color of the selected completion item.
154-
c.colors.completion.item.selected.match.fg = palette["rosewater"]
154+
c.colors.completion.item.selected.match.fg = palette["peach"]
155155
## Foreground color of the matched text in the completion.
156-
c.colors.completion.match.fg = palette["text"]
156+
c.colors.completion.match.fg = palette["peach"]
157157

158158
## Color of the scrollbar in completion view
159159
c.colors.completion.scrollbar.bg = palette["crust"]

0 commit comments

Comments
 (0)