-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
whichkey.lua
34 lines (31 loc) · 1.09 KB
/
whichkey.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
local M = {}
local util = require("cyberdream.util")
--- Get extension configuration
--- @param opts Config
--- @param t CyberdreamPalette
function M.get(opts, t)
opts = opts or {}
local highlights = {
WhichKey = { fg = t.cyan },
WhichKeyNormal = { link = "NormalFloat" },
WhichKeyBorder = { link = "FloatBorder" },
WhichKeyTitle = { link = "FloatTitle" },
WhichKeyGroup = { fg = t.blue },
WhichKeyDesc = { fg = t.pink },
WhichKeySeperator = { fg = t.grey },
WhichKeyFloat = { bg = t.bg },
WhichKeyValue = { fg = t.blue },
WhichKeyIcon = { fg = t.blue },
WhichKeyIconAzure = { fg = util.blend(t.cyan, t.fg, 0.3) },
WhichKeyIconBlue = { fg = t.blue },
WhickKeyIconCyan = { fg = t.cyan },
WhichKeyIconGreen = { fg = t.green },
WhichKeyIconGrey = { fg = t.grey },
WhichKeyIconOrange = { fg = t.orange },
WhichKeyIconPurple = { fg = t.purple },
WhichKeyIconRed = { fg = t.red },
WhichKeyIconYellow = { fg = t.yellow },
}
return highlights
end
return M