diff options
Diffstat (limited to 'lua/core')
-rw-r--r-- | lua/core/highlight.lua | 53 |
1 files changed, 23 insertions, 30 deletions
diff --git a/lua/core/highlight.lua b/lua/core/highlight.lua index bf8865b..4cd4d55 100644 --- a/lua/core/highlight.lua +++ b/lua/core/highlight.lua @@ -3,48 +3,41 @@ local highlight = function(group, opts, space) a.nvim_set_hl(space, group, opts) end -local c = require('mellow.colors') +local c = require('mellow.colors').dark -- vim highlights ------------------------------------------------------------- -highlight("CursorLineNr", { fg = '#FFFFFF', bold = true }) - --- diagnostics --- highlight('DiagnosticError', { fg = c.cyan }) --- highlight('DiagnosticWarn', { fg = c.red }) --- highlight('DiagnosticInfo', { fg = c.yellow }) --- highlight('DiagnosticHint', { fg = c.blue }) --- highlight('DiagnosticUnderlineError', { fg = c.cyan }) --- highlight('DiagnosticUnderlineWarn', { fg = c.red }) --- highlight('DiagnosticUnderlineInfo', { fg = c.yellow }) --- highlight('DiagnosticUnderlineHint', { fg = c.blue }) +highlight("CursorLineNr", { bg = c.bg_dark, fg = c.fg, bold = true }) + +-- remove tildas +highlight('EndOfBuffer', { fg = c.bg }) -- plugin highlights ---------------------------------------------------------- -- telescope -highlight('TelescopeMatching', { bg = '#1B1B1D' }) -highlight('TelescopeNormal', { bg = '#131314' }) +highlight('TelescopeMatching', { bg = c.gray01 }) +highlight('TelescopeNormal', { bg = c.bg_dark }) -highlight('TelescopePreviewBorder', { bg = '#161617' }) -highlight('TelescopePreviewNormal', { bg = '#161617' }) -highlight('TelescopePreviewTitle', { bg = '#161617', fg = '#161617' }) +highlight('TelescopePreviewBorder', { bg = c.bg }) +highlight('TelescopePreviewNormal', { bg = c.bg }) +highlight('TelescopePreviewTitle', { bg = c.bg, fg = c.bg }) -highlight('TelescopePromptBorder', { bg = '#1B1B1D' }) -highlight('TelescopePromptNormal', { bg = '#1B1B1D' }) -highlight('TelescopePromptPrefix', { bg = '#1B1B1D' }) -highlight('TelescopePromptTitle', { bg = '#1B1B1D'}) +highlight('TelescopePromptBorder', { bg = c.gray01 }) +highlight('TelescopePromptNormal', { bg = c.gray01 }) +highlight('TelescopePromptPrefix', { bg = c.gray01 }) +highlight('TelescopePromptTitle', { bg = c.gray01 }) -highlight('TelescopeResultsBorder', { bg = '#131314' }) -highlight('TelescopeResultsNormal', { bg = '#131314' }) -highlight('TelescopeResultsTitle', { bg = '#131314', fg = '#131314' }) +highlight('TelescopeResultsBorder', { bg = c.bg_dark }) +highlight('TelescopeResultsNormal', { bg = c.bg_dark }) +highlight('TelescopeResultsTitle', { bg = c.bg_dark, fg = c.bg_dark }) -highlight('TelescopeSelection', { bg = '#161617' }) -highlight('TelescopeSelectionCaret', { bg = '#161617', fg = '#F5A191'}) +highlight('TelescopeSelection', { bg = c.bg }) +highlight('TelescopeSelectionCaret', { bg = c.bg, fg = c.red}) -- indent blankline -highlight('IndentBlanklineIndent1', { bg = '#161617' }) -highlight('IndentBlanklineIndent2', { bg = '#121212' }) +highlight('IndentBlanklineIndent1', { bg = c.bg }) +highlight('IndentBlanklineIndent2', { bg = c.bg_dark }) -- alpha -highlight('AlphaHeader', { fg = '#AAA0CE' }) +highlight('AlphaHeader', { fg = c.blue }) -- fidget -highlight('FidgetTask', { fg = '#ffffff' }) +highlight('FidgetTask', { fg = c.fg }) |