Skip to content

Commit

Permalink
feat: add lazygit extras theme
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Nov 8, 2024
1 parent e7f4c65 commit 7279e93
Show file tree
Hide file tree
Showing 6 changed files with 148 additions and 0 deletions.
25 changes: 25 additions & 0 deletions extras/lazygit/onedarkpro_onedark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
os:
editPreset: "nvim-remote"
gui:
nerdFontsVersion: 3
theme:
unstagedChangesColor:
- "#e06c75"
defaultFgColor:
- "#abb2bf"
activeBorderColor:
- "#56b6c2"
- "bold"
inactiveBorderColor:
- "#5c6370"
searchingActiveBorderColor:
- "#56b6c2"
- "bold"
optionsTextColor:
- "#61afef"
selectedLineBgColor:
- "#414858"
cherryPickedCommitFgColor:
- "#61afef"
cherryPickedCommitBgColor:
- "#e06c75"
29 changes: 29 additions & 0 deletions extras/lazygit/onedarkpro_onedark_dark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
gui:
nerdFontsVersion: "3"
theme:
241:
- "#d55fde"
activeBorderColor:
- "#89ca78"
- "bold"
inactiveBorderColor:
- "#434852"
searchingActiveBorderColor:
- "#89ca78"
- "bold"
optionsTextColor:
- "#61afef"
selectedLineBgColor:
- "#212121"
cherryPickedCommitFgColor:
- "#61afef"
cherryPickedCommitBgColor:
- "#d55fde"
markedBaseCommitFgColor:
- "#61afef"
markedBaseCommitBgColor:
- "#e5c07b"
unstagedChangesColor:
- "#ef596f"
defaultFgColor:
- "#abb2bf"
29 changes: 29 additions & 0 deletions extras/lazygit/onedarkpro_onedark_vivid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
gui:
nerdFontsVersion: "3"
theme:
241:
- "#d55fde"
activeBorderColor:
- "#89ca78"
- "bold"
inactiveBorderColor:
- "#5c6370"
searchingActiveBorderColor:
- "#89ca78"
- "bold"
optionsTextColor:
- "#61afef"
selectedLineBgColor:
- "#3a404c"
cherryPickedCommitFgColor:
- "#61afef"
cherryPickedCommitBgColor:
- "#d55fde"
markedBaseCommitFgColor:
- "#61afef"
markedBaseCommitBgColor:
- "#e5c07b"
unstagedChangesColor:
- "#ef596f"
defaultFgColor:
- "#abb2bf"
29 changes: 29 additions & 0 deletions extras/lazygit/onedarkpro_onelight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
gui:
nerdFontsVersion: "3"
theme:
241:
- "#9a77cf"
activeBorderColor:
- "#1da912"
- "bold"
inactiveBorderColor:
- "#bebebe"
searchingActiveBorderColor:
- "#1da912"
- "bold"
optionsTextColor:
- "#118dc3"
selectedLineBgColor:
- "#e9e9e9"
cherryPickedCommitFgColor:
- "#118dc3"
cherryPickedCommitBgColor:
- "#9a77cf"
markedBaseCommitFgColor:
- "#118dc3"
markedBaseCommitBgColor:
- "#eea825"
unstagedChangesColor:
- "#e05661"
defaultFgColor:
- "#6a6a6a"
1 change: 1 addition & 0 deletions lua/onedarkpro/extra/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ M.extras = {
alacritty = { ft = "toml", url = "https://github.com/alacritty/alacritty", label = "Alacritty" },
foot = { ft = "dosini", url = "https://codeberg.org/dnkl/foot", label = "Foot" },
kitty = { ft = "conf", url = "https://github.com/kovidgoyal/kitty", label = "Kitty" },
lazygit = { ft = "yml", url = "https://github.com/jesseduffield/lazygit", label = "Lazygit" },
rio = { ft = "toml", url = "https://github.com/raphamorim/rio", label = "Rio" },
wezterm = { ft = "toml", url = "https://github.com/wez/wezterm", label = "Wezterm" },
windows_terminal = {
Expand Down
35 changes: 35 additions & 0 deletions lua/onedarkpro/extra/lazygit.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
local M = {}

M.template = [[
gui:
nerdFontsVersion: "3"
theme:
241:
- "${purple}"
activeBorderColor:
- "${green}"
- "bold"
inactiveBorderColor:
- "${gray}"
searchingActiveBorderColor:
- "${green}"
- "bold"
optionsTextColor:
- "${blue}"
selectedLineBgColor:
- "${selection}"
cherryPickedCommitFgColor:
- "${blue}"
cherryPickedCommitBgColor:
- "${purple}"
markedBaseCommitFgColor:
- "${blue}"
markedBaseCommitBgColor:
- "${yellow}"
unstagedChangesColor:
- "${red}"
defaultFgColor:
- "${fg}"
]]

return M

0 comments on commit 7279e93

Please sign in to comment.