Skip to content

Commit

Permalink
feat: added highlights for nvim-notify (folke#237)
Browse files Browse the repository at this point in the history
* feat: added highlights for `nvim.notify`

* use c.bg instead of c.bg_float
  • Loading branch information
wangl-cc authored and lcrownover committed Oct 5, 2022
1 parent 49e0511 commit daacfae
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions lua/tokyonight/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,32 @@ function M.setup()
YankyPut = { link = "IncSearch" },
YankyYanked = { link = "IncSearch" },

-- Notify
--- Border
NotifyERRORBorder = { fg = util.darken(c.error, 0.3), bg = c.bg },
NotifyWARNBorder = { fg = util.darken(c.warning, 0.3), bg = c.bg },
NotifyINFOBorder = { fg = util.darken(c.info, 0.3), bg = c.bg },
NotifyDEBUGBorder = { fg = util.darken(c.comment, 0.3), bg = c.bg },
NotifyTRACEBorder = { fg = util.darken(c.purple, 0.3), bg = c.bg },
--- Icons
NotifyERRORIcon = { fg = c.error },
NotifyWARNIcon = { fg = c.warning },
NotifyINFOIcon = { fg = c.info },
NotifyDEBUGIcon = { fg = c.comment },
NotifyTRACEIcon = { fg = c.purple },
--- Title
NotifyERRORTitle = { fg = c.error },
NotifyWARNTitle = { fg = c.warning },
NotifyINFOTitle = { fg = c.info },
NotifyDEBUGTitle = { fg = c.comment },
NotifyTRACETitle = { fg = c.purple },
--- Body
NotifyERRORBody = { fg = c.fg, bg = c.bg },
NotifyWARNBody = { fg = c.fg, bg = c.bg },
NotifyINFOBody = { fg = c.fg, bg = c.bg },
NotifyDEBUGBody = { fg = c.fg, bg = c.bg },
NotifyTRACEBody = { fg = c.fg, bg = c.bg },

-- Mini
MiniCompletionActiveParameter = { underline = true },

Expand Down

0 comments on commit daacfae

Please sign in to comment.