change highlight colors to reference colorscheme plugin directly

This commit is contained in:
2023-05-10 17:17:35 -04:00
parent c4e1e5a648
commit 01d89bae44

View File

@ -3,48 +3,41 @@ local highlight = function(group, opts, space)
a.nvim_set_hl(space, group, opts) a.nvim_set_hl(space, group, opts)
end end
local c = require('mellow.colors') local c = require('mellow.colors').dark
-- vim highlights ------------------------------------------------------------- -- vim highlights -------------------------------------------------------------
highlight("CursorLineNr", { fg = '#FFFFFF', bold = true }) highlight("CursorLineNr", { bg = c.bg_dark, fg = c.fg, bold = true })
-- diagnostics -- remove tildas
-- highlight('DiagnosticError', { fg = c.cyan }) highlight('EndOfBuffer', { fg = c.bg })
-- 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 })
-- plugin highlights ---------------------------------------------------------- -- plugin highlights ----------------------------------------------------------
-- telescope -- telescope
highlight('TelescopeMatching', { bg = '#1B1B1D' }) highlight('TelescopeMatching', { bg = c.gray01 })
highlight('TelescopeNormal', { bg = '#131314' }) highlight('TelescopeNormal', { bg = c.bg_dark })
highlight('TelescopePreviewBorder', { bg = '#161617' }) highlight('TelescopePreviewBorder', { bg = c.bg })
highlight('TelescopePreviewNormal', { bg = '#161617' }) highlight('TelescopePreviewNormal', { bg = c.bg })
highlight('TelescopePreviewTitle', { bg = '#161617', fg = '#161617' }) highlight('TelescopePreviewTitle', { bg = c.bg, fg = c.bg })
highlight('TelescopePromptBorder', { bg = '#1B1B1D' }) highlight('TelescopePromptBorder', { bg = c.gray01 })
highlight('TelescopePromptNormal', { bg = '#1B1B1D' }) highlight('TelescopePromptNormal', { bg = c.gray01 })
highlight('TelescopePromptPrefix', { bg = '#1B1B1D' }) highlight('TelescopePromptPrefix', { bg = c.gray01 })
highlight('TelescopePromptTitle', { bg = '#1B1B1D'}) highlight('TelescopePromptTitle', { bg = c.gray01 })
highlight('TelescopeResultsBorder', { bg = '#131314' }) highlight('TelescopeResultsBorder', { bg = c.bg_dark })
highlight('TelescopeResultsNormal', { bg = '#131314' }) highlight('TelescopeResultsNormal', { bg = c.bg_dark })
highlight('TelescopeResultsTitle', { bg = '#131314', fg = '#131314' }) highlight('TelescopeResultsTitle', { bg = c.bg_dark, fg = c.bg_dark })
highlight('TelescopeSelection', { bg = '#161617' }) highlight('TelescopeSelection', { bg = c.bg })
highlight('TelescopeSelectionCaret', { bg = '#161617', fg = '#F5A191'}) highlight('TelescopeSelectionCaret', { bg = c.bg, fg = c.red})
-- indent blankline -- indent blankline
highlight('IndentBlanklineIndent1', { bg = '#161617' }) highlight('IndentBlanklineIndent1', { bg = c.bg })
highlight('IndentBlanklineIndent2', { bg = '#121212' }) highlight('IndentBlanklineIndent2', { bg = c.bg_dark })
-- alpha -- alpha
highlight('AlphaHeader', { fg = '#AAA0CE' }) highlight('AlphaHeader', { fg = c.blue })
-- fidget -- fidget
highlight('FidgetTask', { fg = '#ffffff' }) highlight('FidgetTask', { fg = c.fg })