Skip to content

Commit

Permalink
feat(extensions): add snacks.nvim dashboard highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Nov 19, 2024
1 parent dd6b502 commit b0e1429
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lua/cyberdream/extensions/snacks.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
local M = {}
local util = require("cyberdream.util")

--- Get extension configuration
--- @param opts Config
Expand Down Expand Up @@ -36,6 +37,18 @@ function M.get(opts, t)
SnacksNotifierBorderWarn = { link = "SnacksNotifierBorderDebug" },
SnacksNotifierIconWarn = { fg = t.yellow },
SnacksNotifierTitleWarn = { fg = t.yellow },

SnacksDashboardNormal = { link = "SnacksNormal" },
SnacksDashboardDesc = { fg = t.cyan },
SnacksDashboardFile = { fg = t.cyan },
SnacksDashboardDir = { fg = t.grey },
SnacksDashoardFooter = { fg = t.cyan },
SnacksDashboardHeader = { fg = util.blend(t.purple, t.fg, 0.3) },
SnacksDashboardIcon = { fg = t.blue },
SnacksDashboardKey = { fg = t.orange },
SnacksDashboardTerminal = { link = "SnacksNormal" },
SnacksDashboardSpecial = { link = "Special" },
SnacksDashboardTitle = { link = "Title" },
}

return highlights
Expand Down

0 comments on commit b0e1429

Please sign in to comment.