summaryrefslogtreecommitdiff
path: root/lua/onedarker
diff options
context:
space:
mode:
Diffstat (limited to 'lua/onedarker')
-rw-r--r--lua/onedarker/Notify.lua24
-rw-r--r--lua/onedarker/highlights.lua2
-rw-r--r--lua/onedarker/init.lua2
3 files changed, 27 insertions, 1 deletions
diff --git a/lua/onedarker/Notify.lua b/lua/onedarker/Notify.lua
new file mode 100644
index 00000000..4eebc00e
--- /dev/null
+++ b/lua/onedarker/Notify.lua
@@ -0,0 +1,24 @@
+local Notify = {
+ NotifyERRORBorder = { fg = C.error_red },
+ NotifyWARNBorder = { fg = C.warning_orange },
+ NotifyINFOBorder = { fg = C.green },
+ NotifyDEBUGBorder = { fg = C.purple_test },
+ NotifyTRACEBorder = { fg = C.purple },
+ NotifyERRORIcon = { fg = C.error_red },
+ NotifyWARNIcon = { fg = C.warning_orange },
+ NotifyINFOIcon = { fg = C.green },
+ NotifyDEBUGIcon = { fg = C.purple_test },
+ NotifyTRACEIcon = { fg = C.purple },
+ NotifyERRORTitle = { fg = C.error_red },
+ NotifyWARNTitle = { fg = C.warning_orange },
+ NotifyINFOTitle = { fg = C.green },
+ NotifyDEBUGTitle = { fg = C.purple_test },
+ NotifyTRACETitle = { fg = C.purple },
+ NotifyERRORBody = { fg = C.fg },
+ NotifyWARNBody = { fg = C.fg },
+ NotifyINFOBody = { fg = C.fg },
+ NotifyDEBUGBody = { fg = C.fg },
+ NotifyTRACEBody = { fg = C.fg },
+}
+
+return Notify
diff --git a/lua/onedarker/highlights.lua b/lua/onedarker/highlights.lua
index 28e7c07f..2869977c 100644
--- a/lua/onedarker/highlights.lua
+++ b/lua/onedarker/highlights.lua
@@ -42,7 +42,7 @@ local highlights = {
CursorIM = { fg = C.cursor_fg, bg = C.cursor_bg },
TermCursor = { fg = C.cursor_fg, bg = C.cursor_bg },
TermCursorNC = { fg = C.cursor_fg, bg = C.cursor_bg },
- Conceal = { fg = C.accent },
+ Conceal = { fg = C.accent, bg = Config.transparent_background and "NONE" or C.bg },
Directory = { fg = C.blue },
SpecialKey = { fg = C.blue, style = "bold" },
Title = { fg = C.blue, style = "bold" },
diff --git a/lua/onedarker/init.lua b/lua/onedarker/init.lua
index 73043ac3..dec56afa 100644
--- a/lua/onedarker/init.lua
+++ b/lua/onedarker/init.lua
@@ -13,6 +13,7 @@ local highlights = require "onedarker.highlights"
local Treesitter = require "onedarker.Treesitter"
local markdown = require "onedarker.markdown"
local Whichkey = require "onedarker.Whichkey"
+local Notify = require "onedarker.Notify"
local Git = require "onedarker.Git"
local LSP = require "onedarker.LSP"
local diff = require "onedarker.diff"
@@ -22,6 +23,7 @@ local skeletons = {
Treesitter,
markdown,
Whichkey,
+ Notify,
Git,
LSP,
diff,