File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff 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
2728function M .setup ()
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments