From 96046f10f81b64b07a55900255c3aa66f3bd297f Mon Sep 17 00:00:00 2001 From: Lokesh Krishna Date: Fri, 31 Dec 2021 12:03:11 +0530 Subject: [PATCH] Add support for nvim-notify --- lua/catppuccin/core/integrations/notify.lua | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lua/catppuccin/core/integrations/notify.lua diff --git a/lua/catppuccin/core/integrations/notify.lua b/lua/catppuccin/core/integrations/notify.lua new file mode 100644 index 0000000..4088ee8 --- /dev/null +++ b/lua/catppuccin/core/integrations/notify.lua @@ -0,0 +1,23 @@ +local M = {} + +function M.get(cp) + return { + NotifyERRORBorder = { fg = cp.red }, + NotifyERRORIcon = { fg = cp.red }, + NotifyERRORTitle = { fg = cp.red, style = "italic" }, + NotifyWARNBorder = { fg = cp.yellow }, + NotifyWARNIcon = { fg = cp.yellow }, + NotifyWARNTitle = { fg = cp.yellow, style = "italic" }, + NotifyINFOBorder = { fg = cp.blue }, + NotifyINFOIcon = { fg = cp.blue }, + NotifyINFOTitle = { fg = cp.blue, style = "italic" }, + NotifyDEBUGBorder = { fg = cp.peach }, + NotifyDEBUGIcon = { fg = cp.peach }, + NotifyDEBUGTitle = { fg = cp.peach, style = "italic" }, + NotifyTRACEBorder = { fg = cp.rosewater }, + NotifyTRACEIcon = { fg = cp.rosewater }, + NotifyTRACETitle = { fg = cp.rosewater, style = "italic" }, + } +end + +return M