-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathgrapple.lua
More file actions
23 lines (20 loc) · 638 Bytes
/
Copy pathgrapple.lua
File metadata and controls
23 lines (20 loc) · 638 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
local M = {}
--- Get extension configuration
--- @param opts cyberdream.Config
--- @param t cyberdream.Palette
function M.get(opts, t)
opts = opts or {}
local highlights = {
GrappleTitle = { fg = t.pink },
GrappleFooter = { fg = t.grey },
GrappleBorder = { fg = t.cyan },
}
-- Inherit borderless theme from telescope (if enabled)
if opts.borderless_pickers then
highlights.GrappleNormal = { bg = t.bg_alt }
highlights.GrappleBorder = { fg = t.bg_alt, bg = t.bg_alt }
highlights.GrappleTitle = { fg = t.bg_alt, bg = t.cyan }
end
return highlights
end
return M