Skip to content

Commit 60c3763

Browse files
committed
feat(extras): add LazyGit theme
1 parent 705a03d commit 60c3763

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

lua/astrotheme/extras/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ M.extras = {
2222
helix = { ext = "toml", url = "https://helix-editor.com/", label = "Helix" },
2323
iterm = { ext = "itermcolors", url = "https://iterm2.com/", label = "iTerm" },
2424
kitty = { ext = "conf", url = "https://sw.kovidgoyal.net/kitty/conf.html", label = "Kitty" },
25+
lazygit = { ext = "yml", url = "https://github.com/jesseduffield/lazygit", label = "Lazygit" },
2526
}
2627

2728
function M.setup()

lua/astrotheme/extras/lazygit.lua

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
local util = require "astrotheme.extras"
2+
3+
local M = {}
4+
5+
--- @param colors AstroThemePalette
6+
function M.generate(colors)
7+
return util.template(
8+
[[
9+
gui:
10+
nerdFontsVersion: "3"
11+
theme:
12+
activeBorderColor:
13+
- "${ui.accent}"
14+
- "bold"
15+
inactiveBorderColor:
16+
- "${ui.border}"
17+
searchingActiveBorderColor:
18+
- "${ui.accent}"
19+
- "bold"
20+
optionsTextColor:
21+
- "${syntax.blue}"
22+
selectedLineBgColor:
23+
- "${ui.selection}"
24+
cherryPickedCommitFgColor:
25+
- "${ui.base}"
26+
cherryPickedCommitBgColor:
27+
- "${syntax.purple}"
28+
markedBaseCommitFgColor:
29+
- "${ui.base}"
30+
markedBaseCommitBgColor:
31+
- "${syntax.yellow}"
32+
unstagedChangesColor:
33+
- "${syntax.red}"
34+
defaultFgColor:
35+
- "${syntax.text}"
36+
]],
37+
colors
38+
)
39+
end
40+
41+
return M

0 commit comments

Comments
 (0)