Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create more contrast between telescope and background #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanmsnyder
Copy link

The background of the telescope window blended in with the background of the main buffer. This adds a little more contrast by making the background of telescope darker.

Comment on lines -292 to +304
TelescopeBorder = { fg = util.darken(c.fg, 0.75) },
-- TelescopeBorder = { fg = c.bg_visual, bg = c.bg },
TelescopeNormal = { bg = c.bg },
TelescopePreviewBorder = { fg = c.bg, bg = c.bg },
TelescopePreviewNormal = { bg = c.bg },
TelescopePreviewTitle = { fg = c.bg, bg = c.green },
TelescopePromptBorder = { fg = c.bg_visual, bg = c.bg_visual },
TelescopePromptNormal = { fg = c.fg, bg = c.bg_visual },
TelescopePromptPrefix = { fg = c.red, bg = c.bg_visual},
TelescopePromptTitle = { fg = c.bg, bg = c.red },
TelescopeResultsBorder = { fg = c.bg, bg = c.bg },
TelescopeResultsNormal = { bg = c.bg },
TelescopeResultsTitle = { fg = c.bg, bg = c.bg },

TelescopePromptCounter = { fg = c.bg2 },
TelescopeNormal = { bg = c.bg2 },
TelescopePreviewBorder = { fg = c.bg2, bg = c.bg2 },
TelescopePreviewNormal = { bg = c.bg2 },
TelescopePreviewTitle = { fg = c.bg2, bg = c.green },
TelescopePromptBorder = { fg = c.bg_visual, bg = c.bg_visual },
TelescopePromptNormal = { fg = c.fg, bg = c.bg_visual },
TelescopePromptPrefix = { fg = c.red, bg = c.bg_visual },
TelescopePromptTitle = { fg = c.bg2, bg = c.red },
TelescopeResultsBorder = { fg = c.bg2, bg = c.bg2 },
TelescopeResultsNormal = { bg = c.bg2 },
TelescopeResultsTitle = { fg = c.bg2, bg = c.bg2 },
TelescopeSelection = { bg = c.bg_visual },
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the changes in this file were caused by my lua formatter. These are the lines of interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant