Mofiqul / vscode.nvim

Neovim/Vim color scheme inspired by Dark+ and Light+ theme in Visual Studio Code
MIT License
712 stars 114 forks source link

feat(theme/light/Telescope): better contrast for selection #80

Closed wongjiahau closed 2 years ago

wongjiahau commented 2 years ago
Before (Low contrast) After (Better contrast)
image image

Note

Based on the original VS Code default light theme (see below), I should have used #C3E5FC for TelescopeMatching.

However, in the original theme, #2A64B9 is used to highlight matching characters that are not in the highlighted row.

Since Telescope does not provide a separate highlight group for that, I have to pick another color other than #C3E5FC or #2A64B9, since each of them will result in low contrast in either highlighted row or non-highlighted row.

After experimenting with a few colors, I picked orange, which has the best contrast for both highlighted row and non-highlighted row.

image